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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000822/0.0008218, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009261/0.0009261, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6774, allocations: 142.4 MB / 0.9544 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06901/0.7464, allocations: 69.48 MB / 1.022 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.7667, allocations: 14.18 MB / 1.036 GB, free: 11.66 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.7688, allocations: 59.62 kB / 1.036 GB, free: 11.61 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.7705, allocations: 0.5666 MB / 1.037 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005634/0.7762, allocations: 1.984 MB / 1.039 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.7791, allocations: 0.9855 MB / 1.04 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006553/0.7857, allocations: 4.801 MB / 1.044 GB, free: 3.258 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.7875, allocations: 1.021 MB / 1.045 GB, free: 2.211 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.7903, allocations: 1.283 MB / 1.047 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.792, allocations: 1.085 MB / 1.048 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.7922, allocations: 56 kB / 1.048 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.7947, allocations: 0.9393 MB / 1.049 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.795, allocations: 274.7 kB / 1.049 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.7955, allocations: 356.9 kB / 1.049 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.7979, allocations: 2.096 MB / 1.051 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7979, allocations: 0 / 1.051 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7979, allocations: 4 kB / 1.051 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.281e-05/0.7979, allocations: 0 / 1.051 GB, free: 12.11 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.003215/0.8012, allocations: 1.804 MB / 1.053 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.8012, allocations: 8.031 kB / 1.053 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007194/0.8019, allocations: 249.8 kB / 1.053 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.8043, allocations: 1.439 MB / 1.055 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/0.8044, allocations: 78 kB / 1.055 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.8046, allocations: 103.9 kB / 1.055 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.8068, allocations: 1.116 MB / 1.056 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.8069, allocations: 3.938 kB / 1.056 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.807, allocations: 43.95 kB / 1.056 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/0.807, allocations: 31.98 kB / 1.056 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.809, allocations: 0.929 MB / 1.057 GB, free: 6.152 MB / 0.8106 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.006026/0.815, allocations: 4.916 MB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.8164, allocations: 0.6392 MB / 1.062 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000713/0.8171, allocations: 370.3 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.8178, allocations: 0.8199 MB / 1.063 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.8178, allocations: 47.08 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 2.835e-06/0.8178, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.004588/0.8224, allocations: 1.522 MB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.8225, allocations: 59.97 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.824, allocations: 1.202 MB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/0.8241, allocations: 41.7 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000519/0.8246, allocations: 0.5989 MB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.8248, allocations: 220.8 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.8249, allocations: 8 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.825, allocations: 337.9 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/0.8257, allocations: 301.8 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008202/0.8265, allocations: 0.4959 MB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.8272, allocations: 367 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8272, allocations: 0 / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004352/0.8316, allocations: 1.39 MB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.8317, allocations: 193.4 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.8318, allocations: 4 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.8324, allocations: 168.7 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.833, allocations: 159.8 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008293/0.8339, allocations: 0.7318 MB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.8349, allocations: 171.1 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.835, allocations: 39.98 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.835, allocations: 8 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004049/0.8391, allocations: 1.238 MB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8391, allocations: 4 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.8397, allocations: 165 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.8403, allocations: 159.8 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008004/0.8411, allocations: 0.7318 MB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.8421, allocations: 157.2 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.8422, allocations: 35.98 kB / 1.074 GB, free: 4.141 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006312/0.8428, allocations: 417.4 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.843, allocations: 138.4 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004383/0.8474, allocations: 1.389 MB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.8474, allocations: 12 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8475, allocations: 0 / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003746/0.8512, allocations: 1.221 MB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/0.8552, allocations: 2.345 MB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.8552, allocations: 4 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.8557, allocations: 120.3 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005423/0.8562, allocations: 152.7 kB / 1.079 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.8563, allocations: 23.98 kB / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008075/0.8571, allocations: 0.7278 MB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8571, allocations: 4 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.8597, allocations: 1.45 MB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005452/0.8603, allocations: 339 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.8605, allocations: 19.98 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/0.8613, allocations: 98.97 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.8614, allocations: 60.25 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.8615, allocations: 27.98 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001187/0.8627, allocations: 0.8623 MB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8627, allocations: 4 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001701/0.8644, allocations: 0.7018 MB / 1.084 GB, free: 9.766 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000756/0.8651, allocations: 440.6 kB / 1.084 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.8677, allocations: 1.164 MB / 1.085 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.8677, allocations: 4 kB / 1.085 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.8686, allocations: 415.2 kB / 1.086 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/0.8719, allocations: 0.7478 MB / 1.086 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.876, allocations: 2.779 MB / 1.089 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007239/0.8767, allocations: 1.176 MB / 1.09 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001203/0.8779, allocations: 311 kB / 1.09 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.8782, allocations: 103.4 kB / 1.091 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of SimCode: time 6.81e-07/0.8782, allocations: 4 kB / 1.091 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of Templates: time 0.04721/0.9254, allocations: 29.27 MB / 1.119 GB, free: 5.648 MB / 0.8731 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