Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.00176/0.00176, allocations: 95.92 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.002297/0.002297, allocations: 206.7 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.272/3.272, 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.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum1.QLoa_flow|heaPum.QLoa_flow|heaPum1.P|heaPum.P|capErr.y|heaPum1.COP|heaPum.COP|heaPum1.dp1|heaPum.dp2",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum1.QLoa_flow|heaPum.QLoa_flow|heaPum1.P|heaPum.P|capErr.y|heaPum1.COP|heaPum.COP|heaPum1.dp1|heaPum.dp2",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") [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.00212/0.00212, allocations: 68.91 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3544, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1212/0.4756, allocations: 106.3 MB / 1.431 GB, free: 6.379 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03261/0.5082, allocations: 19.44 MB / 1.45 GB, free: 2.898 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004432/0.5126, allocations: 158.8 kB / 1.45 GB, free: 2.742 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005337/0.518, allocations: 1.603 MB / 1.452 GB, free: 1.129 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.5316, allocations: 4.294 MB / 1.456 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.008529/0.5401, allocations: 2.917 MB / 1.459 GB, free: 9.926 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01259/0.5527, allocations: 8.29 MB / 1.467 GB, free: 1.617 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004303/0.557, allocations: 2.163 MB / 1.469 GB, free: 15.38 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008748/0.5658, allocations: 3.377 MB / 1.472 GB, free: 12 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005394/0.5712, allocations: 2.447 MB / 1.475 GB, free: 9.547 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007924/0.572, allocations: 324 kB / 1.475 GB, free: 9.23 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005172/0.5771, allocations: 1.731 MB / 1.477 GB, free: 7.496 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.5783, allocations: 0.9691 MB / 1.477 GB, free: 6.523 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002657/0.5809, allocations: 1.489 MB / 1.479 GB, free: 5.027 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.009175/0.5901, allocations: 5.621 MB / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5901, allocations: 0 / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5901, allocations: 0 / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.155e-05/0.5902, allocations: 3.938 kB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.008757/0.5989, allocations: 3.897 MB / 1.488 GB, free: 11.43 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.599, allocations: 8.031 kB / 1.488 GB, free: 11.42 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0065/0.6055, allocations: 1.048 MB / 1.489 GB, free: 10.37 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005913/0.6114, allocations: 2.621 MB / 1.492 GB, free: 7.672 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005564/0.612, allocations: 0.512 MB / 1.492 GB, free: 7.086 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004202/0.6124, allocations: 200 kB / 1.492 GB, free: 6.891 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007126/0.6195, allocations: 3.512 MB / 1.496 GB, free: 3.082 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.572e-05/0.6196, allocations: 7.938 kB / 1.496 GB, free: 3.074 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/0.6198, allocations: 91.92 kB / 1.496 GB, free: 2.984 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.758e-05/0.6199, allocations: 59.98 kB / 1.496 GB, free: 2.926 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007123/0.627, allocations: 2.66 MB / 1.499 GB, free: 268 kB / 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.01781/0.6449, allocations: 9.528 MB / 1.508 GB, free: 6.543 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005404/0.6503, allocations: 1.692 MB / 1.51 GB, free: 4.84 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/0.653, allocations: 0.9756 MB / 1.511 GB, free: 3.863 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.6535, allocations: 124.9 kB / 1.511 GB, free: 3.742 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003959/0.6575, allocations: 1.906 MB / 1.513 GB, free: 1.633 MB / 1.201 GB Notification: Performance of pre-optimization done (n=115): time 5.079e-06/0.6575, allocations: 0 / 1.513 GB, free: 1.633 MB / 1.201 GB Notification: Performance of matching and sorting (n=115): time 0.009321/0.6668, allocations: 2.998 MB / 1.515 GB, free: 14.63 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002818/0.6671, allocations: 487.6 kB / 1.516 GB, free: 14.05 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/0.6709, allocations: 2.38 MB / 1.518 GB, free: 11.65 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.6712, allocations: 53.7 kB / 1.518 GB, free: 11.59 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.6726, allocations: 1.346 MB / 1.52 GB, free: 10.23 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005728/0.6732, allocations: 428.4 kB / 1.52 GB, free: 9.812 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006764/0.6739, allocations: 347.3 kB / 1.52 GB, free: 9.465 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.6741, allocations: 301.1 kB / 1.521 GB, free: 9.168 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/0.677, allocations: 1.029 MB / 1.522 GB, free: 8.129 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.6808, allocations: 2.309 MB / 1.524 GB, free: 5.414 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005673/0.6865, allocations: 2.235 MB / 1.526 GB, free: 3.031 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.6865, allocations: 7.938 kB / 1.526 GB, free: 3.023 MB / 1.217 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.007206/0.6937, allocations: 2.67 MB / 1.529 GB, free: 340 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/0.6938, allocations: 47.19 kB / 1.529 GB, free: 288 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.6938, allocations: 12 kB / 1.529 GB, free: 276 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/0.6938, allocations: 20 kB / 1.529 GB, free: 256 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/0.6963, allocations: 487.2 kB / 1.529 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.37e-05/0.6963, allocations: 23.92 kB / 1.529 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.6988, allocations: 282.7 kB / 1.53 GB, free: 15.47 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.699, allocations: 71.97 kB / 1.53 GB, free: 15.4 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00379/0.7028, allocations: 1.521 MB / 1.531 GB, free: 13.87 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003774/0.7066, allocations: 2.305 MB / 1.533 GB, free: 11.16 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005603/0.7122, allocations: 2.227 MB / 1.536 GB, free: 8.785 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.506e-06/0.7122, allocations: 8 kB / 1.536 GB, free: 8.777 MB / 1.232 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.007212/0.7194, allocations: 2.669 MB / 1.538 GB, free: 6.086 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.7194, allocations: 33.7 kB / 1.538 GB, free: 6.047 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.7195, allocations: 12 kB / 1.538 GB, free: 6.035 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.7195, allocations: 16 kB / 1.538 GB, free: 6.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.7219, allocations: 483.9 kB / 1.539 GB, free: 5.547 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.023e-05/0.7219, allocations: 23.94 kB / 1.539 GB, free: 5.523 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.7246, allocations: 271.5 kB / 1.539 GB, free: 5.258 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.7248, allocations: 71.97 kB / 1.539 GB, free: 5.188 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * 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.0005684/0.7253, allocations: 291.7 kB / 1.539 GB, free: 4.895 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005577/0.7259, allocations: 266.3 kB / 1.54 GB, free: 4.633 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00682/0.7327, allocations: 2.527 MB / 1.542 GB, free: 2.098 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005603/0.7383, allocations: 2.063 MB / 1.544 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.7383, allocations: 4 kB / 1.544 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.7398, allocations: 0.4979 MB / 1.545 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/0.7402, allocations: 27.98 kB / 1.545 GB, free: 15.45 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/0.7422, allocations: 175.6 kB / 1.545 GB, free: 15.28 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/0.7425, allocations: 104.8 kB / 1.545 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007444/0.7499, allocations: 2.619 MB / 1.547 GB, free: 12.55 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009695/0.7596, allocations: 4.062 MB / 1.551 GB, free: 8.465 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002737/0.7624, allocations: 1.015 MB / 1.552 GB, free: 7.449 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002597/0.765, allocations: 1.617 MB / 1.554 GB, free: 5.824 MB / 1.248 GB Notification: Performance of Backend: time 4.91e-07/0.765, allocations: 0 / 1.554 GB, free: 5.824 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.009738/0.7747, allocations: 3.372 MB / 1.557 GB, free: 2.426 MB / 1.248 GB Notification: Performance of SimCode: time 0.01057/0.7853, allocations: 5.558 MB / 1.563 GB, free: 12.83 MB / 1.264 GB Notification: Performance of Templates: time 0.7809/1.566, allocations: 79.22 MB / 1.64 GB, free: 257.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.092113178005093]