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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0007913/0.0007913, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009051/0.0009051, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.722/2.722, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.000354, allocations: 12 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2573, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05635/0.3137, allocations: 57.84 MB / 1.115 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.3308, allocations: 12.2 MB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.3327, allocations: 55.62 kB / 1.126 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.3349, allocations: 0.6989 MB / 1.127 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004441/0.3394, allocations: 1.55 MB / 1.129 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.3425, allocations: 1.052 MB / 1.13 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004624/0.3471, allocations: 3.738 MB / 1.133 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.349, allocations: 0.9474 MB / 1.134 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.3513, allocations: 1.108 MB / 1.135 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.353, allocations: 0.9567 MB / 1.136 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002974/0.3533, allocations: 64 kB / 1.136 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.3561, allocations: 1.197 MB / 1.138 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004924/0.3566, allocations: 354.6 kB / 1.138 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000596/0.3572, allocations: 340.8 kB / 1.138 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.36, allocations: 2.151 MB / 1.14 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.36, allocations: 0 / 1.14 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.36, allocations: 3.938 kB / 1.14 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.51e-05/0.3601, allocations: 4 kB / 1.14 GB, free: 0.875 MB / 0.8887 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.003831/0.3639, allocations: 1.883 MB / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.364, allocations: 12.03 kB / 1.142 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.3665, allocations: 0.552 MB / 1.143 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.3693, allocations: 1.337 MB / 1.144 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000736/0.3701, allocations: 277.2 kB / 1.144 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.3703, allocations: 88 kB / 1.144 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.3731, allocations: 1.267 MB / 1.146 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3731, allocations: 0 / 1.146 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.3732, allocations: 36 kB / 1.146 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.3733, allocations: 23.95 kB / 1.146 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/0.3765, allocations: 1.343 MB / 1.147 GB, free: 9.902 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.007237/0.3837, allocations: 4.594 MB / 1.151 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007469/0.3912, allocations: 1.967 MB / 1.153 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.3923, allocations: 466.3 kB / 1.154 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008572/0.3932, allocations: 1.164 MB / 1.155 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.3944, allocations: 0.534 MB / 1.155 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 3.507e-06/0.3944, allocations: 4 kB / 1.155 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.003362/0.3978, allocations: 1.414 MB / 1.157 GB, free: 15.2 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.3979, allocations: 85.67 kB / 1.157 GB, free: 15.1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.4005, allocations: 1.623 MB / 1.159 GB, free: 13.46 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.531e-05/0.4006, allocations: 37.7 kB / 1.159 GB, free: 13.42 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006004/0.4012, allocations: 0.655 MB / 1.159 GB, free: 12.76 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.4014, allocations: 209 kB / 1.159 GB, free: 12.55 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/0.4015, allocations: 12 kB / 1.159 GB, free: 12.54 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4016, allocations: 330 kB / 1.16 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.4029, allocations: 0.5016 MB / 1.16 GB, free: 11.71 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.4043, allocations: 0.6758 MB / 1.161 GB, free: 10.98 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.4056, allocations: 0.5341 MB / 1.161 GB, free: 10.45 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4056, allocations: 0 / 1.161 GB, free: 10.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003077/0.4087, allocations: 1.327 MB / 1.163 GB, free: 9.109 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.4088, allocations: 168 kB / 1.163 GB, free: 8.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4088, allocations: 0 / 1.163 GB, free: 8.914 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4089, allocations: 8 kB / 1.163 GB, free: 8.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.41, allocations: 235.7 kB / 1.163 GB, free: 8.676 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.41, allocations: 7.938 kB / 1.163 GB, free: 8.668 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4114, allocations: 250.9 kB / 1.163 GB, free: 8.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-05/0.4115, allocations: 35.98 kB / 1.163 GB, free: 8.387 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.4115, allocations: 4 kB / 1.163 GB, free: 8.383 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00279/0.4143, allocations: 1.163 MB / 1.164 GB, free: 7.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4143, allocations: 4 kB / 1.164 GB, free: 7.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.4144, allocations: 4 kB / 1.164 GB, free: 7.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.4154, allocations: 243.9 kB / 1.165 GB, free: 6.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.4154, allocations: 4 kB / 1.165 GB, free: 6.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.4166, allocations: 203.1 kB / 1.165 GB, free: 6.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.4167, allocations: 43.91 kB / 1.165 GB, free: 6.727 MB / 0.92 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 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007133/0.4175, allocations: 432.8 kB / 1.165 GB, free: 6.293 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.4177, allocations: 154 kB / 1.166 GB, free: 6.141 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.4204, allocations: 1.277 MB / 1.167 GB, free: 4.863 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.4205, allocations: 4 kB / 1.167 GB, free: 4.859 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4205, allocations: 4 kB / 1.167 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4205, allocations: 3.984 kB / 1.167 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/0.425, allocations: 2.746 MB / 1.169 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4251, allocations: 0 / 1.169 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/0.4258, allocations: 156 kB / 1.17 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.4258, allocations: 8 kB / 1.17 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.4259, allocations: 19.98 kB / 1.17 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.4259, allocations: 4 kB / 1.17 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4259, allocations: 7.984 kB / 1.17 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.4283, allocations: 1.276 MB / 1.171 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005841/0.4289, allocations: 406.7 kB / 1.171 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.4291, allocations: 12 kB / 1.171 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.4302, allocations: 131.8 kB / 1.171 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4303, allocations: 56.3 kB / 1.171 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.4304, allocations: 31.97 kB / 1.172 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001773/0.4322, allocations: 1.146 MB / 1.173 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4322, allocations: 0 / 1.173 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001755/0.434, allocations: 0.7097 MB / 1.173 GB, free: 14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.4355, allocations: 0.7568 MB / 1.174 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003964/0.4395, allocations: 1.714 MB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4395, allocations: 0 / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.4406, allocations: 0.5106 MB / 1.176 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/0.4435, allocations: 0.6295 MB / 1.177 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.4477, allocations: 2.889 MB / 1.18 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/0.4485, allocations: 1.235 MB / 1.181 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001594/0.4501, allocations: 405.1 kB / 1.181 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.4505, allocations: 123.4 kB / 1.181 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.4505, allocations: 0 / 1.181 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of Templates: time 0.0424/0.4929, allocations: 26.57 MB / 1.207 GB, free: 11.65 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