Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.02/2.02, allocations: 387.2 MB / 394.5 MB, free: 4.535 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 181.1 kB / 487 MB, free: 11.09 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.4 MB / 0.7819 GB, free: 3.98 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 111.3 kB / 0.9213 GB, free: 5.082 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 6.513e-06/6.543e-06, allocations: 0 / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2484, allocations: 142.3 MB / 1.205 GB, free: 14.8 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.692/0.9404, allocations: 152.9 MB / 1.355 GB, free: 15.31 MB / 0.8309 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.9407, allocations: 83.94 kB / 1.355 GB, free: 15.23 MB / 0.8309 GB Notification: Performance of FrontEnd: time 0.02077/0.9615, allocations: 7.679 MB / 1.362 GB, free: 7.539 MB / 0.8309 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.9616, allocations: 8 kB / 1.362 GB, free: 7.531 MB / 0.8309 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.0009451/0.9625, allocations: 0.6031 MB / 1.363 GB, free: 6.883 MB / 0.8309 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.9626, allocations: 15.97 kB / 1.363 GB, free: 6.867 MB / 0.8309 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/0.9634, allocations: 167.4 kB / 1.363 GB, free: 6.703 MB / 0.8309 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.9639, allocations: 343.7 kB / 1.363 GB, free: 6.328 MB / 0.8309 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.964, allocations: 79.61 kB / 1.363 GB, free: 6.234 MB / 0.8309 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.964, allocations: 8 kB / 1.363 GB, free: 6.227 MB / 0.8309 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000551/0.9646, allocations: 316.3 kB / 1.364 GB, free: 5.918 MB / 0.8309 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.965, allocations: 231.2 kB / 1.364 GB, free: 5.688 MB / 0.8309 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.965, allocations: 4 kB / 1.364 GB, free: 5.684 MB / 0.8309 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.9651, allocations: 4 kB / 1.364 GB, free: 5.68 MB / 0.8309 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.9651, allocations: 4 kB / 1.364 GB, free: 5.676 MB / 0.8309 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.9666, allocations: 0.8371 MB / 1.365 GB, free: 4.801 MB / 0.8309 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.9669, allocations: 214.8 kB / 1.365 GB, free: 4.582 MB / 0.8309 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.9672, allocations: 168.7 kB / 1.365 GB, free: 4.414 MB / 0.8309 GB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.9672, allocations: 4 kB / 1.365 GB, free: 4.41 MB / 0.8309 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.9673, allocations: 30.56 kB / 1.365 GB, free: 4.371 MB / 0.8309 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.9673, allocations: 4 kB / 1.365 GB, free: 4.367 MB / 0.8309 GB Notification: Performance of matching and sorting (n=18): time 0.0006687/0.9679, allocations: 361 kB / 1.365 GB, free: 4.008 MB / 0.8309 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.349e-05/0.968, allocations: 55.41 kB / 1.365 GB, free: 3.941 MB / 0.8309 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.9684, allocations: 346 kB / 1.366 GB, free: 3.602 MB / 0.8309 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.9685, allocations: 29.7 kB / 1.366 GB, free: 3.566 MB / 0.8309 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.9685, allocations: 128.5 kB / 1.366 GB, free: 3.438 MB / 0.8309 GB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.9686, allocations: 59.11 kB / 1.366 GB, free: 3.379 MB / 0.8309 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.9686, allocations: 0 / 1.366 GB, free: 3.379 MB / 0.8309 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9688, allocations: 342.8 kB / 1.366 GB, free: 3.035 MB / 0.8309 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.969, allocations: 148 kB / 1.366 GB, free: 2.891 MB / 0.8309 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.9693, allocations: 179.3 kB / 1.367 GB, free: 2.703 MB / 0.8309 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.9695, allocations: 131.1 kB / 1.367 GB, free: 2.578 MB / 0.8309 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9695, allocations: 4 kB / 1.367 GB, free: 2.574 MB / 0.8309 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006016/0.9701, allocations: 357 kB / 1.367 GB, free: 2.219 MB / 0.8309 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.9701, allocations: 4 kB / 1.367 GB, free: 2.215 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.9701, allocations: 0 / 1.367 GB, free: 2.215 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.9702, allocations: 8 kB / 1.367 GB, free: 2.207 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.9707, allocations: 71.92 kB / 1.367 GB, free: 2.137 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.9707, allocations: 7.906 kB / 1.367 GB, free: 2.129 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.9711, allocations: 51.89 kB / 1.367 GB, free: 2.078 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.9711, allocations: 4 kB / 1.367 GB, free: 2.074 MB / 0.8309 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 (equFit.uMod) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.9713, allocations: 110 kB / 1.367 GB, free: 1.961 MB / 0.8309 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.9713, allocations: 31.62 kB / 1.367 GB, free: 1.93 MB / 0.8309 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-05/0.9714, allocations: 39.17 kB / 1.367 GB, free: 1.883 MB / 0.8309 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.9714, allocations: 11.91 kB / 1.367 GB, free: 1.871 MB / 0.8309 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9714, allocations: 0 / 1.367 GB, free: 1.871 MB / 0.8309 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9715, allocations: 48 / 1.367 GB, free: 1.871 MB / 0.8309 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.972, allocations: 457.9 kB / 1.368 GB, free: 1.387 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.972, allocations: 0 / 1.368 GB, free: 1.387 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.9725, allocations: 75.94 kB / 1.368 GB, free: 1.312 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.9725, allocations: 0 / 1.368 GB, free: 1.312 MB / 0.8309 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.9725, allocations: 3.984 kB / 1.368 GB, free: 1.309 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.9725, allocations: 0 / 1.368 GB, free: 1.309 MB / 0.8309 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.9725, allocations: 0 / 1.368 GB, free: 1.309 MB / 0.8309 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006799/0.9732, allocations: 466.8 kB / 1.368 GB, free: 0.8359 MB / 0.8309 GB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.9733, allocations: 112.6 kB / 1.369 GB, free: 0.707 MB / 0.8309 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.9734, allocations: 0 / 1.369 GB, free: 0.707 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.9738, allocations: 43.95 kB / 1.369 GB, free: 0.6641 MB / 0.8309 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.9739, allocations: 31.95 kB / 1.369 GB, free: 0.6328 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.974, allocations: 7.984 kB / 1.369 GB, free: 0.625 MB / 0.8309 GB Notification: Performance of sort global known variables: time 0.0002905/0.9743, allocations: 276.6 kB / 1.369 GB, free: 368 kB / 0.8309 GB Notification: Performance of remove unused functions: time 0.0003387/0.9746, allocations: 67.83 kB / 1.369 GB, free: 300 kB / 0.8309 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 (equFit.uMod) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003299/0.975, allocations: 218.6 kB / 1.369 GB, free: 76 kB / 0.8309 GB Notification: Performance of simCode: created initialization part: time 0.000658/0.9756, allocations: 327.3 kB / 1.369 GB, free: 15.75 MB / 0.8466 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9756, allocations: 0 / 1.369 GB, free: 15.75 MB / 0.8466 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.9759, allocations: 175.9 kB / 1.37 GB, free: 15.58 MB / 0.8466 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.9763, allocations: 45.11 kB / 1.37 GB, free: 15.54 MB / 0.8466 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.9773, allocations: 488.5 kB / 1.37 GB, free: 15.04 MB / 0.8466 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005934/0.9779, allocations: 0.8411 MB / 1.371 GB, free: 14.17 MB / 0.8466 GB Notification: Performance of SimCode: time 2.5e-07/0.9779, allocations: 0 / 1.371 GB, free: 14.17 MB / 0.8466 GB Notification: Performance of Templates: time 0.009609/0.9875, allocations: 5.23 MB / 1.376 GB, free: 8.992 MB / 0.8466 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches