Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") [: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.029/2.029, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 179.5 kB / 487 MB, free: 0.75 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.3 MB / 0.7819 GB, free: 6.824 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 100.8 kB / 0.9213 GB, free: 43.72 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.075e-05, allocations: 4 kB / 1.066 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8899/0.89, allocations: 142.3 MB / 1.205 GB, free: 72.77 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.889/4.779, allocations: 1.871 GB / 3.076 GB, free: 215.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/4.779, allocations: 91.94 kB / 3.076 GB, free: 215.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.741/8.52, allocations: 1.09 GB / 4.166 GB, free: 324.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001145/8.52, allocations: 29.11 kB / 4.166 GB, free: 324.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004204/8.524, allocations: 1.351 MB / 4.167 GB, free: 323.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/8.524, allocations: 7.562 kB / 4.167 GB, free: 323.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/8.525, allocations: 198.2 kB / 4.168 GB, free: 323.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003756/8.529, allocations: 1.465 MB / 4.169 GB, free: 323.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/8.529, allocations: 18.81 kB / 4.169 GB, free: 323.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/8.529, allocations: 38.28 kB / 4.169 GB, free: 323.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00102/8.53, allocations: 0.7212 MB / 4.17 GB, free: 323.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/8.531, allocations: 0.862 MB / 4.171 GB, free: 323.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/8.531, allocations: 3 kB / 4.171 GB, free: 323.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/8.531, allocations: 3.906 kB / 4.171 GB, free: 323.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/8.531, allocations: 18.16 kB / 4.171 GB, free: 323.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005503/8.537, allocations: 4.686 MB / 4.175 GB, free: 320.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/8.538, allocations: 0.5145 MB / 4.176 GB, free: 320.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/8.538, allocations: 433.7 kB / 4.176 GB, free: 320 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/8.538, allocations: 194.6 kB / 4.176 GB, free: 319.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/8.539, allocations: 311.4 kB / 4.177 GB, free: 319.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/8.539, allocations: 3.594 kB / 4.177 GB, free: 319.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.001875/8.541, allocations: 0.8786 MB / 4.177 GB, free: 319.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/8.541, allocations: 87.92 kB / 4.178 GB, free: 319.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009624/8.542, allocations: 0.9239 MB / 4.178 GB, free: 319.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/8.542, allocations: 29.64 kB / 4.178 GB, free: 319.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/8.542, allocations: 355.8 kB / 4.179 GB, free: 319.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/8.542, allocations: 108.5 kB / 4.179 GB, free: 319.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/8.542, allocations: 3.781 kB / 4.179 GB, free: 319.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/8.542, allocations: 324 kB / 4.179 GB, free: 318.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/8.542, allocations: 225.3 kB / 4.179 GB, free: 318.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/8.543, allocations: 0.5429 MB / 4.18 GB, free: 318.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/8.543, allocations: 315.4 kB / 4.18 GB, free: 318.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/8.543, allocations: 3.625 kB / 4.18 GB, free: 318.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001652/8.545, allocations: 1.016 MB / 4.181 GB, free: 318.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003727/8.545, allocations: 2.106 MB / 4.183 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/8.545, allocations: 7.094 kB / 4.183 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/8.546, allocations: 302.5 kB / 4.184 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/8.546, allocations: 77.53 kB / 4.184 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/8.548, allocations: 1.301 MB / 4.185 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/8.549, allocations: 113.1 kB / 4.185 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/8.549, allocations: 29.48 kB / 4.185 GB, free: 315.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/8.549, allocations: 3.812 kB / 4.185 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/8.55, allocations: 0.7044 MB / 4.186 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/8.55, allocations: 3.938 kB / 4.186 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005631/8.551, allocations: 237.3 kB / 4.186 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/8.551, allocations: 72.16 kB / 4.186 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/8.554, allocations: 2.944 MB / 4.189 GB, free: 314.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/8.555, allocations: 105.7 kB / 4.189 GB, free: 314.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/8.555, allocations: 22.81 kB / 4.189 GB, free: 314.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001988/8.556, allocations: 127.9 kB / 4.189 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/8.556, allocations: 105.4 kB / 4.189 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/8.557, allocations: 0.7779 MB / 4.19 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/8.557, allocations: 3.938 kB / 4.19 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/8.557, allocations: 0 / 4.19 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/8.557, allocations: 11.16 kB / 4.19 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/8.559, allocations: 1.694 MB / 4.192 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/8.559, allocations: 3.281 kB / 4.192 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/8.559, allocations: 37.52 kB / 4.192 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/8.56, allocations: 257 kB / 4.192 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/8.56, allocations: 14.84 kB / 4.192 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009574/8.561, allocations: 1.147 MB / 4.193 GB, free: 313.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/8.561, allocations: 3.969 kB / 4.193 GB, free: 313.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009892/8.562, allocations: 0.9795 MB / 4.194 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/8.562, allocations: 233.4 kB / 4.194 GB, free: 312.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/8.562, allocations: 3.844 kB / 4.194 GB, free: 312.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007016/8.563, allocations: 80.83 kB / 4.194 GB, free: 312.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/8.563, allocations: 30.45 kB / 4.194 GB, free: 312.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/8.563, allocations: 18.34 kB / 4.194 GB, free: 312.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007194/8.564, allocations: 0.7149 MB / 4.195 GB, free: 312.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001595/8.565, allocations: 0.5391 MB / 4.196 GB, free: 312.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/8.567, allocations: 1.282 MB / 4.197 GB, free: 312.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00211/8.569, allocations: 1.146 MB / 4.198 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/8.569, allocations: 0 / 4.198 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004946/8.57, allocations: 310 kB / 4.198 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/8.572, allocations: 0.5733 MB / 4.199 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/8.575, allocations: 1.477 MB / 4.2 GB, free: 311.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/8.575, allocations: 1.301 MB / 4.202 GB, free: 310.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/8.575, allocations: 0 / 4.202 GB, free: 310.8 MB / 1.151 GB Notification: Performance of Templates: time 0.04165/8.617, allocations: 27.02 MB / 4.228 GB, free: 310.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches