Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005974/0.005974, allocations: 103.6 kB / 15.74 MB, free: 6.059 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.001139/0.001139, allocations: 191 kB / 16.67 MB, free: 5.969 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.709/2.709, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.03 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8147/0.8161, allocations: 159.1 MB / 1.221 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00415/0.8202, allocations: 2.391 MB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.8224, allocations: 1.402 MB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.8225, allocations: 4 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.8232, allocations: 206.8 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.8233, allocations: 79.34 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.8237, allocations: 115.7 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.8241, allocations: 334.8 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.8242, allocations: 28.73 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.8244, allocations: 131.5 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.8247, allocations: 179.4 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.8247, allocations: 36 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.8249, allocations: 75.94 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.825, allocations: 123.6 kB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.8252, allocations: 171.1 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005506/0.8257, allocations: 0.4909 MB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8257, allocations: 0 / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8257, allocations: 0 / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.8258, allocations: 0 / 1.226 GB, free: 12.31 MB / 0.9512 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.001244/0.827, allocations: 0.712 MB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.827, allocations: 12.62 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008807/0.8279, allocations: 144.5 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.8284, allocations: 358.6 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.8285, allocations: 84.17 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.8285, allocations: 16.38 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.8292, allocations: 291.4 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.8293, allocations: 7.938 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.8293, allocations: 4 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8293, allocations: 4 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.8304, allocations: 424.3 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.832, allocations: 0.8626 MB / 1.229 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.8327, allocations: 262.3 kB / 1.229 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/0.8332, allocations: 204.7 kB / 1.229 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.8332, allocations: 0 / 1.229 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.8333, allocations: 38.56 kB / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.8333, allocations: 0 / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.001795/0.8351, allocations: 0.6594 MB / 1.23 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.8351, allocations: 55.34 kB / 1.23 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.8356, allocations: 421.7 kB / 1.231 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.8356, allocations: 25.7 kB / 1.231 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.8357, allocations: 184 kB / 1.231 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.8358, allocations: 67.47 kB / 1.231 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.8359, allocations: 41.69 kB / 1.231 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.8361, allocations: 350.8 kB / 1.231 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.8366, allocations: 187.9 kB / 1.231 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.8371, allocations: 227.3 kB / 1.232 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/0.8381, allocations: 374.4 kB / 1.232 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8381, allocations: 0 / 1.232 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001181/0.8393, allocations: 465.1 kB / 1.232 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.8393, allocations: 8 kB / 1.232 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.8393, allocations: 0 / 1.232 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.8393, allocations: 4 kB / 1.232 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.8398, allocations: 59.92 kB / 1.232 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.8398, allocations: 3.938 kB / 1.233 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.8401, allocations: 39.91 kB / 1.233 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.8402, allocations: 7.984 kB / 1.233 GB, free: 5.555 MB / 0.9512 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.0001996/0.8404, allocations: 178.2 kB / 1.233 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.8405, allocations: 35.77 kB / 1.233 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.809e-05/0.8405, allocations: 47.53 kB / 1.233 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.8405, allocations: 0 / 1.233 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8405, allocations: 3.938 kB / 1.233 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8405, allocations: 0 / 1.233 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.8411, allocations: 474.9 kB / 1.233 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8411, allocations: 0 / 1.233 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.8415, allocations: 63.92 kB / 1.233 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8415, allocations: 0 / 1.233 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.8416, allocations: 11.94 kB / 1.233 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8416, allocations: 0 / 1.233 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8416, allocations: 7.875 kB / 1.233 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.8428, allocations: 0.5556 MB / 1.234 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.8429, allocations: 116.8 kB / 1.234 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.8429, allocations: 7.984 kB / 1.234 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.8433, allocations: 31.95 kB / 1.234 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.8434, allocations: 31.91 kB / 1.234 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.8434, allocations: 4 kB / 1.234 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003322/0.8438, allocations: 307.1 kB / 1.234 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.8438, allocations: 0 / 1.234 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003274/0.8441, allocations: 67.95 kB / 1.234 GB, free: 3.547 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.0001606/0.8442, allocations: 103.2 kB / 1.235 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.8454, allocations: 426 kB / 1.235 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8454, allocations: 3.938 kB / 1.235 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.846, allocations: 223.8 kB / 1.235 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.8464, allocations: 45.53 kB / 1.235 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.8478, allocations: 0.6805 MB / 1.236 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.8481, allocations: 0.7985 MB / 1.237 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002433/0.8484, allocations: 66.3 kB / 1.237 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.8485, allocations: 27.42 kB / 1.237 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.8485, allocations: 0 / 1.237 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of Templates: time 0.008228/0.8568, allocations: 4.295 MB / 1.241 GB, free: 12.89 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches