Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.078/2.078, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 183 kB / 490.8 MB, free: 1.953 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009217/0.0009216, allocations: 92.05 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.196e-06/8.436e-06, allocations: 3.938 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2802, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.459/4.739, allocations: 1.872 GB / 3.083 GB, free: 434.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/4.74, allocations: 89.67 kB / 3.084 GB, free: 434.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.276/8.016, allocations: 1.09 GB / 4.173 GB, free: 233.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001728/8.016, allocations: 35.98 kB / 4.173 GB, free: 233.6 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.004722/8.021, allocations: 1.346 MB / 4.174 GB, free: 232.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/8.021, allocations: 12.02 kB / 4.174 GB, free: 232.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/8.022, allocations: 198.4 kB / 4.175 GB, free: 231.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/8.027, allocations: 1.453 MB / 4.176 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/8.027, allocations: 19.98 kB / 4.176 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/8.027, allocations: 40 kB / 4.176 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/8.028, allocations: 0.7287 MB / 4.177 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/8.029, allocations: 0.8565 MB / 4.178 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/8.029, allocations: 4 kB / 4.178 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/8.029, allocations: 0 / 4.178 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/8.029, allocations: 16 kB / 4.178 GB, free: 228.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004263/8.033, allocations: 4.711 MB / 4.182 GB, free: 223.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/8.034, allocations: 0.5034 MB / 4.183 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/8.034, allocations: 439.7 kB / 4.183 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/8.035, allocations: 194.5 kB / 4.183 GB, free: 222.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/8.035, allocations: 293.2 kB / 4.184 GB, free: 222.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/8.035, allocations: 0 / 4.184 GB, free: 222.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.001923/8.037, allocations: 0.895 MB / 4.185 GB, free: 221.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/8.037, allocations: 81.11 kB / 4.185 GB, free: 221.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/8.038, allocations: 0.922 MB / 4.186 GB, free: 220.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/8.038, allocations: 33.69 kB / 4.186 GB, free: 220.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/8.038, allocations: 352.4 kB / 4.186 GB, free: 219.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/8.038, allocations: 114.3 kB / 4.186 GB, free: 219.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/8.038, allocations: 0 / 4.186 GB, free: 219.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/8.039, allocations: 329.9 kB / 4.186 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/8.039, allocations: 224.8 kB / 4.187 GB, free: 219.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/8.039, allocations: 0.5497 MB / 4.187 GB, free: 218.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/8.04, allocations: 306.5 kB / 4.187 GB, free: 218.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/8.04, allocations: 4 kB / 4.187 GB, free: 218.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001687/8.041, allocations: 1.012 MB / 4.188 GB, free: 217.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004196/8.042, allocations: 2.108 MB / 4.19 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/8.042, allocations: 4 kB / 4.19 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/8.042, allocations: 297.9 kB / 4.191 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/8.043, allocations: 71.89 kB / 4.191 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/8.044, allocations: 1.31 MB / 4.192 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/8.045, allocations: 115.4 kB / 4.192 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/8.045, allocations: 31.97 kB / 4.192 GB, free: 213.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/8.045, allocations: 7.938 kB / 4.192 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00112/8.047, allocations: 0.6882 MB / 4.193 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/8.047, allocations: 4 kB / 4.193 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/8.047, allocations: 238.3 kB / 4.193 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/8.047, allocations: 79.83 kB / 4.193 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/8.051, allocations: 2.951 MB / 4.196 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009719/8.052, allocations: 103.6 kB / 4.196 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/8.052, allocations: 27.98 kB / 4.196 GB, free: 208.9 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.0001536/8.052, allocations: 121.1 kB / 4.196 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/8.052, allocations: 106.7 kB / 4.196 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/8.053, allocations: 0.7766 MB / 4.197 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/8.053, allocations: 4 kB / 4.197 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/8.053, allocations: 0 / 4.197 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/8.053, allocations: 7.891 kB / 4.197 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/8.056, allocations: 1.711 MB / 4.199 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/8.056, allocations: 0 / 4.199 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/8.056, allocations: 31.97 kB / 4.199 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/8.056, allocations: 250.3 kB / 4.199 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/8.056, allocations: 7.984 kB / 4.199 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009363/8.057, allocations: 1.147 MB / 4.2 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/8.057, allocations: 4 kB / 4.2 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009794/8.058, allocations: 0.9713 MB / 4.201 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/8.059, allocations: 235.7 kB / 4.201 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/8.059, allocations: 8 kB / 4.201 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007773/8.06, allocations: 79.75 kB / 4.202 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/8.06, allocations: 31.94 kB / 4.202 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/8.06, allocations: 16 kB / 4.202 GB, free: 203.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007983/8.061, allocations: 0.7257 MB / 4.202 GB, free: 202.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001782/8.062, allocations: 0.5423 MB / 4.203 GB, free: 201.9 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.001833/8.064, allocations: 1.281 MB / 4.204 GB, free: 200.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002119/8.066, allocations: 1.15 MB / 4.205 GB, free: 199.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/8.066, allocations: 0 / 4.205 GB, free: 199.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000497/8.067, allocations: 304.1 kB / 4.205 GB, free: 199.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/8.07, allocations: 0.5785 MB / 4.206 GB, free: 198.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/8.073, allocations: 1.48 MB / 4.207 GB, free: 197 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009262/8.074, allocations: 1.292 MB / 4.209 GB, free: 195.7 MB / 1.151 GB Notification: Performance of SimCode: time 3.8e-07/8.074, allocations: 7.938 kB / 4.209 GB, free: 195.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04119/8.115, allocations: 27.03 MB / 4.235 GB, free: 168.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches