Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.001729/0.001729, allocations: 96.2 kB / 19.7 MB, free: 2.129 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.002322/0.002322, allocations: 209.1 kB / 23 MB, free: 4.934 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.701/1.701, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.625/3.625, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.m1_flow|heaPum.m2_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.m1_flow|heaPum.m2_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") [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.002142/0.002142, allocations: 63.61 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4472, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1441/0.5912, allocations: 116 MB / 1.44 GB, free: 12.57 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.617, allocations: 14.56 MB / 1.455 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/0.6204, allocations: 103.1 kB / 1.455 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.6234, allocations: 0.9432 MB / 1.456 GB, free: 12.93 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008469/0.6319, allocations: 2.819 MB / 1.458 GB, free: 10.11 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005959/0.6379, allocations: 2.14 MB / 1.46 GB, free: 7.984 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.008233/0.6461, allocations: 4.887 MB / 1.465 GB, free: 3.074 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.6489, allocations: 1.37 MB / 1.467 GB, free: 1.664 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005426/0.6543, allocations: 2.074 MB / 1.469 GB, free: 15.59 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/0.6569, allocations: 1.392 MB / 1.47 GB, free: 14.19 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003928/0.6573, allocations: 208 kB / 1.47 GB, free: 13.99 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005252/0.6626, allocations: 1.9 MB / 1.472 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008487/0.6634, allocations: 0.5137 MB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.6651, allocations: 0.8712 MB / 1.473 GB, free: 10.7 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.008439/0.6736, allocations: 3.788 MB / 1.477 GB, free: 6.895 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6736, allocations: 0 / 1.477 GB, free: 6.895 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6736, allocations: 4 kB / 1.477 GB, free: 6.891 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.894e-05/0.6736, allocations: 0 / 1.477 GB, free: 6.891 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005828/0.6795, allocations: 2.473 MB / 1.479 GB, free: 4.359 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.6795, allocations: 8.031 kB / 1.479 GB, free: 4.352 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006539/0.686, allocations: 0.7254 MB / 1.48 GB, free: 3.625 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004211/0.6903, allocations: 1.654 MB / 1.482 GB, free: 1.922 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.6905, allocations: 161.8 kB / 1.482 GB, free: 1.75 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/0.6907, allocations: 124 kB / 1.482 GB, free: 1.629 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004923/0.6957, allocations: 2.199 MB / 1.484 GB, free: 15.22 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/0.6957, allocations: 7.938 kB / 1.484 GB, free: 15.21 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.6959, allocations: 52 kB / 1.484 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/0.6959, allocations: 36 kB / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005161/0.7011, allocations: 1.441 MB / 1.486 GB, free: 13.68 MB / 1.186 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.01219/0.7133, allocations: 6.06 MB / 1.492 GB, free: 7.473 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004598/0.7179, allocations: 1.095 MB / 1.493 GB, free: 6.367 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002262/0.7202, allocations: 0.5619 MB / 1.493 GB, free: 5.801 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009211/0.7211, allocations: 144.5 kB / 1.493 GB, free: 5.66 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002862/0.7239, allocations: 1.078 MB / 1.494 GB, free: 4.484 MB / 1.186 GB Notification: Performance of pre-optimization done (n=81): time 4.548e-06/0.7239, allocations: 0 / 1.494 GB, free: 4.484 MB / 1.186 GB Notification: Performance of matching and sorting (n=81): time 0.02772/0.7517, allocations: 3.923 MB / 1.498 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.7518, allocations: 137.2 kB / 1.498 GB, free: 392 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.754, allocations: 1.224 MB / 1.5 GB, free: 15.14 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002548/0.7542, allocations: 49.64 kB / 1.5 GB, free: 15.09 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008333/0.755, allocations: 0.7512 MB / 1.5 GB, free: 14.34 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.7554, allocations: 297.5 kB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/0.7559, allocations: 222.5 kB / 1.501 GB, free: 13.82 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.7561, allocations: 345.9 kB / 1.501 GB, free: 13.48 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/0.7582, allocations: 0.5395 MB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/0.7609, allocations: 1.143 MB / 1.503 GB, free: 11.61 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004411/0.7653, allocations: 1.251 MB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.7653, allocations: 0 / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00619/0.7715, allocations: 1.677 MB / 1.506 GB, free: 8.586 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.7716, allocations: 12 kB / 1.506 GB, free: 8.574 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.7716, allocations: 4 kB / 1.506 GB, free: 8.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/0.7739, allocations: 0.5902 MB / 1.506 GB, free: 7.977 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.7756, allocations: 255.6 kB / 1.507 GB, free: 7.727 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.7782, allocations: 1.205 MB / 1.508 GB, free: 6.496 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.7805, allocations: 175.3 kB / 1.508 GB, free: 6.324 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.7807, allocations: 59.94 kB / 1.508 GB, free: 6.266 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002929/0.7836, allocations: 0.8493 MB / 1.509 GB, free: 5.41 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002609/0.7862, allocations: 1.132 MB / 1.51 GB, free: 4.094 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004478/0.7907, allocations: 1.236 MB / 1.511 GB, free: 2.781 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.965e-06/0.7907, allocations: 7.938 kB / 1.511 GB, free: 2.773 MB / 1.201 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.006236/0.7969, allocations: 1.661 MB / 1.513 GB, free: 1.102 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.7969, allocations: 8 kB / 1.513 GB, free: 1.094 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.7969, allocations: 4 kB / 1.513 GB, free: 1.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/0.7992, allocations: 0.5908 MB / 1.513 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.8008, allocations: 259.6 kB / 1.514 GB, free: 248 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.8034, allocations: 1.212 MB / 1.515 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.8056, allocations: 163.3 kB / 1.515 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.8058, allocations: 59.94 kB / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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 {(11,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0005738/0.8063, allocations: 249.1 kB / 1.515 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/0.8068, allocations: 147 kB / 1.515 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/0.8126, allocations: 1.602 MB / 1.517 GB, free: 12.77 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004959/0.8176, allocations: 1.438 MB / 1.518 GB, free: 11.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.8176, allocations: 0 / 1.518 GB, free: 11.3 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.8187, allocations: 306.7 kB / 1.519 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/0.819, allocations: 16 kB / 1.519 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.8207, allocations: 107.9 kB / 1.519 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.8209, allocations: 56.89 kB / 1.519 GB, free: 10.82 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007174/0.8281, allocations: 1.677 MB / 1.52 GB, free: 9.137 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007582/0.8356, allocations: 2.159 MB / 1.522 GB, free: 6.961 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002085/0.8377, allocations: 0.5464 MB / 1.523 GB, free: 6.418 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001553/0.8393, allocations: 0.8255 MB / 1.524 GB, free: 5.59 MB / 1.217 GB Notification: Performance of Backend: time 6.21e-07/0.8393, allocations: 0 / 1.524 GB, free: 5.59 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01422/0.8535, allocations: 2.929 MB / 1.527 GB, free: 2.91 MB / 1.217 GB Notification: Performance of SimCode: time 0.007734/0.8612, allocations: 3.559 MB / 1.53 GB, free: 15.32 MB / 1.232 GB Notification: Performance of Templates: time 0.08269/0.9439, allocations: 48.24 MB / 1.577 GB, free: 15.56 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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: 12.29676913900039]