Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.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.Movers.Validation.Pump_stratos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos") translateModel(Buildings.Fluid.Movers.Validation.Pump_stratos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos") [: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.182/1.182, allocations: 249.4 MB / 256.7 MB, free: 6.973 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.00096/0.0009601, allocations: 193.2 kB / 316 MB, free: 3.504 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.083/1.083, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0007998/0.0007997, allocations: 83.34 kB / 0.671 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.823e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.152, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.967/4.119, allocations: 2.48 GB / 3.365 GB, free: 266.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001685/4.119, allocations: 99.67 kB / 3.365 GB, free: 266.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.035/6.154, allocations: 0.8575 GB / 4.222 GB, free: 53.98 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002303/6.154, allocations: 66.88 kB / 4.222 GB, free: 53.92 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.004179/6.158, allocations: 2.524 MB / 4.225 GB, free: 51.36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/6.158, allocations: 8.031 kB / 4.225 GB, free: 51.35 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/6.161, allocations: 0.57 MB / 4.225 GB, free: 50.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03275/6.194, allocations: 17.46 MB / 4.243 GB, free: 33.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/6.194, allocations: 36 kB / 4.243 GB, free: 33.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/6.194, allocations: 84 kB / 4.243 GB, free: 33.22 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001719/6.196, allocations: 1.246 MB / 4.244 GB, free: 31.97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/6.197, allocations: 1.382 MB / 4.245 GB, free: 30.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/6.197, allocations: 3.562 kB / 4.245 GB, free: 30.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/6.198, allocations: 8 kB / 4.245 GB, free: 30.51 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/6.198, allocations: 28 kB / 4.245 GB, free: 30.48 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009176/6.207, allocations: 8.349 MB / 4.253 GB, free: 21.66 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/6.208, allocations: 1.161 MB / 4.255 GB, free: 20.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/6.209, allocations: 0.6668 MB / 4.255 GB, free: 19.83 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003545/6.212, allocations: 3.059 MB / 4.258 GB, free: 16.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/6.212, allocations: 35.06 kB / 4.258 GB, free: 16.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 1.964e-06/6.212, allocations: 0 / 4.258 GB, free: 16.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.003095/6.215, allocations: 1.768 MB / 4.26 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/6.215, allocations: 55.91 kB / 4.26 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/6.219, allocations: 2.791 MB / 4.263 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.718e-05/6.219, allocations: 29.7 kB / 4.263 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/6.219, allocations: 0.6826 MB / 4.263 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/6.219, allocations: 204.9 kB / 4.264 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/6.219, allocations: 0 / 4.264 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.907e-05/6.219, allocations: 357.9 kB / 4.264 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/6.22, allocations: 0.5961 MB / 4.265 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/6.221, allocations: 1.159 MB / 4.266 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/6.223, allocations: 0.8381 MB / 4.266 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/6.223, allocations: 7.938 kB / 4.266 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003404/6.226, allocations: 2.232 MB / 4.269 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009528/6.227, allocations: 6.171 MB / 4.275 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/6.227, allocations: 19.5 kB / 4.275 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/6.228, allocations: 484.4 kB / 4.275 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000952/6.229, allocations: 235.6 kB / 4.275 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/6.231, allocations: 2.601 MB / 4.278 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/6.233, allocations: 182.6 kB / 4.278 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/6.233, allocations: 119.9 kB / 4.278 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/6.233, allocations: 5.406 kB / 4.278 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00358/6.237, allocations: 1.748 MB / 4.28 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/6.237, allocations: 12 kB / 4.28 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/6.238, allocations: 0.5804 MB / 4.281 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/6.239, allocations: 226.6 kB / 4.281 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/6.25, allocations: 7.934 MB / 4.288 GB, free: 360 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/6.252, allocations: 155.1 kB / 4.289 GB, free: 204 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/6.253, allocations: 104 kB / 4.289 GB, free: 100 kB / 0.8855 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.2843/6.537, allocations: 139.6 kB / 4.289 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006745/6.538, allocations: 244.7 kB / 4.289 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/6.541, allocations: 1.68 MB / 4.291 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/6.541, allocations: 10.75 kB / 4.291 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/6.541, allocations: 0 / 4.291 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001848/6.543, allocations: 1.36 MB / 4.292 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/6.549, allocations: 3.619 MB / 4.296 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/6.549, allocations: 3.781 kB / 4.296 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006703/6.55, allocations: 124.7 kB / 4.296 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/6.55, allocations: 244.4 kB / 4.296 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/6.55, allocations: 21.75 kB / 4.296 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/6.551, allocations: 2.033 MB / 4.298 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/6.551, allocations: 3.938 kB / 4.298 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003468/6.555, allocations: 2.107 MB / 4.3 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/6.556, allocations: 0.5704 MB / 4.301 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000341/6.556, allocations: 0 / 4.301 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/6.557, allocations: 95.03 kB / 4.301 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/6.558, allocations: 53.94 kB / 4.301 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/6.558, allocations: 46.23 kB / 4.301 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002591/6.56, allocations: 2.094 MB / 4.303 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003609/6.564, allocations: 1.307 MB / 4.304 GB, free: 193.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001915/6.566, allocations: 1.312 MB / 4.305 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003045/6.569, allocations: 2.418 MB / 4.308 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/6.569, allocations: 0 / 4.308 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006781/6.57, allocations: 487 kB / 4.308 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/6.574, allocations: 1.138 MB / 4.309 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005664/6.579, allocations: 3.345 MB / 4.313 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/6.581, allocations: 2.062 MB / 4.315 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of SimCode: time 8.02e-07/6.581, allocations: 0 / 4.315 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.08696/6.668, allocations: 67.12 MB / 4.38 GB, free: 189.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_Pump_stratos.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches