Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,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.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,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.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 110.3 kB / 16.42 MB, free: 6.469 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.001051/0.001051, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.311/1.311, 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.16/2.16, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.725/0.7264, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07912/0.8055, allocations: 75.2 MB / 1.162 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.828, allocations: 15.16 MB / 1.177 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.8312, allocations: 65.62 kB / 1.177 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002815/0.8341, allocations: 0.8542 MB / 1.178 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008379/0.8425, allocations: 2.728 MB / 1.18 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.8465, allocations: 1.398 MB / 1.182 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006366/0.8529, allocations: 4.413 MB / 1.186 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.8553, allocations: 1.453 MB / 1.188 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004146/0.8594, allocations: 1.679 MB / 1.189 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002437/0.8619, allocations: 1.218 MB / 1.19 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000494/0.8624, allocations: 162.9 kB / 1.19 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003709/0.8661, allocations: 1.4 MB / 1.192 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005988/0.8667, allocations: 402.2 kB / 1.192 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.8685, allocations: 0.9047 MB / 1.193 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00526/0.8738, allocations: 2.86 MB / 1.196 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.8738, allocations: 0 / 1.196 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8738, allocations: 3.938 kB / 1.196 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.779e-05/0.8739, allocations: 0 / 1.196 GB, free: 8.703 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.005041/0.879, allocations: 2.095 MB / 1.198 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.879, allocations: 8.938 kB / 1.198 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.8801, allocations: 227.2 kB / 1.198 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/0.8831, allocations: 1.531 MB / 1.2 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.8832, allocations: 75.41 kB / 1.2 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.8834, allocations: 105.2 kB / 1.2 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.8857, allocations: 1.108 MB / 1.201 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.8858, allocations: 1.219 kB / 1.201 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.8859, allocations: 41.42 kB / 1.201 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/0.886, allocations: 28.47 kB / 1.201 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.8886, allocations: 0.894 MB / 1.202 GB, free: 4.555 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.007697/0.8963, allocations: 4.909 MB / 1.207 GB, free: 324 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.8978, allocations: 0.6248 MB / 1.207 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/0.8986, allocations: 343.1 kB / 1.208 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005981/0.8992, allocations: 0.8309 MB / 1.208 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.8993, allocations: 46.58 kB / 1.208 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 3.366e-06/0.8993, allocations: 0 / 1.208 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.007617/0.9069, allocations: 1.682 MB / 1.21 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.907, allocations: 61.97 kB / 1.21 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.9089, allocations: 1.235 MB / 1.211 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.9091, allocations: 43.45 kB / 1.211 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005317/0.9096, allocations: 0.6006 MB / 1.212 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.9098, allocations: 210.4 kB / 1.212 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.9101, allocations: 156.4 kB / 1.212 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.9102, allocations: 336.8 kB / 1.213 GB, free: 12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007189/0.911, allocations: 294.7 kB / 1.213 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008922/0.9119, allocations: 0.4907 MB / 1.213 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.9134, allocations: 0.7098 MB / 1.214 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.9134, allocations: 4 kB / 1.214 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004997/0.9184, allocations: 1.266 MB / 1.215 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.9184, allocations: 12.67 kB / 1.215 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.9184, allocations: 3.812 kB / 1.215 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.9191, allocations: 139.4 kB / 1.216 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.9197, allocations: 161 kB / 1.216 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008472/0.9206, allocations: 0.6998 MB / 1.216 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.9218, allocations: 121.5 kB / 1.216 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.9219, allocations: 30.23 kB / 1.217 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001155/0.9231, allocations: 0.5589 MB / 1.217 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008546/0.924, allocations: 491 kB / 1.218 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00142/0.9254, allocations: 0.7097 MB / 1.218 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.047e-06/0.9254, allocations: 1.5 kB / 1.218 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004871/0.9303, allocations: 1.279 MB / 1.219 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.9303, allocations: 4 kB / 1.219 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.9303, allocations: 7.984 kB / 1.219 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005243/0.9308, allocations: 137.1 kB / 1.22 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.9315, allocations: 163.7 kB / 1.22 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007901/0.9323, allocations: 0.7123 MB / 1.22 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.9336, allocations: 91.52 kB / 1.221 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/0.9337, allocations: 31.98 kB / 1.221 GB, free: 5.934 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.0002654/0.9339, allocations: 232.1 kB / 1.221 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/0.9343, allocations: 134.3 kB / 1.221 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.9391, allocations: 1.264 MB / 1.222 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00421/0.9434, allocations: 1.103 MB / 1.223 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.9434, allocations: 0 / 1.223 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008203/0.9442, allocations: 303.2 kB / 1.224 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000436/0.9447, allocations: 11.94 kB / 1.224 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009865/0.9457, allocations: 55.92 kB / 1.224 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.9458, allocations: 52.48 kB / 1.224 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002748/0.9485, allocations: 0.9599 MB / 1.225 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002549/0.9511, allocations: 1.331 MB / 1.226 GB, free: 408 kB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006552/0.9518, allocations: 332.3 kB / 1.226 GB, free: 76 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001373/0.9532, allocations: 0.8616 MB / 1.227 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of Backend: time 3.31e-07/0.9532, allocations: 0 / 1.227 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004218/0.9574, allocations: 1.377 MB / 1.228 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of SimCode: time 0.005911/0.9633, allocations: 3.145 MB / 1.231 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of Templates: time 0.05179/1.015, allocations: 33.57 MB / 1.264 GB, free: 9.434 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches