Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001692/0.001692, allocations: 114.9 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.001967/0.001967, 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.326/1.326, 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.423/2.423, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.734/0.7354, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07189/0.8073, allocations: 75.22 MB / 1.241 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02593/0.8333, allocations: 15.16 MB / 1.256 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.8359, allocations: 67.62 kB / 1.256 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.8384, allocations: 0.854 MB / 1.256 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00849/0.847, allocations: 2.715 MB / 1.259 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.8514, allocations: 1.405 MB / 1.26 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006953/0.8583, allocations: 4.412 MB / 1.265 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00284/0.8612, allocations: 1.449 MB / 1.266 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004566/0.8658, allocations: 1.669 MB / 1.268 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.8683, allocations: 1.214 MB / 1.269 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.8686, allocations: 164 kB / 1.269 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00322/0.8718, allocations: 1.404 MB / 1.271 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004135/0.8723, allocations: 402.6 kB / 1.271 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.8734, allocations: 0.9021 MB / 1.272 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.8779, allocations: 2.861 MB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8779, allocations: 0 / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.338e-06/0.878, allocations: 4 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.878, allocations: 0 / 1.275 GB, free: 5.637 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.003837/0.8818, allocations: 2.081 MB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.8819, allocations: 8.922 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008096/0.8827, allocations: 230.8 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.885, allocations: 1.517 MB / 1.278 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.8851, allocations: 81.92 kB / 1.278 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.8852, allocations: 104 kB / 1.279 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.8872, allocations: 1.104 MB / 1.28 GB, free: 372 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.8872, allocations: 7.938 kB / 1.28 GB, free: 364 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.02e-05/0.8873, allocations: 36 kB / 1.28 GB, free: 328 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.8873, allocations: 27.98 kB / 1.28 GB, free: 300 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.8892, allocations: 0.8978 MB / 1.281 GB, free: 15.39 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.005662/0.8949, allocations: 4.896 MB / 1.285 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.8963, allocations: 0.6197 MB / 1.286 GB, free: 9.582 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006997/0.897, allocations: 354.3 kB / 1.286 GB, free: 9.234 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005837/0.8976, allocations: 0.8277 MB / 1.287 GB, free: 8.223 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.8976, allocations: 39.11 kB / 1.287 GB, free: 8.176 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 2.715e-06/0.8977, allocations: 8 kB / 1.287 GB, free: 8.168 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.007406/0.9051, allocations: 1.682 MB / 1.289 GB, free: 6.461 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.9051, allocations: 59.91 kB / 1.289 GB, free: 6.391 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.9069, allocations: 1.23 MB / 1.29 GB, free: 5.145 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.497e-05/0.907, allocations: 41.7 kB / 1.29 GB, free: 5.098 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005186/0.9075, allocations: 0.6065 MB / 1.291 GB, free: 4.484 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.9077, allocations: 208.9 kB / 1.291 GB, free: 4.277 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.908, allocations: 166.5 kB / 1.291 GB, free: 4.109 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9081, allocations: 326 kB / 1.291 GB, free: 3.785 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00086/0.909, allocations: 288.7 kB / 1.292 GB, free: 3.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.9103, allocations: 0.4929 MB / 1.292 GB, free: 2.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.9126, allocations: 0.7129 MB / 1.293 GB, free: 2.168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.9126, allocations: 3.938 kB / 1.293 GB, free: 2.164 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007418/0.92, allocations: 1.269 MB / 1.294 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.9201, allocations: 8 kB / 1.294 GB, free: 0.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.9201, allocations: 11.92 kB / 1.294 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000887/0.921, allocations: 132.8 kB / 1.294 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.922, allocations: 163.8 kB / 1.294 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.9233, allocations: 0.7005 MB / 1.295 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.9251, allocations: 127 kB / 1.295 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.9252, allocations: 31.98 kB / 1.295 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001612/0.9268, allocations: 0.5527 MB / 1.296 GB, free: 15.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001226/0.928, allocations: 0.489 MB / 1.296 GB, free: 14.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00222/0.9303, allocations: 0.7051 MB / 1.297 GB, free: 13.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/0.9303, allocations: 0 / 1.297 GB, free: 13.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.006992/0.9373, allocations: 1.262 MB / 1.298 GB, free: 12.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.9373, allocations: 15.98 kB / 1.298 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.9374, allocations: 4 kB / 1.298 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007314/0.9381, allocations: 128.9 kB / 1.298 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/0.9391, allocations: 163.7 kB / 1.298 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.9403, allocations: 0.7083 MB / 1.299 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.9419, allocations: 103.4 kB / 1.299 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.9421, allocations: 36 kB / 1.299 GB, free: 11.36 MB / 1.029 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.0003196/0.9424, allocations: 224.1 kB / 1.299 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/0.9428, allocations: 138.4 kB / 1.3 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006941/0.9498, allocations: 1.263 MB / 1.301 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006229/0.956, allocations: 1.103 MB / 1.302 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.9561, allocations: 4 kB / 1.302 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008299/0.9569, allocations: 295.2 kB / 1.302 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/0.9573, allocations: 15.98 kB / 1.302 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.9586, allocations: 51.88 kB / 1.302 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.9588, allocations: 48.48 kB / 1.302 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004117/0.9629, allocations: 0.9677 MB / 1.303 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003681/0.9666, allocations: 1.335 MB / 1.305 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009908/0.9676, allocations: 320.3 kB / 1.305 GB, free: 5.508 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001891/0.9695, allocations: 0.8615 MB / 1.306 GB, free: 4.645 MB / 1.029 GB Notification: Performance of Backend: time 6.51e-07/0.9695, allocations: 0 / 1.306 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005037/0.9746, allocations: 1.375 MB / 1.307 GB, free: 3.27 MB / 1.029 GB Notification: Performance of SimCode: time 0.005613/0.9802, allocations: 3.146 MB / 1.31 GB, free: 88 kB / 1.029 GB Notification: Performance of Templates: time 0.05136/1.032, allocations: 33.54 MB / 1.343 GB, free: 14.86 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches