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.001544/0.001544, allocations: 110.9 kB / 16.41 MB, free: 6.402 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.001726/0.001726, allocations: 184 kB / 17.35 MB, free: 5.723 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.7614, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.06017/0.8217, allocations: 62.76 MB / 1.27 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01833/0.84, allocations: 13.06 MB / 1.282 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.8423, allocations: 67.62 kB / 1.283 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.8453, allocations: 0.9316 MB / 1.283 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006433/0.8517, allocations: 1.994 MB / 1.285 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.8556, allocations: 1.398 MB / 1.287 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004907/0.8605, allocations: 3.474 MB / 1.29 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.8626, allocations: 1.28 MB / 1.291 GB, free: 8.359 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.866, allocations: 1.393 MB / 1.293 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.8678, allocations: 1.066 MB / 1.294 GB, free: 5.895 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004354/0.8682, allocations: 156 kB / 1.294 GB, free: 5.742 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.8717, allocations: 1.606 MB / 1.296 GB, free: 4.133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006738/0.8724, allocations: 474.4 kB / 1.296 GB, free: 3.668 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.8738, allocations: 0.89 MB / 1.297 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00505/0.8789, allocations: 2.962 MB / 1.3 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8789, allocations: 0 / 1.3 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8789, allocations: 0 / 1.3 GB, free: 15.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.184e-05/0.879, allocations: 0 / 1.3 GB, free: 15.8 MB / 1.029 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.004808/0.8838, allocations: 2.171 MB / 1.302 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.8838, allocations: 8.031 kB / 1.302 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/0.8865, allocations: 498.2 kB / 1.302 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/0.8897, allocations: 1.419 MB / 1.304 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.89, allocations: 149.4 kB / 1.304 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.8903, allocations: 91.94 kB / 1.304 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.8933, allocations: 1.24 MB / 1.305 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.8934, allocations: 0 / 1.305 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.8935, allocations: 36 kB / 1.305 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.8935, allocations: 20 kB / 1.305 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/0.8968, allocations: 1.272 MB / 1.306 GB, free: 8.762 MB / 1.029 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.007847/0.9047, allocations: 4.539 MB / 1.311 GB, free: 3.984 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007989/0.9127, allocations: 1.72 MB / 1.313 GB, free: 2.219 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.9139, allocations: 454.3 kB / 1.313 GB, free: 1.773 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00095/0.9149, allocations: 1.152 MB / 1.314 GB, free: 368 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001454/0.9164, allocations: 0.53 MB / 1.315 GB, free: 15.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 4.92e-06/0.9164, allocations: 0 / 1.315 GB, free: 15.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.00379/0.9202, allocations: 1.368 MB / 1.316 GB, free: 14.45 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.9203, allocations: 81.67 kB / 1.316 GB, free: 14.35 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/0.9232, allocations: 1.627 MB / 1.318 GB, free: 12.71 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.9233, allocations: 41.7 kB / 1.318 GB, free: 12.66 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000634/0.9239, allocations: 0.6511 MB / 1.318 GB, free: 12 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.9242, allocations: 209 kB / 1.319 GB, free: 11.8 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/0.9245, allocations: 162.5 kB / 1.319 GB, free: 11.63 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.9247, allocations: 341.9 kB / 1.319 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.926, allocations: 484.5 kB / 1.319 GB, free: 10.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.9276, allocations: 0.6423 MB / 1.32 GB, free: 10.12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/0.93, allocations: 0.95 MB / 1.321 GB, free: 9.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.93, allocations: 0 / 1.321 GB, free: 9.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003446/0.9335, allocations: 1.261 MB / 1.322 GB, free: 7.871 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.9335, allocations: 8 kB / 1.322 GB, free: 7.863 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.9335, allocations: 0 / 1.322 GB, free: 7.863 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.9336, allocations: 11.94 kB / 1.322 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.9346, allocations: 219.7 kB / 1.322 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.9347, allocations: 4 kB / 1.322 GB, free: 7.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.9362, allocations: 195 kB / 1.323 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.9363, allocations: 39.97 kB / 1.323 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001991/0.9383, allocations: 0.7556 MB / 1.323 GB, free: 6.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001481/0.9398, allocations: 0.6306 MB / 1.324 GB, free: 5.957 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002329/0.9422, allocations: 0.9499 MB / 1.325 GB, free: 4.977 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.9422, allocations: 3.938 kB / 1.325 GB, free: 4.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003396/0.9456, allocations: 1.253 MB / 1.326 GB, free: 3.711 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9456, allocations: 4 kB / 1.326 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9456, allocations: 4 kB / 1.326 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.9456, allocations: 4 kB / 1.326 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.9467, allocations: 227.8 kB / 1.326 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.9467, allocations: 4 kB / 1.326 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.9482, allocations: 175.3 kB / 1.327 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.9483, allocations: 31.98 kB / 1.327 GB, free: 3.27 MB / 1.045 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.0002744/0.9486, allocations: 230.1 kB / 1.327 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.949, allocations: 154.1 kB / 1.327 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.9519, allocations: 1.24 MB / 1.328 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.9519, allocations: 11.98 kB / 1.328 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.9519, allocations: 0 / 1.328 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006594/0.9526, allocations: 370.8 kB / 1.329 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.9529, allocations: 12 kB / 1.329 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.9539, allocations: 91.83 kB / 1.329 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.954, allocations: 44.5 kB / 1.329 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0028/0.9568, allocations: 1.111 MB / 1.33 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002621/0.9595, allocations: 1.258 MB / 1.331 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001043/0.9605, allocations: 476.2 kB / 1.331 GB, free: 14.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001938/0.9625, allocations: 1.146 MB / 1.333 GB, free: 13.1 MB / 1.061 GB Notification: Performance of Backend: time 4.51e-07/0.9625, allocations: 3.938 kB / 1.333 GB, free: 13.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00605/0.9686, allocations: 2.099 MB / 1.335 GB, free: 11.18 MB / 1.061 GB Notification: Performance of SimCode: time 0.005475/0.9741, allocations: 3.1 MB / 1.338 GB, free: 8.031 MB / 1.061 GB Notification: Performance of Templates: time 0.05815/1.032, allocations: 37.61 MB / 1.374 GB, free: 2.766 MB / 1.092 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