Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.0009344/0.0009344, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009684/0.0009685, allocations: 177.3 kB / 15.95 MB, free: 216 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.345/1.345, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.588/2.588, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003273, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6069/0.6073, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05719/0.6645, allocations: 63.02 MB / 1.082 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.6814, allocations: 13 MB / 1.095 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.6834, allocations: 51.62 kB / 1.095 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.6855, allocations: 0.7462 MB / 1.096 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006527/0.6921, allocations: 2.406 MB / 1.098 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004004/0.6961, allocations: 1.527 MB / 1.1 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004263/0.7004, allocations: 2.51 MB / 1.102 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.7019, allocations: 1.041 MB / 1.103 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.704, allocations: 1.168 MB / 1.104 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.7051, allocations: 0.7934 MB / 1.105 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.7053, allocations: 52 kB / 1.105 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.7074, allocations: 0.8503 MB / 1.106 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.7077, allocations: 266.9 kB / 1.106 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.708, allocations: 352.9 kB / 1.107 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.7101, allocations: 2.018 MB / 1.109 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.7102, allocations: 4 kB / 1.109 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7102, allocations: 4 kB / 1.109 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.7102, allocations: 0 / 1.109 GB, free: 7.094 MB / 0.8575 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.003151/0.7133, allocations: 1.791 MB / 1.11 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.7134, allocations: 11.98 kB / 1.11 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.7141, allocations: 241.9 kB / 1.11 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.7164, allocations: 1.385 MB / 1.112 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.7165, allocations: 78 kB / 1.112 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.7166, allocations: 103.9 kB / 1.112 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.7185, allocations: 1.108 MB / 1.113 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.7186, allocations: 3.938 kB / 1.113 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.051e-05/0.7187, allocations: 36 kB / 1.113 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.7187, allocations: 28 kB / 1.113 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.7206, allocations: 0.929 MB / 1.114 GB, free: 1.234 MB / 0.8575 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.005684/0.7263, allocations: 4.954 MB / 1.119 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.7277, allocations: 0.6509 MB / 1.12 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005826/0.7283, allocations: 0.8277 MB / 1.12 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.7283, allocations: 39.12 kB / 1.12 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=62): time 2.084e-06/0.7283, allocations: 0 / 1.12 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62): time 0.004898/0.7332, allocations: 1.515 MB / 1.122 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.7333, allocations: 55.97 kB / 1.122 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.7349, allocations: 1.253 MB / 1.123 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-05/0.735, allocations: 45.64 kB / 1.123 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.7355, allocations: 0.6026 MB / 1.124 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.7357, allocations: 212.9 kB / 1.124 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.7357, allocations: 16 kB / 1.124 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7358, allocations: 341.9 kB / 1.124 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.7365, allocations: 293.8 kB / 1.125 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/0.7373, allocations: 0.4998 MB / 1.125 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.7381, allocations: 363 kB / 1.125 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7381, allocations: 0 / 1.125 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004716/0.7428, allocations: 1.386 MB / 1.127 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004694/0.7433, allocations: 1.335 MB / 1.128 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7433, allocations: 4 kB / 1.128 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006603/0.744, allocations: 164.7 kB / 1.128 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.7446, allocations: 163.8 kB / 1.128 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008317/0.7455, allocations: 0.7317 MB / 1.129 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.7466, allocations: 170.9 kB / 1.129 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.7467, allocations: 35.98 kB / 1.129 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.7467, allocations: 4 kB / 1.129 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00438/0.7511, allocations: 1.245 MB / 1.131 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7511, allocations: 4 kB / 1.131 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.7517, allocations: 161 kB / 1.131 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.7523, allocations: 163.8 kB / 1.131 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008398/0.7532, allocations: 0.7241 MB / 1.132 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.7544, allocations: 163.1 kB / 1.132 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/0.7545, allocations: 35.98 kB / 1.132 GB, free: 14.34 MB / 0.8887 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.0006716/0.7552, allocations: 413 kB / 1.132 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.7554, allocations: 134.4 kB / 1.132 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004712/0.7601, allocations: 1.396 MB / 1.134 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.7602, allocations: 11.98 kB / 1.134 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7602, allocations: 4 kB / 1.134 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004185/0.7644, allocations: 1.213 MB / 1.135 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/0.7684, allocations: 2.376 MB / 1.137 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.7684, allocations: 8 kB / 1.137 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.7689, allocations: 124.2 kB / 1.137 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005621/0.7695, allocations: 148.7 kB / 1.137 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.7695, allocations: 23.98 kB / 1.137 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007945/0.7703, allocations: 0.724 MB / 1.138 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.7703, allocations: 4 kB / 1.138 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.7731, allocations: 1.656 MB / 1.14 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.7737, allocations: 354.9 kB / 1.14 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.7738, allocations: 19.98 kB / 1.14 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008938/0.7747, allocations: 87.98 kB / 1.14 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.7749, allocations: 52.31 kB / 1.14 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-05/0.7749, allocations: 35.92 kB / 1.14 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00114/0.7761, allocations: 0.8974 MB / 1.141 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.523e-06/0.7761, allocations: 0 / 1.141 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001657/0.7777, allocations: 0.7251 MB / 1.142 GB, free: 3.5 MB / 0.8887 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.0007741/0.7785, allocations: 456 kB / 1.142 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002491/0.781, allocations: 1.168 MB / 1.143 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.781, allocations: 4 kB / 1.143 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009057/0.782, allocations: 411.2 kB / 1.144 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/0.7852, allocations: 0.7432 MB / 1.145 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/0.789, allocations: 2.77 MB / 1.147 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.7897, allocations: 1.2 MB / 1.148 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001138/0.7908, allocations: 310.9 kB / 1.149 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.7911, allocations: 103.4 kB / 1.149 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of SimCode: time 6.31e-07/0.7911, allocations: 0 / 1.149 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.04602/0.8371, allocations: 29.91 MB / 1.178 GB, free: 14.72 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches