Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.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.001449/0.001449, 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.001702/0.001702, allocations: 216.1 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.61/1.61, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.356/3.356, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.refCyc.sigBus.TConInMea|heaPum.refCyc.sigBus.TConOutMea|heaPum.refCyc.sigBus.TEvaInMea|heaPum.refCyc.sigBus.TEvaOutMea|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.refCyc.refCycHeaPumHea.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.refCyc.sigBus.TConInMea|heaPum.refCyc.sigBus.TConOutMea|heaPum.refCyc.sigBus.TEvaInMea|heaPum.refCyc.sigBus.TEvaOutMea|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.refCyc.refCycHeaPumHea.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness") [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.002924/0.002924, allocations: 65.31 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4597, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness): time 0.09916/0.5588, allocations: 74.65 MB / 1.4 GB, free: 6.012 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03238/0.5912, allocations: 17.08 MB / 1.417 GB, free: 4.895 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006211/0.5974, allocations: 127.1 kB / 1.417 GB, free: 4.77 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004692/0.6021, allocations: 1.122 MB / 1.418 GB, free: 3.641 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.6144, allocations: 2.922 MB / 1.421 GB, free: 0.707 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007358/0.6217, allocations: 1.901 MB / 1.423 GB, free: 14.82 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.6326, allocations: 5.526 MB / 1.428 GB, free: 9.281 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00419/0.6368, allocations: 2.003 MB / 1.43 GB, free: 7.215 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006686/0.6435, allocations: 2.41 MB / 1.432 GB, free: 4.801 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.647, allocations: 1.657 MB / 1.434 GB, free: 3.137 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006563/0.6476, allocations: 304 kB / 1.434 GB, free: 2.84 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004698/0.6523, allocations: 1.665 MB / 1.436 GB, free: 1.172 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000869/0.6532, allocations: 0.6656 MB / 1.437 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.6551, allocations: 1.101 MB / 1.438 GB, free: 15.39 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009128/0.6642, allocations: 4.866 MB / 1.442 GB, free: 10.52 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.994e-06/0.6642, allocations: 0 / 1.442 GB, free: 10.52 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.356e-06/0.6642, allocations: 0 / 1.442 GB, free: 10.52 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.823e-05/0.6643, allocations: 4 kB / 1.442 GB, free: 10.51 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.006495/0.6708, allocations: 2.946 MB / 1.445 GB, free: 7.5 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.6709, allocations: 12.03 kB / 1.445 GB, free: 7.488 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.6726, allocations: 422 kB / 1.446 GB, free: 7.074 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00456/0.6772, allocations: 1.961 MB / 1.448 GB, free: 5.074 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.6774, allocations: 143.4 kB / 1.448 GB, free: 4.934 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/0.6777, allocations: 176 kB / 1.448 GB, free: 4.762 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.6818, allocations: 2.077 MB / 1.45 GB, free: 2.566 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.6819, allocations: 3.953 kB / 1.45 GB, free: 2.562 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.682, allocations: 76 kB / 1.45 GB, free: 2.488 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/0.6821, allocations: 47.94 kB / 1.45 GB, free: 2.441 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/0.6853, allocations: 1.375 MB / 1.451 GB, free: 1.062 MB / 1.139 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.01133/0.6967, allocations: 5.968 MB / 1.457 GB, free: 10.92 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.6987, allocations: 0.7448 MB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009213/0.6997, allocations: 380.4 kB / 1.458 GB, free: 9.789 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/0.7001, allocations: 112.6 kB / 1.458 GB, free: 9.68 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.7002, allocations: 39.22 kB / 1.458 GB, free: 9.633 MB / 1.154 GB Notification: Performance of pre-optimization done (n=63): time 3.927e-06/0.7002, allocations: 0 / 1.458 GB, free: 9.633 MB / 1.154 GB Notification: Performance of matching and sorting (n=63): time 0.008202/0.7084, allocations: 1.766 MB / 1.46 GB, free: 7.855 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/0.7085, allocations: 107.5 kB / 1.46 GB, free: 7.727 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.7112, allocations: 1.508 MB / 1.462 GB, free: 6.215 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.7114, allocations: 45.7 kB / 1.462 GB, free: 6.164 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.7126, allocations: 1.049 MB / 1.463 GB, free: 5.102 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.7129, allocations: 238 kB / 1.463 GB, free: 4.867 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/0.7133, allocations: 202.5 kB / 1.463 GB, free: 4.664 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.7135, allocations: 341.9 kB / 1.464 GB, free: 4.324 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009122/0.7144, allocations: 372.6 kB / 1.464 GB, free: 3.957 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.7161, allocations: 1.152 MB / 1.465 GB, free: 2.547 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.7181, allocations: 0.9758 MB / 1.466 GB, free: 1.461 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.7181, allocations: 4 kB / 1.466 GB, free: 1.457 MB / 1.154 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.005856/0.724, allocations: 1.555 MB / 1.468 GB, free: 15.89 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.724, allocations: 8 kB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.724, allocations: 8.531 kB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009218/0.725, allocations: 204.6 kB / 1.468 GB, free: 15.67 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.7259, allocations: 211.6 kB / 1.468 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/0.732, allocations: 2.692 MB / 1.471 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.7337, allocations: 139.3 kB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.7338, allocations: 43.98 kB / 1.471 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001814/0.7356, allocations: 0.7401 MB / 1.471 GB, free: 11.75 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001567/0.7372, allocations: 1.156 MB / 1.473 GB, free: 10.34 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002022/0.7392, allocations: 0.972 MB / 1.474 GB, free: 9.254 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.959e-06/0.7392, allocations: 0 / 1.474 GB, free: 9.254 MB / 1.17 GB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.005969/0.7452, allocations: 1.547 MB / 1.475 GB, free: 7.695 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.7452, allocations: 8.188 kB / 1.475 GB, free: 7.688 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.7452, allocations: 8 kB / 1.475 GB, free: 7.68 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008101/0.746, allocations: 204.9 kB / 1.475 GB, free: 7.477 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/0.7469, allocations: 215.6 kB / 1.475 GB, free: 7.266 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/0.7529, allocations: 2.665 MB / 1.478 GB, free: 4.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.7546, allocations: 147.5 kB / 1.478 GB, free: 4.355 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.7548, allocations: 55.92 kB / 1.478 GB, free: 4.301 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 5 (heaPum.conHea.y,heaPum.hys.y,$PRE.heaPum.hys.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000383/0.7552, allocations: 240 kB / 1.478 GB, free: 4.059 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004591/0.7556, allocations: 166.9 kB / 1.479 GB, free: 3.895 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/0.7613, allocations: 1.456 MB / 1.48 GB, free: 2.426 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004825/0.7661, allocations: 1.235 MB / 1.481 GB, free: 1.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.7661, allocations: 4 kB / 1.481 GB, free: 1.156 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.7672, allocations: 270.5 kB / 1.482 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.7674, allocations: 19.94 kB / 1.482 GB, free: 0.8711 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008535/0.7683, allocations: 59.92 kB / 1.482 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.7684, allocations: 64.53 kB / 1.482 GB, free: 0.75 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003314/0.7717, allocations: 1.122 MB / 1.483 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003216/0.775, allocations: 1.585 MB / 1.484 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009065/0.7759, allocations: 380.9 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001749/0.7776, allocations: 1.015 MB / 1.486 GB, free: 12.63 MB / 1.186 GB Notification: Performance of Backend: time 9.92e-07/0.7776, allocations: 0 / 1.486 GB, free: 12.63 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005706/0.7833, allocations: 1.947 MB / 1.488 GB, free: 10.67 MB / 1.186 GB Notification: Performance of SimCode: time 0.008469/0.7918, allocations: 4.138 MB / 1.492 GB, free: 6.484 MB / 1.186 GB Notification: Performance of Templates: time 0.07792/0.8697, allocations: 45.1 MB / 1.536 GB, free: 10.05 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_ConstantCarnotEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.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: 11.459192077003536]