Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [: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.092/2.092, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001104/0.001104, allocations: 179.8 kB / 490.8 MB, free: 1.918 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.436/1.436, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.000932/0.0009321, allocations: 89.3 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.153e-06/7.173e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2531, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.541/3.794, allocations: 1.869 GB / 3.081 GB, free: 7.641 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/3.795, allocations: 98.28 kB / 3.081 GB, free: 7.547 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.122/7.917, allocations: 1.08 GB / 4.161 GB, free: 260.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002027/7.917, allocations: 35.98 kB / 4.161 GB, free: 260.7 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005296/7.922, allocations: 1.35 MB / 4.163 GB, free: 259.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/7.922, allocations: 8.031 kB / 4.163 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/7.924, allocations: 206.3 kB / 4.163 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/7.929, allocations: 1.433 MB / 4.164 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/7.929, allocations: 16 kB / 4.164 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/7.929, allocations: 40 kB / 4.164 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/7.93, allocations: 0.7248 MB / 4.165 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/7.932, allocations: 0.8642 MB / 4.166 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/7.932, allocations: 4 kB / 4.166 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/7.932, allocations: 0 / 4.166 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/7.932, allocations: 16 kB / 4.166 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/7.937, allocations: 4.72 MB / 4.171 GB, free: 250.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/7.937, allocations: 0.5267 MB / 4.171 GB, free: 250.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/7.938, allocations: 441.7 kB / 4.171 GB, free: 249.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/7.938, allocations: 190.5 kB / 4.172 GB, free: 249.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003518/7.939, allocations: 310.7 kB / 4.172 GB, free: 249.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 2.876e-06/7.939, allocations: 0 / 4.172 GB, free: 249.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.002197/7.941, allocations: 0.9608 MB / 4.173 GB, free: 248.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/7.941, allocations: 85.09 kB / 4.173 GB, free: 248.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/7.942, allocations: 0.9139 MB / 4.174 GB, free: 247.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.836e-05/7.942, allocations: 29.7 kB / 4.174 GB, free: 247.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/7.943, allocations: 356.3 kB / 4.174 GB, free: 246.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/7.943, allocations: 130.2 kB / 4.174 GB, free: 246.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/7.943, allocations: 0 / 4.174 GB, free: 246.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.04e-05/7.943, allocations: 322 kB / 4.175 GB, free: 246.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/7.943, allocations: 224.9 kB / 4.175 GB, free: 246.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/7.944, allocations: 0.5497 MB / 4.175 GB, free: 245.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/7.944, allocations: 330.5 kB / 4.176 GB, free: 245.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/7.944, allocations: 0 / 4.176 GB, free: 245.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001907/7.946, allocations: 1.087 MB / 4.177 GB, free: 244.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004835/7.946, allocations: 2.1 MB / 4.179 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/7.946, allocations: 8 kB / 4.179 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007288/7.947, allocations: 364.5 kB / 4.179 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/7.947, allocations: 63.91 kB / 4.179 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/7.949, allocations: 1.435 MB / 4.181 GB, free: 240 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/7.95, allocations: 111.4 kB / 4.181 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/7.951, allocations: 32 kB / 4.181 GB, free: 239.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/7.951, allocations: 5.406 kB / 4.181 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/7.952, allocations: 0.7617 MB / 4.182 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/7.952, allocations: 11.91 kB / 4.182 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/7.952, allocations: 300.8 kB / 4.182 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/7.953, allocations: 71.84 kB / 4.182 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/7.957, allocations: 3.459 MB / 4.185 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/7.958, allocations: 103.5 kB / 4.185 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/7.958, allocations: 24 kB / 4.185 GB, free: 235 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 (34): * Single equations (assignments): 32 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002488/7.958, allocations: 129.1 kB / 4.186 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/7.959, allocations: 102.7 kB / 4.186 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/7.96, allocations: 0.8584 MB / 4.186 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/7.96, allocations: 4 kB / 4.186 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/7.96, allocations: 0 / 4.186 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/7.96, allocations: 0 / 4.186 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/7.963, allocations: 1.797 MB / 4.188 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/7.963, allocations: 3.984 kB / 4.188 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/7.963, allocations: 23.98 kB / 4.188 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005479/7.964, allocations: 323 kB / 4.189 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/7.964, allocations: 7.984 kB / 4.189 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/7.965, allocations: 1.264 MB / 4.19 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/7.965, allocations: 0 / 4.19 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001189/7.966, allocations: 1.049 MB / 4.191 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/7.967, allocations: 223.8 kB / 4.191 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/7.967, allocations: 8 kB / 4.191 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009235/7.968, allocations: 83.66 kB / 4.191 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/7.968, allocations: 31.95 kB / 4.191 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/7.968, allocations: 16 kB / 4.191 GB, free: 228.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009516/7.969, allocations: 0.7139 MB / 4.192 GB, free: 228.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002264/7.971, allocations: 0.5578 MB / 4.192 GB, free: 227.6 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 (12): * Single equations (assignments): 9 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001893/7.973, allocations: 1.213 MB / 4.194 GB, free: 226.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002467/7.976, allocations: 1.187 MB / 4.195 GB, free: 225.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/7.976, allocations: 0 / 4.195 GB, free: 225.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/7.976, allocations: 320.7 kB / 4.195 GB, free: 224.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/7.98, allocations: 0.5652 MB / 4.196 GB, free: 224.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/7.983, allocations: 1.495 MB / 4.197 GB, free: 222.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009018/7.984, allocations: 1.296 MB / 4.198 GB, free: 221.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.172e-06/7.984, allocations: 0 / 4.198 GB, free: 221.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04225/8.026, allocations: 26.96 MB / 4.225 GB, free: 194.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches