Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001539/0.00154, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001653/0.001653, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.84 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.7652, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07271/0.8379, allocations: 75.25 MB / 1.241 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01959/0.8576, allocations: 15.16 MB / 1.256 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.8599, allocations: 63.62 kB / 1.256 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.8623, allocations: 0.8541 MB / 1.257 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009639/0.8719, allocations: 2.723 MB / 1.259 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.8756, allocations: 1.399 MB / 1.261 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006269/0.8819, allocations: 4.411 MB / 1.265 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002698/0.8846, allocations: 1.441 MB / 1.266 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003856/0.8885, allocations: 1.671 MB / 1.268 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.8909, allocations: 1.217 MB / 1.269 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005954/0.8915, allocations: 164 kB / 1.269 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.895, allocations: 1.423 MB / 1.271 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006908/0.8957, allocations: 406.6 kB / 1.271 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.8972, allocations: 0.906 MB / 1.272 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004751/0.902, allocations: 2.865 MB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.902, allocations: 0 / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.902, allocations: 0 / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.814e-05/0.9021, allocations: 0 / 1.275 GB, free: 5.543 MB / 0.9981 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.004492/0.9066, allocations: 2.097 MB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.9066, allocations: 12.92 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.9076, allocations: 234.8 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.9104, allocations: 1.517 MB / 1.278 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.9105, allocations: 82 kB / 1.279 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.9107, allocations: 104 kB / 1.279 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.9128, allocations: 1.096 MB / 1.28 GB, free: 260 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.9128, allocations: 0 / 1.28 GB, free: 260 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/0.9129, allocations: 47.97 kB / 1.28 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.913, allocations: 24 kB / 1.28 GB, free: 188 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.9149, allocations: 0.894 MB / 1.281 GB, free: 15.29 MB / 1.014 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.006062/0.921, allocations: 4.907 MB / 1.285 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.9224, allocations: 0.6135 MB / 1.286 GB, free: 9.473 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/0.9231, allocations: 366.2 kB / 1.286 GB, free: 9.113 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.9237, allocations: 0.8238 MB / 1.287 GB, free: 8.105 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.9237, allocations: 47.12 kB / 1.287 GB, free: 8.051 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 2.234e-06/0.9237, allocations: 0 / 1.287 GB, free: 8.051 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.004887/0.9286, allocations: 1.405 MB / 1.289 GB, free: 6.621 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.9286, allocations: 59.97 kB / 1.289 GB, free: 6.551 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.9303, allocations: 1.23 MB / 1.29 GB, free: 5.305 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.9303, allocations: 45.7 kB / 1.29 GB, free: 5.254 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.9308, allocations: 0.5949 MB / 1.29 GB, free: 4.652 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.931, allocations: 224.8 kB / 1.291 GB, free: 4.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.9313, allocations: 150.6 kB / 1.291 GB, free: 4.277 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.9314, allocations: 334 kB / 1.291 GB, free: 3.945 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/0.9321, allocations: 288.7 kB / 1.291 GB, free: 3.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.9329, allocations: 0.4997 MB / 1.292 GB, free: 3.086 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.9344, allocations: 0.7004 MB / 1.293 GB, free: 2.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.9344, allocations: 3.938 kB / 1.293 GB, free: 2.336 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004773/0.9392, allocations: 1.273 MB / 1.294 GB, free: 1.051 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.9392, allocations: 10.5 kB / 1.294 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.9392, allocations: 4 kB / 1.294 GB, free: 1.039 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006726/0.9399, allocations: 149 kB / 1.294 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.9405, allocations: 159.8 kB / 1.294 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008635/0.9414, allocations: 0.7123 MB / 1.295 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.9425, allocations: 127.1 kB / 1.295 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.9425, allocations: 31.94 kB / 1.295 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001053/0.9436, allocations: 0.5565 MB / 1.296 GB, free: 15.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008395/0.9445, allocations: 487.9 kB / 1.296 GB, free: 14.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001434/0.9459, allocations: 0.7081 MB / 1.297 GB, free: 13.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.9459, allocations: 0 / 1.297 GB, free: 13.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004774/0.9507, allocations: 1.265 MB / 1.298 GB, free: 12.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.9507, allocations: 8 kB / 1.298 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.9507, allocations: 0 / 1.298 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/0.9513, allocations: 148.8 kB / 1.298 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.9519, allocations: 155.8 kB / 1.298 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008274/0.9528, allocations: 0.7162 MB / 1.299 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.9539, allocations: 103.5 kB / 1.299 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/0.954, allocations: 32 kB / 1.299 GB, free: 11.51 MB / 1.029 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.0002372/0.9542, allocations: 220.7 kB / 1.299 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.9545, allocations: 134.4 kB / 1.299 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004709/0.9592, allocations: 1.26 MB / 1.301 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004091/0.9633, allocations: 1.092 MB / 1.302 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.9634, allocations: 3.938 kB / 1.302 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005411/0.9639, allocations: 299.2 kB / 1.302 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.9642, allocations: 19.98 kB / 1.302 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000808/0.965, allocations: 55.84 kB / 1.302 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.9651, allocations: 40.5 kB / 1.302 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002744/0.9678, allocations: 0.9678 MB / 1.303 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002451/0.9703, allocations: 1.362 MB / 1.304 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000669/0.971, allocations: 328.3 kB / 1.305 GB, free: 5.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001212/0.9722, allocations: 0.8616 MB / 1.306 GB, free: 4.789 MB / 1.029 GB Notification: Performance of Backend: time 5.31e-07/0.9722, allocations: 0 / 1.306 GB, free: 4.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003693/0.9759, allocations: 1.377 MB / 1.307 GB, free: 3.414 MB / 1.029 GB Notification: Performance of SimCode: time 0.00555/0.9815, allocations: 3.17 MB / 1.31 GB, free: 212 kB / 1.029 GB Notification: Performance of Templates: time 0.05255/1.034, allocations: 33.92 MB / 1.343 GB, free: 14.59 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches