Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.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.00187/0.00187, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.002246/0.002246, allocations: 212 kB / 23 MB, free: 4.973 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.426/3.426, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=29234,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=29234,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.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.002145/0.002145, allocations: 63.22 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4596, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.09609/0.5557, allocations: 74.87 MB / 1.4 GB, free: 5.836 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03461/0.5903, allocations: 18.12 MB / 1.418 GB, free: 3.676 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005972/0.5962, allocations: 142.9 kB / 1.418 GB, free: 3.535 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.6005, allocations: 1.157 MB / 1.419 GB, free: 2.371 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.6109, allocations: 3.02 MB / 1.422 GB, free: 15.34 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005905/0.6169, allocations: 2.011 MB / 1.424 GB, free: 13.34 MB / 1.123 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of NFFlatten.flatten: time 0.009785/0.6266, allocations: 5.706 MB / 1.43 GB, free: 7.621 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004431/0.6311, allocations: 2.13 MB / 1.432 GB, free: 5.43 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007163/0.6382, allocations: 2.485 MB / 1.434 GB, free: 2.941 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003947/0.6422, allocations: 1.746 MB / 1.436 GB, free: 1.188 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007089/0.6429, allocations: 316 kB / 1.436 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004521/0.6474, allocations: 1.501 MB / 1.438 GB, free: 15.38 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009532/0.6484, allocations: 0.7357 MB / 1.438 GB, free: 14.64 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002063/0.6504, allocations: 1.17 MB / 1.44 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009356/0.6598, allocations: 5.057 MB / 1.444 GB, free: 8.387 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6598, allocations: 0 / 1.444 GB, free: 8.387 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6598, allocations: 0 / 1.444 GB, free: 8.387 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.541e-05/0.6599, allocations: 0 / 1.444 GB, free: 8.387 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: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.008189/0.6681, allocations: 3.135 MB / 1.448 GB, free: 5.188 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/0.6681, allocations: 8.031 kB / 1.448 GB, free: 5.18 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.67, allocations: 449.8 kB / 1.448 GB, free: 4.738 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004662/0.6747, allocations: 2.091 MB / 1.45 GB, free: 2.609 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.6748, allocations: 147.7 kB / 1.45 GB, free: 2.465 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.6752, allocations: 195.9 kB / 1.45 GB, free: 2.273 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/0.6794, allocations: 2.22 MB / 1.452 GB, free: 15.93 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.6795, allocations: 0 / 1.452 GB, free: 15.93 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.6796, allocations: 76 kB / 1.453 GB, free: 15.85 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-05/0.6797, allocations: 51.94 kB / 1.453 GB, free: 15.8 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/0.683, allocations: 1.509 MB / 1.454 GB, free: 14.29 MB / 1.154 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.01193/0.6949, allocations: 6.413 MB / 1.46 GB, free: 7.68 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.6974, allocations: 0.8784 MB / 1.461 GB, free: 6.785 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/0.6981, allocations: 356.8 kB / 1.462 GB, free: 6.438 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/0.6985, allocations: 109.9 kB / 1.462 GB, free: 6.332 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.6996, allocations: 0.5883 MB / 1.462 GB, free: 5.691 MB / 1.154 GB Notification: Performance of pre-optimization done (n=67): time 3.667e-06/0.6997, allocations: 0 / 1.462 GB, free: 5.691 MB / 1.154 GB Notification: Performance of matching and sorting (n=67): time 0.003105/0.7028, allocations: 1.157 MB / 1.463 GB, free: 4.531 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.7029, allocations: 145 kB / 1.464 GB, free: 4.359 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/0.7058, allocations: 1.719 MB / 1.465 GB, free: 2.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.7059, allocations: 49.7 kB / 1.465 GB, free: 2.535 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.7072, allocations: 1.151 MB / 1.466 GB, free: 1.371 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.7075, allocations: 253.9 kB / 1.467 GB, free: 1.121 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003944/0.7079, allocations: 230.5 kB / 1.467 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.7081, allocations: 341.9 kB / 1.467 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008381/0.7089, allocations: 381.8 kB / 1.468 GB, free: 180 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.7104, allocations: 1.182 MB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.7124, allocations: 1.056 MB / 1.47 GB, free: 13.55 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/0.7124, allocations: 4 kB / 1.47 GB, free: 13.55 MB / 1.17 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002907/0.7153, allocations: 1.297 MB / 1.471 GB, free: 12.24 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.7153, allocations: 9.562 kB / 1.471 GB, free: 12.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.7153, allocations: 8 kB / 1.471 GB, free: 12.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/0.7154, allocations: 16 kB / 1.471 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008746/0.7162, allocations: 236.1 kB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.438e-05/0.7163, allocations: 23.86 kB / 1.471 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.7175, allocations: 139.2 kB / 1.471 GB, free: 11.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.977e-05/0.7176, allocations: 51.98 kB / 1.471 GB, free: 11.77 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,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 (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.7187, allocations: 0.5138 MB / 1.472 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/0.7191, allocations: 186.8 kB / 1.472 GB, free: 11.06 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.7215, allocations: 1.143 MB / 1.473 GB, free: 9.926 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001801/0.7233, allocations: 0.9355 MB / 1.474 GB, free: 8.961 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.7234, allocations: 3.938 kB / 1.474 GB, free: 8.957 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008174/0.7242, allocations: 306.3 kB / 1.474 GB, free: 8.656 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.7244, allocations: 24 kB / 1.474 GB, free: 8.633 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007622/0.7252, allocations: 59.94 kB / 1.475 GB, free: 8.574 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.7253, allocations: 64.53 kB / 1.475 GB, free: 8.512 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002513/0.7278, allocations: 1.101 MB / 1.476 GB, free: 7.402 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003219/0.7311, allocations: 1.749 MB / 1.477 GB, free: 5.637 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008235/0.7319, allocations: 421.4 kB / 1.478 GB, free: 5.227 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001905/0.7338, allocations: 1.152 MB / 1.479 GB, free: 4.051 MB / 1.17 GB Notification: Performance of Backend: time 2.71e-07/0.7338, allocations: 0 / 1.479 GB, free: 4.051 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006356/0.7401, allocations: 1.634 MB / 1.48 GB, free: 2.672 MB / 1.17 GB Notification: Performance of SimCode: time 0.00931/0.7495, allocations: 4.459 MB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of Templates: time 0.07542/0.8249, allocations: 40.43 MB / 1.524 GB, free: 6.371 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.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: 13.644012937998923]