Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.214/1.214, allocations: 249.4 MB / 256.7 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009138/0.0009138, allocations: 181.3 kB / 316 MB, free: 3.496 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.045/1.045, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008075/0.0008074, allocations: 89.92 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.093e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1426, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.5812, allocations: 136.3 MB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.5814, allocations: 88.16 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01876/0.6002, allocations: 7.637 MB / 1.025 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.6002, allocations: 8 kB / 1.025 GB, free: 12.06 MB / 0.6511 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.0008122/0.601, allocations: 0.6037 MB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6011, allocations: 8.031 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007157/0.6018, allocations: 167 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.6022, allocations: 346.7 kB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/0.6024, allocations: 79.62 kB / 1.026 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.6024, allocations: 4 kB / 1.026 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005062/0.6029, allocations: 318.4 kB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.6033, allocations: 232 kB / 1.027 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.6033, allocations: 0 / 1.027 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.6033, allocations: 3.906 kB / 1.027 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6033, allocations: 4 kB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.6047, allocations: 0.8478 MB / 1.028 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.605, allocations: 212.7 kB / 1.028 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.6053, allocations: 167.1 kB / 1.028 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.6053, allocations: 3.984 kB / 1.028 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.6053, allocations: 34.5 kB / 1.028 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.6053, allocations: 0 / 1.028 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0005923/0.6059, allocations: 361.9 kB / 1.029 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.606, allocations: 55.41 kB / 1.029 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.6063, allocations: 352.8 kB / 1.029 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.6063, allocations: 25.7 kB / 1.029 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.6064, allocations: 122.8 kB / 1.029 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.6065, allocations: 61.28 kB / 1.029 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.6065, allocations: 0 / 1.029 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6066, allocations: 342.4 kB / 1.029 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.6068, allocations: 143.9 kB / 1.03 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.607, allocations: 178.1 kB / 1.03 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.6072, allocations: 144.6 kB / 1.03 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6073, allocations: 0 / 1.03 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005524/0.6078, allocations: 356.3 kB / 1.03 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.6078, allocations: 8 kB / 1.03 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.6078, allocations: 0 / 1.03 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.6079, allocations: 0 / 1.03 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.6083, allocations: 75.44 kB / 1.03 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.6084, allocations: 11.92 kB / 1.03 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.6087, allocations: 55.8 kB / 1.03 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.6087, allocations: 4 kB / 1.03 GB, free: 7.691 MB / 0.6511 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 9.033e-05/0.6088, allocations: 101 kB / 1.03 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.6089, allocations: 35.53 kB / 1.031 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.609, allocations: 41.05 kB / 1.031 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.609, allocations: 0 / 1.031 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.609, allocations: 4 kB / 1.031 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.609, allocations: 4 kB / 1.031 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.6095, allocations: 440.4 kB / 1.031 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6095, allocations: 0 / 1.031 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.6099, allocations: 79.81 kB / 1.031 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.6099, allocations: 4.031 kB / 1.031 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.61, allocations: 7.984 kB / 1.031 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.61, allocations: 0 / 1.031 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.61, allocations: 0 / 1.031 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005914/0.6106, allocations: 462 kB / 1.032 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/0.6107, allocations: 112.2 kB / 1.032 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.6107, allocations: 0 / 1.032 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.6111, allocations: 55.36 kB / 1.032 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.6112, allocations: 23.39 kB / 1.032 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.6113, allocations: 7.984 kB / 1.032 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002391/0.6115, allocations: 278.3 kB / 1.032 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003304/0.6118, allocations: 67.12 kB / 1.032 GB, free: 6.234 MB / 0.6511 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.0002735/0.6121, allocations: 227.6 kB / 1.032 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005158/0.6127, allocations: 335.2 kB / 1.033 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.6127, allocations: 0 / 1.033 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.6129, allocations: 181.3 kB / 1.033 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.6132, allocations: 42.95 kB / 1.033 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.6142, allocations: 480.8 kB / 1.033 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.6147, allocations: 0.8371 MB / 1.034 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.6147, allocations: 4 kB / 1.034 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of Templates: time 0.008605/0.6233, allocations: 5.376 MB / 1.039 GB, free: 15.09 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches