Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 6.941 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.0009438/0.0009438, allocations: 177.2 kB / 316 MB, free: 3.586 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.047/1.047, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0007915/0.0007914, allocations: 89.59 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.442e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1463, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.44/3.587, allocations: 2.182 GB / 3.067 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/3.587, allocations: 93.61 kB / 3.067 GB, free: 181 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.649/6.236, allocations: 1.035 GB / 4.102 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.025e-05/6.236, allocations: 31.83 kB / 4.102 GB, free: 147.8 MB / 0.8855 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.00324/6.239, allocations: 1.349 MB / 4.103 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/6.239, allocations: 8.031 kB / 4.103 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008619/6.24, allocations: 210.3 kB / 4.103 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/6.243, allocations: 1.425 MB / 4.104 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/6.243, allocations: 16 kB / 4.105 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.569e-05/6.243, allocations: 43.91 kB / 4.105 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008516/6.244, allocations: 0.7209 MB / 4.105 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008723/6.245, allocations: 0.8681 MB / 4.106 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/6.245, allocations: 0 / 4.106 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.465e-05/6.245, allocations: 4 kB / 4.106 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/6.245, allocations: 12 kB / 4.106 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/6.248, allocations: 4.725 MB / 4.111 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/6.249, allocations: 0.5229 MB / 4.111 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/6.249, allocations: 449.3 kB / 4.112 GB, free: 137 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/6.249, allocations: 194.5 kB / 4.112 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/6.25, allocations: 305.2 kB / 4.112 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/6.25, allocations: 0 / 4.112 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.001715/6.252, allocations: 0.9604 MB / 4.113 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/6.252, allocations: 81.11 kB / 4.113 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/6.252, allocations: 0.9217 MB / 4.114 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/6.252, allocations: 29.7 kB / 4.114 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/6.253, allocations: 360.2 kB / 4.114 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/6.253, allocations: 110.4 kB / 4.115 GB, free: 134 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/6.253, allocations: 0 / 4.115 GB, free: 134 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/6.253, allocations: 333.9 kB / 4.115 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/6.253, allocations: 224.9 kB / 4.115 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/6.253, allocations: 0.5575 MB / 4.116 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/6.254, allocations: 321.7 kB / 4.116 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/6.254, allocations: 3.938 kB / 4.116 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001575/6.255, allocations: 1.09 MB / 4.117 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002986/6.256, allocations: 2.098 MB / 4.119 GB, free: 129 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/6.256, allocations: 8 kB / 4.119 GB, free: 129 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/6.256, allocations: 369.1 kB / 4.119 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/6.256, allocations: 63.91 kB / 4.119 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/6.258, allocations: 1.422 MB / 4.121 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/6.259, allocations: 119.4 kB / 4.121 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/6.259, allocations: 27.98 kB / 4.121 GB, free: 127 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-06/6.259, allocations: 4 kB / 4.121 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001119/6.26, allocations: 0.7575 MB / 4.122 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/6.26, allocations: 8 kB / 4.122 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006589/6.261, allocations: 302.3 kB / 4.122 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/6.261, allocations: 67.84 kB / 4.122 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/6.264, allocations: 3.471 MB / 4.125 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007799/6.265, allocations: 108 kB / 4.126 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/6.265, allocations: 28 kB / 4.126 GB, free: 122.2 MB / 0.8855 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.0001089/6.265, allocations: 125 kB / 4.126 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/6.265, allocations: 102.7 kB / 4.126 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/6.267, allocations: 0.8613 MB / 4.127 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/6.267, allocations: 4 kB / 4.127 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/6.267, allocations: 0 / 4.127 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/6.267, allocations: 3.984 kB / 4.127 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/6.269, allocations: 1.783 MB / 4.128 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/6.269, allocations: 4 kB / 4.128 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/6.269, allocations: 20.2 kB / 4.128 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004903/6.269, allocations: 324.8 kB / 4.129 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/6.269, allocations: 8 kB / 4.129 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009805/6.27, allocations: 1.274 MB / 4.13 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/6.27, allocations: 0 / 4.13 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001007/6.271, allocations: 1.048 MB / 4.131 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/6.271, allocations: 231.8 kB / 4.131 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/6.272, allocations: 4 kB / 4.131 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006575/6.272, allocations: 75.75 kB / 4.131 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/6.272, allocations: 35.86 kB / 4.131 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/6.272, allocations: 19.98 kB / 4.131 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0006525/6.273, allocations: 0.71 MB / 4.132 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001508/6.275, allocations: 0.554 MB / 4.133 GB, free: 114.8 MB / 0.8855 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.001509/6.276, allocations: 1.216 MB / 4.134 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002061/6.278, allocations: 1.188 MB / 4.135 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/6.278, allocations: 0 / 4.135 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005116/6.279, allocations: 328.7 kB / 4.135 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/6.281, allocations: 0.5546 MB / 4.136 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/6.283, allocations: 1.49 MB / 4.137 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/6.284, allocations: 1.3 MB / 4.139 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/6.284, allocations: 0 / 4.139 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.03324/6.317, allocations: 26.95 MB / 4.165 GB, free: 82.08 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches