Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 112.3 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 189.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8478/0.8492, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06558/0.9149, allocations: 62.75 MB / 1.15 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.9364, allocations: 13.06 MB / 1.163 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004587/0.941, allocations: 63.03 kB / 1.163 GB, free: 15.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004254/0.9454, allocations: 0.9561 MB / 1.164 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007764/0.9531, allocations: 2.086 MB / 1.166 GB, free: 13.26 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.9577, allocations: 1.398 MB / 1.167 GB, free: 12.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006202/0.9639, allocations: 3.494 MB / 1.17 GB, free: 10.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.9662, allocations: 1.275 MB / 1.172 GB, free: 10.2 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.97, allocations: 1.386 MB / 1.173 GB, free: 9.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.9717, allocations: 1.073 MB / 1.174 GB, free: 9.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.972, allocations: 155.5 kB / 1.174 GB, free: 9.023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.9763, allocations: 1.614 MB / 1.176 GB, free: 8.398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000497/0.9768, allocations: 467.3 kB / 1.176 GB, free: 8.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.9779, allocations: 0.8892 MB / 1.177 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005257/0.9831, allocations: 2.971 MB / 1.18 GB, free: 5.422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.9831, allocations: 1.125 kB / 1.18 GB, free: 5.422 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9831, allocations: 4 kB / 1.18 GB, free: 5.418 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.361e-05/0.9832, allocations: 0 / 1.18 GB, free: 5.418 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.004353/0.9875, allocations: 2.166 MB / 1.182 GB, free: 3.797 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.9876, allocations: 9.25 kB / 1.182 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/0.9904, allocations: 493 kB / 1.183 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.9936, allocations: 1.422 MB / 1.184 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.9938, allocations: 151.2 kB / 1.184 GB, free: 2.387 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.994, allocations: 89.91 kB / 1.184 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.997, allocations: 1.238 MB / 1.185 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.9971, allocations: 1.344 kB / 1.185 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.9972, allocations: 32.19 kB / 1.185 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.9972, allocations: 21.22 kB / 1.186 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003368/1.001, allocations: 1.275 MB / 1.187 GB, free: 0.9375 MB / 0.92 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.00826/1.009, allocations: 4.539 MB / 1.191 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008304/1.017, allocations: 1.721 MB / 1.193 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/1.018, allocations: 450 kB / 1.193 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.019, allocations: 1.158 MB / 1.194 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/1.021, allocations: 0.5203 MB / 1.195 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=60): time 3.948e-06/1.021, allocations: 0 / 1.195 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60): time 0.004028/1.025, allocations: 1.363 MB / 1.196 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/1.025, allocations: 83.14 kB / 1.196 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/1.028, allocations: 1.632 MB / 1.198 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/1.028, allocations: 43.58 kB / 1.198 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007319/1.029, allocations: 0.6548 MB / 1.199 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/1.029, allocations: 210.3 kB / 1.199 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/1.029, allocations: 166.2 kB / 1.199 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.03, allocations: 335.5 kB / 1.199 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/1.031, allocations: 489.8 kB / 1.2 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.033, allocations: 0.6414 MB / 1.2 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/1.035, allocations: 0.9491 MB / 1.201 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.035, allocations: 1.406 kB / 1.201 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003879/1.039, allocations: 1.262 MB / 1.203 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.039, allocations: 8.031 kB / 1.203 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.039, allocations: 2.281 kB / 1.203 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/1.039, allocations: 5.438 kB / 1.203 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.04, allocations: 224.2 kB / 1.203 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/1.04, allocations: 5.844 kB / 1.203 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/1.042, allocations: 192.9 kB / 1.203 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/1.042, allocations: 31.23 kB / 1.203 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002087/1.044, allocations: 0.7659 MB / 1.204 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001607/1.046, allocations: 0.6327 MB / 1.204 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002487/1.049, allocations: 0.9423 MB / 1.205 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/1.049, allocations: 5.375 kB / 1.205 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003794/1.052, allocations: 1.252 MB / 1.207 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.052, allocations: 10.36 kB / 1.207 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.052, allocations: 6.312 kB / 1.207 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/1.052, allocations: 5.938 kB / 1.207 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.053, allocations: 211.4 kB / 1.207 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/1.054, allocations: 8.188 kB / 1.207 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/1.055, allocations: 173.6 kB / 1.207 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.056, allocations: 32.42 kB / 1.207 GB, free: 3.078 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0003726/1.056, allocations: 232.6 kB / 1.207 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006219/1.057, allocations: 154 kB / 1.207 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/1.06, allocations: 1.236 MB / 1.209 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.06, allocations: 7.969 kB / 1.209 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.06, allocations: 0 / 1.209 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.061, allocations: 379.2 kB / 1.209 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008282/1.062, allocations: 18.72 kB / 1.209 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.064, allocations: 94.28 kB / 1.209 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/1.064, allocations: 50.06 kB / 1.209 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003/1.067, allocations: 1.104 MB / 1.21 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00284/1.07, allocations: 1.258 MB / 1.211 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001073/1.071, allocations: 476.1 kB / 1.212 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002475/1.073, allocations: 1.15 MB / 1.213 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of Backend: time 7.91e-07/1.073, allocations: 0 / 1.213 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008674/1.082, allocations: 2.1 MB / 1.215 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of SimCode: time 0.007099/1.089, allocations: 3.103 MB / 1.218 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of Templates: time 0.06405/1.153, allocations: 36.8 MB / 1.254 GB, free: 4.199 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches