Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") [: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.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 6.984 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.001127/0.001127, allocations: 181.2 kB / 316 MB, free: 3.555 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.048/1.048, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0008542/0.0008542, allocations: 94.83 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.562e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1461, allocations: 106.4 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9446/1.091, allocations: 434.4 MB / 1.309 GB, free: 283.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001695/1.091, allocations: 90.89 kB / 1.309 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.614/4.705, allocations: 1.451 GB / 2.76 GB, free: 78.32 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003942/4.705, allocations: 102.6 kB / 2.76 GB, free: 78.3 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.007907/4.713, allocations: 3.585 MB / 2.764 GB, free: 76.71 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/4.713, allocations: 10.09 kB / 2.764 GB, free: 76.71 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006334/4.72, allocations: 1.19 MB / 2.765 GB, free: 76.47 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05578/4.776, allocations: 27.02 MB / 2.791 GB, free: 74.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.811e-05/4.776, allocations: 66.97 kB / 2.791 GB, free: 74.82 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004522/4.776, allocations: 142.4 kB / 2.792 GB, free: 74.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003053/4.779, allocations: 1.792 MB / 2.793 GB, free: 74.81 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/4.782, allocations: 2.172 MB / 2.795 GB, free: 74.45 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/4.782, allocations: 5.812 kB / 2.795 GB, free: 74.45 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/4.783, allocations: 3.812 kB / 2.795 GB, free: 74.45 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/4.783, allocations: 52.88 kB / 2.795 GB, free: 74.45 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/4.797, allocations: 11.84 MB / 2.807 GB, free: 68.38 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/4.798, allocations: 1.633 MB / 2.809 GB, free: 68.35 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008159/4.799, allocations: 0.7223 MB / 2.809 GB, free: 68.34 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004883/4.804, allocations: 3.603 MB / 2.813 GB, free: 66.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/4.804, allocations: 51.05 kB / 2.813 GB, free: 66.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=116): time 2.324e-06/4.804, allocations: 0 / 2.813 GB, free: 66.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=116): time 0.006511/4.811, allocations: 2.492 MB / 2.815 GB, free: 66.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/4.811, allocations: 62.81 kB / 2.815 GB, free: 66.23 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/4.814, allocations: 2.431 MB / 2.818 GB, free: 65.99 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/4.814, allocations: 29.45 kB / 2.818 GB, free: 65.96 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/4.814, allocations: 0.9989 MB / 2.819 GB, free: 65.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/4.815, allocations: 383.5 kB / 2.819 GB, free: 65.21 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/4.815, allocations: 0 / 2.819 GB, free: 65.21 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/4.815, allocations: 376.7 kB / 2.819 GB, free: 64.91 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009013/4.816, allocations: 0.7042 MB / 2.82 GB, free: 64.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/4.817, allocations: 1.438 MB / 2.822 GB, free: 64.01 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/4.82, allocations: 1.117 MB / 2.823 GB, free: 63.99 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/4.82, allocations: 10.31 kB / 2.823 GB, free: 63.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006763/4.827, allocations: 3.028 MB / 2.826 GB, free: 63.69 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001119/4.828, allocations: 7.58 MB / 2.833 GB, free: 55.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/4.828, allocations: 19.69 kB / 2.833 GB, free: 55.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/4.829, allocations: 0.7228 MB / 2.834 GB, free: 55.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/4.831, allocations: 383.7 kB / 2.834 GB, free: 55.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/4.834, allocations: 5.506 MB / 2.839 GB, free: 51.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/4.837, allocations: 295.7 kB / 2.84 GB, free: 51.44 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/4.837, allocations: 154 kB / 2.84 GB, free: 51.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/4.837, allocations: 3.812 kB / 2.84 GB, free: 51.44 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005732/4.843, allocations: 2.428 MB / 2.842 GB, free: 51.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/4.843, allocations: 18.84 kB / 2.842 GB, free: 51.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/4.845, allocations: 0.8238 MB / 2.843 GB, free: 51.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/4.846, allocations: 357.9 kB / 2.843 GB, free: 51.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/4.86, allocations: 12.23 MB / 2.855 GB, free: 43.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/4.863, allocations: 237.3 kB / 2.856 GB, free: 43.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/4.863, allocations: 136.7 kB / 2.856 GB, free: 43.55 MB / 0.9167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_no.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.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: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 172 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005861/4.863, allocations: 175 kB / 2.856 GB, free: 43.43 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/4.864, allocations: 324.3 kB / 2.856 GB, free: 43.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007142/4.871, allocations: 2.894 MB / 2.859 GB, free: 43 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/4.871, allocations: 19.02 kB / 2.859 GB, free: 43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/4.871, allocations: 0 / 2.859 GB, free: 43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/4.871, allocations: 3.891 kB / 2.859 GB, free: 43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008564/4.88, allocations: 4.535 MB / 2.863 GB, free: 42.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/4.88, allocations: 2.375 kB / 2.863 GB, free: 42.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/4.881, allocations: 218.5 kB / 2.864 GB, free: 42.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/4.882, allocations: 0.5165 MB / 2.864 GB, free: 42.45 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/4.882, allocations: 34.14 kB / 2.864 GB, free: 42.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002682/4.885, allocations: 5.073 MB / 2.869 GB, free: 38.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/4.885, allocations: 7.5 kB / 2.869 GB, free: 38.27 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005334/4.89, allocations: 2.472 MB / 2.872 GB, free: 37.74 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/4.891, allocations: 0.5782 MB / 2.872 GB, free: 37.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/4.892, allocations: 3.562 kB / 2.872 GB, free: 37.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/4.893, allocations: 174.5 kB / 2.872 GB, free: 37.44 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/4.893, allocations: 81.8 kB / 2.872 GB, free: 37.44 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/4.894, allocations: 81.47 kB / 2.873 GB, free: 37.44 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.002358/4.896, allocations: 1.806 MB / 2.874 GB, free: 37.29 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004963/4.901, allocations: 1.791 MB / 2.876 GB, free: 37 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002724/4.904, allocations: 2.223 MB / 2.878 GB, free: 36.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005717/4.909, allocations: 3.52 MB / 2.882 GB, free: 35.78 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/4.909, allocations: 2.875 kB / 2.882 GB, free: 35.78 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/4.911, allocations: 0.8137 MB / 2.882 GB, free: 35.75 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006122/4.917, allocations: 1.35 MB / 2.884 GB, free: 35.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009312/4.926, allocations: 4.453 MB / 2.888 GB, free: 34.58 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00238/4.929, allocations: 2.506 MB / 2.891 GB, free: 33.82 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/4.929, allocations: 2.906 kB / 2.891 GB, free: 33.82 MB / 0.9167 GB Notification: Performance of Templates: time 0.4573/5.386, allocations: 84.73 MB / 2.973 GB, free: 166.6 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches