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.008888/0.008888, allocations: 100 kB / 15.73 MB, free: 6.035 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.001947/0.001947, allocations: 196.4 kB / 16.67 MB, free: 5.965 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: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.738/2.738, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3248, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004616/0.3295, allocations: 2.385 MB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.332, allocations: 1.394 MB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.3322, allocations: 4 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.333, allocations: 210.8 kB / 1.212 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.3333, allocations: 75.34 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.3338, allocations: 123.7 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006041/0.3345, allocations: 326.8 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.3346, allocations: 48.72 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.335, allocations: 135.5 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.3353, allocations: 187.4 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.3354, allocations: 32 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.3356, allocations: 67.95 kB / 1.213 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3358, allocations: 123.6 kB / 1.213 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.336, allocations: 175.1 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.3366, allocations: 490.4 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.3366, allocations: 0 / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3366, allocations: 0 / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.3366, allocations: 0 / 1.213 GB, free: 3.891 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.001422/0.338, allocations: 0.7159 MB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3381, allocations: 8.625 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008072/0.3389, allocations: 136.3 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.3394, allocations: 354.3 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.3395, allocations: 92.17 kB / 1.215 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.3395, allocations: 12.38 kB / 1.215 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/0.3403, allocations: 291.4 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3403, allocations: 0 / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.3403, allocations: 4 kB / 1.215 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3404, allocations: 4 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3414, allocations: 428.3 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.3431, allocations: 0.8549 MB / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.3437, allocations: 278.3 kB / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/0.3442, allocations: 224.6 kB / 1.217 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.3443, allocations: 4 kB / 1.217 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3443, allocations: 30.56 kB / 1.217 GB, free: 324 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.3443, allocations: 0 / 1.217 GB, free: 324 kB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.001821/0.3462, allocations: 0.6549 MB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/0.3463, allocations: 59.34 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/0.3468, allocations: 421.7 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.3468, allocations: 37.62 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.347, allocations: 184 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.3471, allocations: 55.2 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3472, allocations: 41.69 kB / 1.218 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3473, allocations: 346.8 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.3478, allocations: 191.9 kB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.3484, allocations: 231.2 kB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.3494, allocations: 371.6 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3494, allocations: 0 / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001079/0.3505, allocations: 468.9 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3505, allocations: 4 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3505, allocations: 0 / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3506, allocations: 0 / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.351, allocations: 59.92 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.351, allocations: 3.938 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.3513, allocations: 43.86 kB / 1.22 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.3514, allocations: 7.984 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.0002723/0.3516, allocations: 169.8 kB / 1.22 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.3517, allocations: 35.53 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.927e-05/0.3518, allocations: 39.59 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3518, allocations: 4 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3518, allocations: 3.938 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3518, allocations: 0 / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.3524, allocations: 486.6 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3524, allocations: 4 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.3528, allocations: 63.92 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.3528, allocations: 0 / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.3529, allocations: 3.938 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3529, allocations: 4 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3529, allocations: 3.938 kB / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.3541, allocations: 0.5552 MB / 1.221 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3542, allocations: 112.7 kB / 1.221 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.3542, allocations: 7.984 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.3546, allocations: 31.95 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3547, allocations: 31.91 kB / 1.221 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.3547, allocations: 8 kB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003133/0.355, allocations: 307.1 kB / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.355, allocations: 0 / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003169/0.3554, 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.0001376/0.3555, allocations: 103.2 kB / 1.222 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.3567, allocations: 435.7 kB / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3567, allocations: 3.938 kB / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.3572, allocations: 237.4 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.0003969/0.3576, allocations: 41.53 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.001354/0.359, allocations: 0.6655 MB / 1.223 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.3595, allocations: 0.7946 MB / 1.224 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000237/0.3597, allocations: 66.3 kB / 1.224 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3598, allocations: 23.42 kB / 1.224 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3599, allocations: 0 / 1.224 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of Templates: time 0.008516/0.3684, allocations: 4.277 MB / 1.228 GB, free: 4.484 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