Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 196.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 62.02 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3417, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001984/0.3437, allocations: 0.6449 MB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3456, allocations: 1.452 MB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.3457, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.3458, allocations: 7.938 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.3458, allocations: 3.938 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.3463, allocations: 119.5 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.068e-05/0.3464, allocations: 19.98 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.3465, allocations: 15.97 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.3465, allocations: 11.94 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.3466, allocations: 23.84 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3466, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/0.3471, allocations: 315.4 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.3471, allocations: 7.922 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.3471, allocations: 11.94 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.3474, allocations: 179.9 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3475, allocations: 7.938 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3475, allocations: 0 / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.3475, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005634/0.348, allocations: 379.3 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3481, allocations: 8.031 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.3485, allocations: 64.77 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.3487, allocations: 180.2 kB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3487, allocations: 384 / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.3488, allocations: 4.375 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.349, allocations: 77.95 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3491, allocations: 4 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3491, allocations: 0 / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3491, allocations: 0 / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.3495, allocations: 71.86 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.3497, allocations: 169.7 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.3503, allocations: 126.4 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.3505, allocations: 40.94 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3505, allocations: 3.984 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3506, allocations: 42.5 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 2.755e-06/0.3506, allocations: 4 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004294/0.3549, allocations: 0.7895 MB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3549, allocations: 55.41 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3551, allocations: 109.8 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3551, allocations: 25.7 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.3551, allocations: 84.14 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.3552, allocations: 31.55 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.3553, allocations: 29.7 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3554, allocations: 318.8 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.3559, allocations: 95.89 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.3563, allocations: 91.91 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008596/0.3572, allocations: 204.5 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3572, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009612/0.3582, allocations: 249.5 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3582, allocations: 4 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3582, allocations: 0 / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3582, allocations: 4 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.3586, allocations: 51.94 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3586, allocations: 0 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.3588, allocations: 43.95 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3588, allocations: 0 / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.729e-05/0.359, allocations: 117.8 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.359, allocations: 4 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.359, allocations: 12.36 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.359, allocations: 4 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.359, allocations: 0 / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3591, allocations: 7.984 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3608, allocations: 0.5973 MB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3608, allocations: 0 / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.3611, allocations: 55.94 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3611, allocations: 4.062 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3611, allocations: 4 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.3611, allocations: 4.734 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3611, allocations: 0 / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3622, allocations: 344.9 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.3622, allocations: 85.09 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3623, allocations: 0 / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3625, allocations: 43.95 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3626, allocations: 19.86 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3626, allocations: 4 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.3627, allocations: 91.27 kB / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3627, allocations: 0 / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002931/0.363, allocations: 32 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000233/0.3632, allocations: 137.1 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009528/0.3642, allocations: 215.8 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3642, allocations: 0 / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.3646, allocations: 108 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.3649, allocations: 9.719 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.3665, allocations: 414.2 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3668, allocations: 0.6852 MB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.3669, allocations: 25.44 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.367, allocations: 15.42 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.367, allocations: 4 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of Templates: time 0.004275/0.3713, allocations: 1.655 MB / 1.079 GB, free: 15.24 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches