Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008073/0.008073, allocations: 172 kB / 16.27 MB, free: 6.66 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 8.281 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.673, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07247/0.7455, allocations: 73.52 MB / 1.027 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02041/0.7659, allocations: 15.04 MB / 1.042 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.7684, allocations: 55.62 kB / 1.042 GB, free: 6.496 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.771, allocations: 0.6799 MB / 1.042 GB, free: 5.812 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007599/0.7786, allocations: 2.376 MB / 1.045 GB, free: 3.426 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.7822, allocations: 1.269 MB / 1.046 GB, free: 2.172 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00693/0.7892, allocations: 5.57 MB / 1.051 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.791, allocations: 1.167 MB / 1.052 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.7939, allocations: 1.33 MB / 1.054 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.7956, allocations: 1.147 MB / 1.055 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.7958, allocations: 56 kB / 1.055 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.7986, allocations: 1.259 MB / 1.056 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.7989, allocations: 294.6 kB / 1.056 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009096/0.7999, allocations: 0.8022 MB / 1.057 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.8032, allocations: 2.73 MB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8033, allocations: 0 / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8033, allocations: 4 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.8033, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.0035/0.8068, allocations: 1.787 MB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.8069, allocations: 16.03 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008263/0.8077, allocations: 234.8 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.8102, allocations: 1.508 MB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.8103, allocations: 78.05 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.8105, allocations: 100 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.8126, allocations: 1.127 MB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.8127, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.18e-05/0.8128, allocations: 36 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.8128, allocations: 28 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.8148, allocations: 0.9407 MB / 1.066 GB, free: 13.73 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.8207, allocations: 4.923 MB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.8222, allocations: 0.6431 MB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007674/0.8229, allocations: 368.1 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006315/0.8236, allocations: 0.8355 MB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.8236, allocations: 39.12 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 2.915e-06/0.8236, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.005218/0.8289, allocations: 1.522 MB / 1.074 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.8289, allocations: 63.97 kB / 1.074 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.8306, allocations: 1.218 MB / 1.075 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/0.8307, allocations: 41.7 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.8312, allocations: 0.6065 MB / 1.076 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.8314, allocations: 209 kB / 1.076 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/0.8315, allocations: 61.69 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8316, allocations: 341.9 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.8324, allocations: 301.8 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008841/0.8333, allocations: 0.5061 MB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.8348, allocations: 0.7511 MB / 1.078 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8348, allocations: 0 / 1.078 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005132/0.84, allocations: 1.402 MB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.8401, allocations: 193.5 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8401, allocations: 4 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007154/0.8408, allocations: 164.7 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.8415, allocations: 163.7 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009269/0.8424, allocations: 0.728 MB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.8438, allocations: 163 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.8439, allocations: 35.98 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.8439, allocations: 8 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00478/0.8487, allocations: 1.253 MB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8487, allocations: 7.984 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/0.8493, allocations: 161.1 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.85, allocations: 163.8 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009313/0.8509, allocations: 0.7396 MB / 1.083 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.8524, allocations: 147.2 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.8524, allocations: 39.98 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007634/0.8532, allocations: 414.9 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.8534, allocations: 142.3 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005085/0.8585, allocations: 1.385 MB / 1.085 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.8586, allocations: 8 kB / 1.085 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.8586, allocations: 4 kB / 1.085 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004471/0.8631, allocations: 1.228 MB / 1.086 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004251/0.8673, allocations: 2.349 MB / 1.088 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.8673, allocations: 4.438 kB / 1.088 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.8678, allocations: 123.8 kB / 1.088 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006032/0.8685, allocations: 160.7 kB / 1.088 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.8685, allocations: 20 kB / 1.089 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008314/0.8694, allocations: 0.7162 MB / 1.089 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.8694, allocations: 4 kB / 1.089 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/0.8723, allocations: 1.462 MB / 1.091 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000625/0.8729, allocations: 339 kB / 1.091 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.8731, allocations: 16 kB / 1.091 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009473/0.8741, allocations: 95.81 kB / 1.091 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.8742, allocations: 56.25 kB / 1.091 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.71e-05/0.8743, allocations: 35.97 kB / 1.091 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001231/0.8755, allocations: 0.87 MB / 1.092 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8755, allocations: 7.938 kB / 1.092 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001735/0.8773, allocations: 0.7018 MB / 1.093 GB, free: 0.7617 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008822/0.8782, allocations: 460.6 kB / 1.093 GB, free: 320 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002738/0.8809, allocations: 1.168 MB / 1.094 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.8809, allocations: 4 kB / 1.094 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009613/0.8819, allocations: 415.3 kB / 1.095 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/0.8862, allocations: 0.7953 MB / 1.095 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.8901, allocations: 2.834 MB / 1.098 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/0.8909, allocations: 1.177 MB / 1.099 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001271/0.8922, allocations: 307.1 kB / 1.1 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.8925, allocations: 115.4 kB / 1.1 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.8925, allocations: 0 / 1.1 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of Templates: time 0.05162/0.9441, allocations: 31.8 MB / 1.131 GB, free: 9.996 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches