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.00532/0.00532, allocations: 99.7 kB / 15.73 MB, free: 6.492 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.001272/0.001272, allocations: 198 kB / 16.67 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 63.89 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4019, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003637/0.4056, allocations: 2.395 MB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.4077, allocations: 1.394 MB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.4078, allocations: 4 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.4084, allocations: 210.8 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.4085, allocations: 75.34 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.4089, allocations: 123.7 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.4093, allocations: 326.8 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.4094, allocations: 48.72 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.4096, allocations: 135.5 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.4099, allocations: 183.4 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.41, allocations: 36 kB / 1.213 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.4101, allocations: 67.95 kB / 1.213 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.4102, allocations: 119.6 kB / 1.213 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.4104, allocations: 171.1 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.4109, allocations: 494.3 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4109, allocations: 4 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4109, allocations: 0 / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4109, allocations: 0 / 1.213 GB, free: 3.879 MB / 0.9669 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.001198/0.4121, allocations: 0.712 MB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4122, allocations: 12.62 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008463/0.413, allocations: 136.3 kB / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.4135, allocations: 354.3 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.4136, allocations: 88.17 kB / 1.215 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.4137, allocations: 16.38 kB / 1.215 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.4144, allocations: 291.4 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4145, allocations: 0 / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.4145, allocations: 4 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.4145, allocations: 4 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.4156, allocations: 420.4 kB / 1.215 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.4173, allocations: 0.8588 MB / 1.216 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.418, allocations: 274.3 kB / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005635/0.4186, allocations: 224.7 kB / 1.217 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.4186, allocations: 4 kB / 1.217 GB, free: 360 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4187, allocations: 30.56 kB / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.4187, allocations: 0 / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.001835/0.4205, allocations: 0.6509 MB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.4206, allocations: 55.34 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.421, allocations: 429.6 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.4211, allocations: 33.64 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.4212, allocations: 180 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.4213, allocations: 63.14 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.4214, allocations: 41.69 kB / 1.218 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4215, allocations: 346.8 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.4221, allocations: 191.9 kB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.4227, allocations: 231.2 kB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.4237, allocations: 369.9 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4238, allocations: 0 / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001211/0.425, allocations: 462.7 kB / 1.22 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.425, allocations: 8 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.425, allocations: 0 / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.425, allocations: 3.938 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.4255, allocations: 59.92 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4255, allocations: 3.938 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.4259, allocations: 43.84 kB / 1.22 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.4259, allocations: 4 kB / 1.22 GB, free: 13.12 MB / 0.9825 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.0001839/0.4261, allocations: 173.8 kB / 1.22 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.4262, allocations: 35.53 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.4263, allocations: 39.59 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4263, allocations: 0 / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4263, allocations: 7.938 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4263, allocations: 8.016 kB / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000556/0.4269, allocations: 478.8 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.4269, allocations: 0 / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.4273, allocations: 67.92 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.4273, allocations: 0 / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.4274, allocations: 0 / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4274, allocations: 4 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4274, allocations: 11.92 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.4287, allocations: 0.5556 MB / 1.221 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.4288, allocations: 112.7 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.4288, allocations: 7.984 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.4292, allocations: 27.95 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.4293, allocations: 35.91 kB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.4294, allocations: 7.984 kB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000321/0.4297, allocations: 303.1 kB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4297, allocations: 0 / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003293/0.43, allocations: 67.91 kB / 1.222 GB, free: 11.12 MB / 0.9825 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.0001522/0.4302, allocations: 107.2 kB / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.4314, allocations: 427.7 kB / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4314, allocations: 0 / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000602/0.4321, allocations: 239.7 kB / 1.222 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.4325, allocations: 41.55 kB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.4338, allocations: 0.6732 MB / 1.223 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.4342, allocations: 0.7946 MB / 1.224 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002715/0.4345, allocations: 58.27 kB / 1.224 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.4347, allocations: 27.42 kB / 1.224 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.4347, allocations: 0 / 1.224 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of Templates: time 0.008386/0.4431, allocations: 4.409 MB / 1.228 GB, free: 4.352 MB / 0.9825 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/jenkins/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