Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002029/0.00203, allocations: 101.8 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.489/1.489, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 68.09 kB / 0.9245 GB, free: 40 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8601, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002789/0.8629, allocations: 1.447 MB / 1.084 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002766/0.8632, allocations: 90.84 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.8632, allocations: 0 / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.8633, allocations: 4 kB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.8633, allocations: 6.109 kB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.8636, allocations: 17.2 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.8636, allocations: 24.58 kB / 1.084 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.8637, allocations: 5.719 kB / 1.084 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.8638, allocations: 16.39 kB / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.8638, allocations: 9.438 kB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.8639, allocations: 6.062 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.8639, allocations: 21.05 kB / 1.085 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.8639, allocations: 3.031 kB / 1.085 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.864, allocations: 15 kB / 1.085 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.8641, allocations: 31.25 kB / 1.085 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8641, allocations: 0 / 1.085 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8641, allocations: 0 / 1.085 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.8641, allocations: 0 / 1.085 GB, free: 0.5078 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003826/0.8645, allocations: 341.5 kB / 1.085 GB, free: 152 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.8646, allocations: 8.844 kB / 1.085 GB, free: 152 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.8647, allocations: 12.56 kB / 1.085 GB, free: 152 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.8649, allocations: 184.7 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.8649, allocations: 1.688 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.8649, allocations: 4.375 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.8651, allocations: 60.67 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.8651, allocations: 192 / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.8652, allocations: 3.938 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8652, allocations: 5.156 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.8654, allocations: 51.84 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.8659, allocations: 258 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.8661, allocations: 51.47 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.8662, allocations: 33.5 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.8662, allocations: 0 / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.8663, allocations: 40.27 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.8663, allocations: 0 / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004376/0.8667, allocations: 97.22 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.8668, allocations: 56.69 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.8669, allocations: 103.9 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.8669, allocations: 29.7 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.867, allocations: 82.31 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.867, allocations: 5.984 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.867, allocations: 16.41 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.8672, allocations: 314.1 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.8673, allocations: 26.97 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.8674, allocations: 28.61 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.8676, allocations: 54.23 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.8676, allocations: 1.344 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002574/0.8679, allocations: 85.69 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.8679, allocations: 5.281 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8679, allocations: 0 / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.868, allocations: 1.438 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.8681, allocations: 11.22 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.8681, allocations: 0 / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.8681, allocations: 12.34 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.8682, allocations: 1.156 kB / 1.086 GB, free: 14.76 MB / 0.8419 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 (2): * Single equations (assignments): 2 * 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.228e-05/0.8683, allocations: 117.5 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.8683, allocations: 1.281 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.8683, allocations: 10.25 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8683, allocations: 3.938 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8683, allocations: 256 / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8684, allocations: 0.75 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.8685, allocations: 173 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8686, allocations: 0 / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-05/0.8686, allocations: 19.52 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.8687, allocations: 0 / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.8687, allocations: 2.156 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8687, allocations: 0 / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8687, allocations: 0 / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.869, allocations: 178.7 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.8691, allocations: 85.8 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.8692, allocations: 1.875 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.8693, allocations: 8.594 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.8693, allocations: 1.453 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.8693, allocations: 1.094 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.8694, allocations: 85.95 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8694, allocations: 5 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002138/0.8696, allocations: 4.531 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001351/0.8697, allocations: 100 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.87, allocations: 50.7 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.87, allocations: 0 / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.8702, allocations: 30.59 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.8704, allocations: 7.438 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.8708, allocations: 159 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.8712, allocations: 0.6771 MB / 1.088 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.8713, allocations: 12.75 kB / 1.088 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.8713, allocations: 0 / 1.088 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.002313/0.8736, allocations: 0.6287 MB / 1.089 GB, free: 13.09 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches