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.0008865/0.0008864, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005282/0.0005284, allocations: 8.75 kB / 0.9034 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3575, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06516/0.4227, allocations: 61.21 MB / 1.119 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02037/0.4432, allocations: 12.93 MB / 1.132 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.4464, allocations: 59.62 kB / 1.132 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.4497, allocations: 0.7848 MB / 1.133 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006766/0.4565, allocations: 1.834 MB / 1.134 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.4608, allocations: 1.228 MB / 1.136 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006058/0.4669, allocations: 4.311 MB / 1.14 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.4693, allocations: 1.062 MB / 1.141 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.4723, allocations: 1.151 MB / 1.142 GB, free: 156 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.4745, allocations: 1.015 MB / 1.143 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004799/0.475, allocations: 68 kB / 1.143 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003809/0.4788, allocations: 1.508 MB / 1.144 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006898/0.4795, allocations: 374.4 kB / 1.145 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.4813, allocations: 0.8097 MB / 1.146 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.4852, allocations: 2.202 MB / 1.148 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4853, allocations: 3.984 kB / 1.148 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4853, allocations: 0 / 1.148 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.43e-05/0.4854, allocations: 0 / 1.148 GB, free: 10.16 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.00463/0.49, allocations: 1.871 MB / 1.15 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4901, allocations: 15.97 kB / 1.15 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.4929, allocations: 0.553 MB / 1.15 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.4963, allocations: 1.39 MB / 1.151 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008598/0.4972, allocations: 281.2 kB / 1.152 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.4975, allocations: 88 kB / 1.152 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/0.5007, allocations: 1.275 MB / 1.153 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.5008, allocations: 0 / 1.153 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.5009, allocations: 35.98 kB / 1.153 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.5009, allocations: 20 kB / 1.153 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.5044, allocations: 1.351 MB / 1.154 GB, free: 3.129 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.00816/0.5126, allocations: 4.605 MB / 1.159 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008337/0.521, allocations: 1.964 MB / 1.161 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.5221, allocations: 471.5 kB / 1.161 GB, free: 11.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009006/0.5231, allocations: 1.16 MB / 1.162 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/0.5244, allocations: 0.5417 MB / 1.163 GB, free: 9.836 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 3.487e-06/0.5245, allocations: 4 kB / 1.163 GB, free: 9.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.003705/0.5282, allocations: 1.415 MB / 1.164 GB, free: 8.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.5283, allocations: 81.67 kB / 1.164 GB, free: 8.312 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/0.5313, allocations: 1.634 MB / 1.166 GB, free: 6.668 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.5314, allocations: 37.7 kB / 1.166 GB, free: 6.625 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/0.532, allocations: 0.6589 MB / 1.167 GB, free: 5.957 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.5323, allocations: 213 kB / 1.167 GB, free: 5.746 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.5324, allocations: 65.62 kB / 1.167 GB, free: 5.676 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5326, allocations: 337.9 kB / 1.167 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.534, allocations: 0.5055 MB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.5355, allocations: 0.671 MB / 1.168 GB, free: 4.109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.5379, allocations: 1.005 MB / 1.169 GB, free: 3.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.5379, allocations: 4 kB / 1.169 GB, free: 3.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003488/0.5414, allocations: 1.342 MB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.5415, allocations: 154.4 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5415, allocations: 8 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.5416, allocations: 4 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.5426, allocations: 231.7 kB / 1.171 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.5427, allocations: 4 kB / 1.171 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.5444, allocations: 254.8 kB / 1.171 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.5445, allocations: 39.97 kB / 1.171 GB, free: 1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.5445, allocations: 4 kB / 1.171 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002979/0.5475, allocations: 1.171 MB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5475, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.5475, allocations: 4 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.5486, allocations: 227.9 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.5486, allocations: 7.938 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.5501, allocations: 219.1 kB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/0.5502, allocations: 31.98 kB / 1.173 GB, free: 15.34 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.0007794/0.551, allocations: 432.8 kB / 1.173 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/0.5514, allocations: 158 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/0.5543, allocations: 1.282 MB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.5544, allocations: 8 kB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.5544, allocations: 0 / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.5544, allocations: 3.984 kB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/0.5595, allocations: 2.75 MB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.5596, allocations: 4.312 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.5603, allocations: 143.8 kB / 1.178 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.5604, allocations: 7.938 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.5604, allocations: 19.98 kB / 1.178 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.5604, allocations: 15.94 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5605, allocations: 3.984 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.5632, allocations: 1.28 MB / 1.179 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008477/0.564, allocations: 402.7 kB / 1.179 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/0.5644, allocations: 23.92 kB / 1.179 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.5657, allocations: 123.8 kB / 1.179 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.5659, allocations: 52.38 kB / 1.18 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-05/0.566, allocations: 39.91 kB / 1.18 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002276/0.5682, allocations: 1.157 MB / 1.181 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5683, allocations: 4 kB / 1.181 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002277/0.5705, allocations: 0.7174 MB / 1.181 GB, free: 6.57 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.002017/0.5726, allocations: 0.7565 MB / 1.182 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004518/0.5771, allocations: 1.73 MB / 1.184 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.5771, allocations: 7.938 kB / 1.184 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.5783, allocations: 0.5067 MB / 1.184 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/0.5827, allocations: 0.6438 MB / 1.185 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005633/0.5884, allocations: 3.064 MB / 1.188 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.5895, allocations: 1.235 MB / 1.189 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.5901, allocations: 139.4 kB / 1.189 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of SimCode: time 1.162e-06/0.5901, allocations: 0 / 1.189 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of Templates: time 0.04446/0.6346, allocations: 25.93 MB / 1.215 GB, free: 4.867 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/jenkins1/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