Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001133, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.001122/0.001122, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8515/0.8529, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004572/0.8575, allocations: 2.385 MB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002534/0.8601, allocations: 1.399 MB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.8603, allocations: 0 / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007657/0.8612, allocations: 198.9 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.8615, allocations: 87.27 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.862, allocations: 119.7 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004993/0.8625, allocations: 322.8 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.8626, allocations: 52.7 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.863, allocations: 131.5 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.8634, allocations: 187.3 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/0.8635, allocations: 28 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.8638, allocations: 71.95 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.8639, allocations: 123.6 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.8642, allocations: 163.1 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007252/0.8649, allocations: 0.4961 MB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.865, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.086e-06/0.865, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.136e-05/0.865, allocations: 0 / 1.173 GB, free: 14.08 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001906/0.8669, allocations: 0.7043 MB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/0.867, allocations: 12.03 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.8681, allocations: 148.2 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.8687, allocations: 354.2 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.8688, allocations: 84.19 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.8689, allocations: 12.38 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008701/0.8698, allocations: 303.4 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.8698, allocations: 3.938 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.8698, allocations: 4 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8699, allocations: 4 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.8711, allocations: 416.4 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.8733, allocations: 0.8586 MB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.874, allocations: 274.4 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.8746, allocations: 212.7 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.8747, allocations: 4 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.8747, allocations: 42.5 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/0.8747, allocations: 3.938 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001942/0.8767, allocations: 0.6517 MB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.8768, allocations: 55.39 kB / 1.177 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.8773, allocations: 421.6 kB / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.8774, allocations: 33.7 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.8776, allocations: 180 kB / 1.178 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.142e-05/0.8777, allocations: 63.09 kB / 1.178 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.8778, allocations: 37.69 kB / 1.178 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.878, allocations: 354.8 kB / 1.178 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.8787, allocations: 191.9 kB / 1.178 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.8793, allocations: 231.2 kB / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.8804, allocations: 371 kB / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8804, allocations: 0 / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001279/0.8817, allocations: 460.9 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.8818, allocations: 4 kB / 1.179 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.8818, allocations: 4 kB / 1.179 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.8818, allocations: 0 / 1.179 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.8823, allocations: 71.86 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.8824, allocations: 3.938 kB / 1.179 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.8828, allocations: 39.8 kB / 1.179 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.8828, allocations: 11.98 kB / 1.179 GB, free: 7.293 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002507/0.8831, allocations: 157.8 kB / 1.179 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.8832, allocations: 43.53 kB / 1.179 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.175e-05/0.8832, allocations: 39.59 kB / 1.18 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8833, allocations: 0 / 1.18 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.8833, allocations: 0 / 1.18 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.8834, allocations: 128.5 kB / 1.18 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.8835, allocations: 3.984 kB / 1.18 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.8839, allocations: 31.95 kB / 1.18 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.884, allocations: 27.89 kB / 1.18 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001573/0.8856, allocations: 0.534 MB / 1.18 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001381/0.887, allocations: 0.6347 MB / 1.181 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006142/0.8876, allocations: 221.7 kB / 1.181 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003454/0.8879, allocations: 319 kB / 1.181 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of Backend: time 1.533e-06/0.8879, allocations: 3.938 kB / 1.181 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.8891, allocations: 314.8 kB / 1.182 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001189/0.8903, allocations: 1.02 MB / 1.183 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of Templates: time 0.01148/0.9018, allocations: 6.044 MB / 1.189 GB, free: 13.75 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches