Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 215.5 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.427/3.427, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 68.25 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.435, allocations: 176.1 MB / 1.327 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.08645/0.5215, allocations: 69.39 MB / 1.395 GB, free: 11.47 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.5454, allocations: 14.1 MB / 1.409 GB, free: 13.34 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003837/0.5493, allocations: 87.25 kB / 1.409 GB, free: 13.25 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.5523, allocations: 0.8228 MB / 1.41 GB, free: 12.42 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.5624, allocations: 2.759 MB / 1.412 GB, free: 9.652 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004855/0.5672, allocations: 1.442 MB / 1.414 GB, free: 8.223 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008664/0.5759, allocations: 4.5 MB / 1.418 GB, free: 3.711 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.5784, allocations: 1.129 MB / 1.419 GB, free: 2.543 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006382/0.5848, allocations: 1.941 MB / 1.421 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.5879, allocations: 1.249 MB / 1.422 GB, free: 15.34 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004646/0.5883, allocations: 160 kB / 1.422 GB, free: 15.19 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.592, allocations: 1.166 MB / 1.424 GB, free: 14.02 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006192/0.5927, allocations: 414.3 kB / 1.424 GB, free: 13.61 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.5942, allocations: 0.7272 MB / 1.425 GB, free: 12.88 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00602/0.6002, allocations: 2.869 MB / 1.427 GB, free: 10 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.6003, allocations: 0 / 1.427 GB, free: 10 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6003, allocations: 4 kB / 1.427 GB, free: 10 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.78e-05/0.6003, allocations: 0 / 1.427 GB, free: 10 MB / 1.123 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.004929/0.6052, allocations: 2.064 MB / 1.429 GB, free: 7.883 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.6053, allocations: 8.031 kB / 1.429 GB, free: 7.875 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009768/0.6063, allocations: 235.7 kB / 1.43 GB, free: 7.645 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/0.6097, allocations: 1.481 MB / 1.431 GB, free: 6.117 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.24e-05/0.6098, allocations: 78 kB / 1.431 GB, free: 6.039 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.61, allocations: 115.9 kB / 1.431 GB, free: 5.926 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.6126, allocations: 1.251 MB / 1.433 GB, free: 4.605 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.6126, allocations: 3.938 kB / 1.433 GB, free: 4.602 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.6127, allocations: 40 kB / 1.433 GB, free: 4.562 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/0.6128, allocations: 31.98 kB / 1.433 GB, free: 4.531 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.6148, allocations: 0.8861 MB / 1.433 GB, free: 3.641 MB / 1.123 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.00673/0.6216, allocations: 3.472 MB / 1.437 GB, free: 100 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.6232, allocations: 0.578 MB / 1.437 GB, free: 15.51 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007529/0.6239, allocations: 318.2 kB / 1.438 GB, free: 15.2 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003506/0.6243, allocations: 92.38 kB / 1.438 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.6243, allocations: 43.06 kB / 1.438 GB, free: 15.06 MB / 1.139 GB Notification: Performance of pre-optimization done (n=61): time 3.847e-06/0.6243, allocations: 0 / 1.438 GB, free: 15.06 MB / 1.139 GB Notification: Performance of matching and sorting (n=61): time 0.007621/0.6319, allocations: 1.601 MB / 1.439 GB, free: 13.45 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.632, allocations: 63.89 kB / 1.439 GB, free: 13.37 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.6338, allocations: 1.041 MB / 1.44 GB, free: 12.32 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.634, allocations: 45.7 kB / 1.441 GB, free: 12.27 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/0.6346, allocations: 0.6337 MB / 1.441 GB, free: 11.62 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.6349, allocations: 222 kB / 1.441 GB, free: 11.41 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.6351, allocations: 154.6 kB / 1.442 GB, free: 11.25 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.6353, allocations: 341.9 kB / 1.442 GB, free: 10.91 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/0.6361, allocations: 280.7 kB / 1.442 GB, free: 10.63 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.6373, allocations: 0.8984 MB / 1.443 GB, free: 9.559 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.6388, allocations: 0.7055 MB / 1.444 GB, free: 8.805 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.6388, allocations: 4 kB / 1.444 GB, free: 8.801 MB / 1.139 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005077/0.6439, allocations: 1.258 MB / 1.445 GB, free: 7.531 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.6439, allocations: 6.031 kB / 1.445 GB, free: 7.527 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6439, allocations: 4.375 kB / 1.445 GB, free: 7.523 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006593/0.6446, allocations: 144.7 kB / 1.445 GB, free: 7.379 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/0.6453, allocations: 159.8 kB / 1.445 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.6463, allocations: 0.7045 MB / 1.446 GB, free: 6.492 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.6474, allocations: 95.45 kB / 1.446 GB, free: 6.398 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.6475, allocations: 35.98 kB / 1.446 GB, free: 6.363 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001279/0.6488, allocations: 0.5488 MB / 1.447 GB, free: 5.809 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001192/0.6499, allocations: 0.8906 MB / 1.447 GB, free: 4.738 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001567/0.6515, allocations: 0.7016 MB / 1.448 GB, free: 3.992 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.6515, allocations: 4 kB / 1.448 GB, free: 3.988 MB / 1.139 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004912/0.6564, allocations: 1.254 MB / 1.449 GB, free: 2.723 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6565, allocations: 8 kB / 1.449 GB, free: 2.715 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.6565, allocations: 4 kB / 1.449 GB, free: 2.711 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005622/0.657, allocations: 133 kB / 1.449 GB, free: 2.578 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006624/0.6577, allocations: 159.8 kB / 1.45 GB, free: 2.422 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009341/0.6586, allocations: 0.7122 MB / 1.45 GB, free: 1.684 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.6598, allocations: 87.61 kB / 1.45 GB, free: 1.598 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.6599, allocations: 31.98 kB / 1.45 GB, free: 1.566 MB / 1.139 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.0003468/0.6602, allocations: 233.6 kB / 1.451 GB, free: 1.332 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.6605, allocations: 127.1 kB / 1.451 GB, free: 1.207 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004982/0.6655, allocations: 1.264 MB / 1.452 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004394/0.6699, allocations: 1.102 MB / 1.453 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.6699, allocations: 3.938 kB / 1.453 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008431/0.6707, allocations: 211 kB / 1.453 GB, free: 14.58 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.6709, allocations: 8 kB / 1.453 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/0.6716, allocations: 43.95 kB / 1.453 GB, free: 14.53 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.6717, allocations: 64.42 kB / 1.453 GB, free: 14.46 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002976/0.6747, allocations: 0.9662 MB / 1.454 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002876/0.6776, allocations: 1.335 MB / 1.456 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00071/0.6783, allocations: 309 kB / 1.456 GB, free: 11.84 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001304/0.6796, allocations: 0.7281 MB / 1.457 GB, free: 11.1 MB / 1.154 GB Notification: Performance of Backend: time 5.21e-07/0.6796, allocations: 0 / 1.457 GB, free: 11.1 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0043/0.6839, allocations: 1.305 MB / 1.458 GB, free: 9.793 MB / 1.154 GB Notification: Performance of SimCode: time 0.005932/0.6898, allocations: 2.983 MB / 1.461 GB, free: 6.766 MB / 1.154 GB Notification: Performance of Templates: time 0.06037/0.7502, allocations: 32.81 MB / 1.493 GB, free: 6.43 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.862271263998991]