Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001066/0.001066, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009584/0.009584, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003754, allocations: 11.47 kB / 0.9028 GB, free: 36.76 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2751, allocations: 159.6 MB / 1.059 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05809/0.3332, allocations: 61.21 MB / 1.118 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.3516, allocations: 12.93 MB / 1.131 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.3537, allocations: 59.62 kB / 1.131 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.3561, allocations: 0.7848 MB / 1.132 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005726/0.3619, allocations: 1.835 MB / 1.134 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.366, allocations: 1.231 MB / 1.135 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00616/0.3722, allocations: 4.316 MB / 1.139 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.3745, allocations: 1.058 MB / 1.14 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003535/0.3781, allocations: 1.155 MB / 1.141 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.3807, allocations: 1.008 MB / 1.142 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004272/0.3811, allocations: 68 kB / 1.142 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.385, allocations: 1.509 MB / 1.144 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004956/0.3855, allocations: 378.5 kB / 1.144 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.3867, allocations: 0.8097 MB / 1.145 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.391, allocations: 2.815 MB / 1.148 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.391, allocations: 0 / 1.148 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.194e-06/0.391, allocations: 4 kB / 1.148 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.757e-05/0.3911, allocations: 0 / 1.148 GB, free: 10.04 MB / 0.9044 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.004145/0.3953, allocations: 1.871 MB / 1.15 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.3953, allocations: 16.02 kB / 1.15 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.3981, allocations: 0.5491 MB / 1.15 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.4009, allocations: 1.395 MB / 1.151 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007889/0.4017, allocations: 273.2 kB / 1.152 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.4019, allocations: 92 kB / 1.152 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.4047, allocations: 1.275 MB / 1.153 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.4047, allocations: 4 kB / 1.153 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.4049, allocations: 36 kB / 1.153 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.4049, allocations: 20 kB / 1.153 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003325/0.4082, allocations: 1.351 MB / 1.154 GB, free: 3.016 MB / 0.9044 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.007223/0.4154, allocations: 4.594 MB / 1.159 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008491/0.424, allocations: 1.975 MB / 1.161 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.4251, allocations: 475.7 kB / 1.161 GB, free: 11.69 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000883/0.426, allocations: 1.156 MB / 1.162 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.4273, allocations: 0.5417 MB / 1.163 GB, free: 9.727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.975e-06/0.4273, allocations: 0 / 1.163 GB, free: 9.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.003788/0.4311, allocations: 1.415 MB / 1.164 GB, free: 8.305 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.4312, allocations: 89.66 kB / 1.164 GB, free: 8.199 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.4343, allocations: 1.627 MB / 1.166 GB, free: 6.562 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.4344, allocations: 45.69 kB / 1.166 GB, free: 6.512 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006217/0.435, allocations: 0.6511 MB / 1.167 GB, free: 5.852 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.4353, allocations: 209 kB / 1.167 GB, free: 5.645 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.4354, allocations: 61.67 kB / 1.167 GB, free: 5.578 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4356, allocations: 337.9 kB / 1.167 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.4369, allocations: 0.5016 MB / 1.168 GB, free: 4.742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.4384, allocations: 0.6774 MB / 1.168 GB, free: 4.008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/0.4409, allocations: 1.009 MB / 1.169 GB, free: 2.965 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4409, allocations: 0 / 1.169 GB, free: 2.965 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0036/0.4445, allocations: 1.339 MB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.4446, allocations: 162.4 kB / 1.171 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4446, allocations: 4 kB / 1.171 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.4447, allocations: 4 kB / 1.171 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.4458, allocations: 231.7 kB / 1.171 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.4458, allocations: 11.98 kB / 1.171 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.4475, allocations: 254.8 kB / 1.171 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.4476, allocations: 35.92 kB / 1.171 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.4476, allocations: 5.562 kB / 1.171 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003034/0.4507, allocations: 1.175 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4507, allocations: 0 / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.954e-06/0.4507, allocations: 8 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.4518, allocations: 235.9 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4518, allocations: 8 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.4533, allocations: 211 kB / 1.173 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.4534, allocations: 35.98 kB / 1.173 GB, free: 15.23 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.0007356/0.4542, allocations: 432.8 kB / 1.173 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.4545, allocations: 158 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/0.4574, allocations: 1.272 MB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.4575, allocations: 11.98 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4575, allocations: 4 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4575, allocations: 4 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.4625, allocations: 2.743 MB / 1.177 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.4625, allocations: 8.047 kB / 1.177 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/0.4633, allocations: 139.8 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.4633, allocations: 11.94 kB / 1.178 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/0.4634, allocations: 23.98 kB / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.4634, allocations: 7.938 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4634, allocations: 4 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.466, allocations: 1.284 MB / 1.179 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008582/0.4669, allocations: 398.7 kB / 1.179 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.4672, allocations: 15.94 kB / 1.179 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.4684, allocations: 123.9 kB / 1.179 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.4686, allocations: 60.3 kB / 1.179 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.672e-05/0.4687, allocations: 27.98 kB / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002083/0.4708, allocations: 1.165 MB / 1.181 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4708, allocations: 0 / 1.181 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002058/0.4728, allocations: 0.7135 MB / 1.181 GB, free: 6.477 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001922/0.4748, allocations: 0.7687 MB / 1.182 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004487/0.4793, allocations: 1.73 MB / 1.184 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4793, allocations: 0 / 1.184 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.4805, allocations: 0.5145 MB / 1.184 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/0.4845, allocations: 0.6505 MB / 1.185 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.4896, allocations: 3.002 MB / 1.188 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009658/0.4905, allocations: 1.235 MB / 1.189 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001754/0.4923, allocations: 406.1 kB / 1.189 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.4928, allocations: 131.3 kB / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of SimCode: time 9.52e-07/0.4928, allocations: 0 / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.05184/0.5446, allocations: 28.34 MB / 1.217 GB, free: 2.152 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches