Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,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",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,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",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 110.7 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.001343/0.001343, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.31/1.31, 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 9.1.3-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 71.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7546, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.08057/0.8352, allocations: 75.23 MB / 1.162 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02381/0.8591, allocations: 15.17 MB / 1.177 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.8622, allocations: 69.75 kB / 1.177 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002879/0.8651, allocations: 0.8612 MB / 1.178 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00835/0.8735, allocations: 2.718 MB / 1.18 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.8772, allocations: 1.405 MB / 1.182 GB, free: 1.461 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006129/0.8833, allocations: 4.399 MB / 1.186 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.8858, allocations: 1.45 MB / 1.188 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.8897, allocations: 1.686 MB / 1.189 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.8918, allocations: 1.216 MB / 1.19 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000388/0.8922, allocations: 162 kB / 1.191 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.8957, allocations: 1.4 MB / 1.192 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005594/0.8963, allocations: 394.7 kB / 1.192 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.8979, allocations: 0.9083 MB / 1.193 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.9027, allocations: 2.857 MB / 1.196 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9027, allocations: 0 / 1.196 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9027, allocations: 4 kB / 1.196 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.242e-05/0.9027, allocations: 1.344 kB / 1.196 GB, free: 8.504 MB / 0.9356 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.005231/0.908, allocations: 2.079 MB / 1.198 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.908, allocations: 9.312 kB / 1.198 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.9092, allocations: 225.7 kB / 1.198 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/0.9125, allocations: 1.528 MB / 1.2 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.9126, allocations: 76.5 kB / 1.2 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.9128, allocations: 100.6 kB / 1.2 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.915, allocations: 1.104 MB / 1.201 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.9151, allocations: 1.094 kB / 1.201 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.9152, allocations: 41.53 kB / 1.201 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.9152, allocations: 23.94 kB / 1.201 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.9174, allocations: 0.898 MB / 1.202 GB, free: 4.375 MB / 0.9356 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.007696/0.9251, allocations: 4.912 MB / 1.207 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.9267, allocations: 0.6116 MB / 1.207 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007464/0.9275, allocations: 355.5 kB / 1.208 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006507/0.9281, allocations: 0.8274 MB / 1.208 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.9282, allocations: 42.06 kB / 1.208 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 3.006e-06/0.9282, allocations: 0 / 1.208 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.007513/0.9357, allocations: 1.691 MB / 1.21 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.9358, allocations: 61.66 kB / 1.21 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.9377, allocations: 1.225 MB / 1.211 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.673e-05/0.9378, allocations: 46.27 kB / 1.211 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.9384, allocations: 0.6054 MB / 1.212 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.9386, allocations: 206.8 kB / 1.212 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.9389, allocations: 155.8 kB / 1.212 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.939, allocations: 341.1 kB / 1.213 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/0.9397, allocations: 294.4 kB / 1.213 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009009/0.9406, allocations: 496.9 kB / 1.213 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.9421, allocations: 0.7093 MB / 1.214 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.9422, allocations: 5.062 kB / 1.214 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00493/0.9471, allocations: 1.269 MB / 1.215 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.9471, allocations: 6.844 kB / 1.215 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.9471, allocations: 2.75 kB / 1.215 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.9477, allocations: 139.5 kB / 1.216 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.9484, allocations: 161.3 kB / 1.216 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008698/0.9492, allocations: 0.7032 MB / 1.216 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.9504, allocations: 124.9 kB / 1.217 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.9505, allocations: 27.25 kB / 1.217 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001092/0.9516, allocations: 0.5551 MB / 1.217 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008695/0.9525, allocations: 498.8 kB / 1.218 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001413/0.9539, allocations: 0.7094 MB / 1.218 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/0.9539, allocations: 1.188 kB / 1.218 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004762/0.9587, allocations: 1.264 MB / 1.219 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.9587, allocations: 6.344 kB / 1.219 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.9587, allocations: 11.92 kB / 1.219 GB, free: 7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/0.9592, allocations: 141.2 kB / 1.22 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.9598, allocations: 159.7 kB / 1.22 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008339/0.9607, allocations: 0.7122 MB / 1.22 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.9618, allocations: 95.45 kB / 1.221 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/0.9619, allocations: 31.98 kB / 1.221 GB, free: 5.84 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.9621, allocations: 232 kB / 1.221 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.9624, allocations: 130.4 kB / 1.221 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/0.9671, allocations: 1.267 MB / 1.222 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004201/0.9713, allocations: 1.099 MB / 1.223 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.9713, allocations: 0 / 1.223 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006952/0.972, allocations: 299.2 kB / 1.224 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/0.9723, allocations: 15.94 kB / 1.224 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008168/0.9732, allocations: 55.88 kB / 1.224 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.9733, allocations: 52.48 kB / 1.224 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002731/0.976, allocations: 0.9599 MB / 1.225 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002465/0.9785, allocations: 1.331 MB / 1.226 GB, free: 316 kB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00068/0.9792, allocations: 328.3 kB / 1.226 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001296/0.9805, allocations: 0.8655 MB / 1.227 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of Backend: time 7.71e-07/0.9805, allocations: 0 / 1.227 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003907/0.9844, allocations: 1.378 MB / 1.228 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of SimCode: time 0.006279/0.9907, allocations: 3.148 MB / 1.231 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of Templates: time 0.05753/1.048, allocations: 33.6 MB / 1.264 GB, free: 9.301 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches