Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_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_latest_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.001516/0.001516, allocations: 116.5 kB / 16.42 MB, free: 6.445 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.001649/0.001649, allocations: 187 kB / 17.34 MB, free: 5.742 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.851/0.8525, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004097/0.8566, allocations: 2.386 MB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002848/0.8595, allocations: 1.394 MB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.8598, allocations: 7.938 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00085/0.8607, allocations: 210.8 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.8611, allocations: 71.34 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.8617, allocations: 115.7 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.8624, allocations: 338.7 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.8626, allocations: 44.72 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.863, allocations: 135.5 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.8634, allocations: 179.4 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.764e-05/0.8635, allocations: 32 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.8637, allocations: 71.94 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.8638, allocations: 119.6 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.864, allocations: 175.1 kB / 1.214 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.8646, allocations: 0.4884 MB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.8646, allocations: 4 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8646, allocations: 0 / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.8646, allocations: 0 / 1.214 GB, free: 7.867 MB / 0.9356 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.001337/0.866, allocations: 0.7043 MB / 1.215 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.866, allocations: 8.031 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008914/0.8669, allocations: 148.2 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.8674, allocations: 358.1 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.8675, allocations: 84.19 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.8676, allocations: 16.36 kB / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.8683, allocations: 299.2 kB / 1.216 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8683, allocations: 0 / 1.216 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.8684, allocations: 4 kB / 1.216 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.8684, allocations: 4 kB / 1.216 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.8695, allocations: 420.3 kB / 1.216 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.8713, allocations: 0.851 MB / 1.217 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006751/0.8719, allocations: 278.3 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.8725, allocations: 210.6 kB / 1.217 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.8726, allocations: 4 kB / 1.217 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.8726, allocations: 34.56 kB / 1.217 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.8726, allocations: 3.938 kB / 1.217 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.00185/0.8745, allocations: 0.6533 MB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.8745, allocations: 59.34 kB / 1.218 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.875, allocations: 421.6 kB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.8751, allocations: 29.7 kB / 1.218 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.8752, allocations: 176.1 kB / 1.219 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.8753, allocations: 63.09 kB / 1.219 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.8754, allocations: 41.69 kB / 1.219 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.8756, allocations: 350.8 kB / 1.219 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.8761, allocations: 191.9 kB / 1.219 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.8767, allocations: 233.3 kB / 1.219 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.8778, allocations: 370.1 kB / 1.22 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.8778, allocations: 0 / 1.22 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001213/0.879, allocations: 464.9 kB / 1.22 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.879, allocations: 4 kB / 1.22 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.879, allocations: 0 / 1.22 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.8791, allocations: 0 / 1.22 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.8796, allocations: 71.86 kB / 1.22 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.8796, allocations: 0 / 1.22 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.88, allocations: 39.8 kB / 1.22 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.88, allocations: 11.98 kB / 1.22 GB, free: 1.109 MB / 0.9356 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.0002178/0.8802, allocations: 165.8 kB / 1.221 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.8803, allocations: 35.53 kB / 1.221 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.077e-05/0.8804, allocations: 43.59 kB / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.8804, allocations: 7.938 kB / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8804, allocations: 0 / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.8804, allocations: 48 / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.881, allocations: 490.7 kB / 1.221 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.881, allocations: 0 / 1.221 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.8814, allocations: 67.86 kB / 1.221 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.8815, allocations: 0 / 1.221 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.8815, allocations: 0 / 1.221 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.8815, allocations: 11.94 kB / 1.221 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8815, allocations: 0 / 1.221 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.8828, allocations: 0.5553 MB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.8829, allocations: 112.6 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.883, allocations: 7.984 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.8834, allocations: 35.89 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.8835, allocations: 23.97 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.8835, allocations: 4 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003373/0.8838, allocations: 311.1 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8838, allocations: 4 kB / 1.222 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003507/0.8842, allocations: 60 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001663/0.8844, allocations: 111.1 kB / 1.222 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.8856, allocations: 433.8 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8856, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.8862, allocations: 227.8 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.8867, allocations: 49.53 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.8882, allocations: 0.6945 MB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.8886, allocations: 0.8063 MB / 1.224 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.8888, allocations: 31.41 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.8888, allocations: 0 / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of Templates: time 0.009062/0.8979, allocations: 4.975 MB / 1.229 GB, free: 7.777 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches