Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") [: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 1.971/1.971, allocations: 390.4 MB / 397.7 MB, free: 10.68 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.001327/0.001327, allocations: 180.7 kB / 490.8 MB, free: 11.21 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.371/1.371, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.000961, allocations: 94.33 kB / 0.9264 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 1.303e-05/1.341e-05, allocations: 7.938 kB / 1.072 GB, free: 15.57 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.781/0.7811, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.401/4.182, allocations: 1.869 GB / 3.081 GB, free: 208.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/4.182, allocations: 88.45 kB / 3.081 GB, free: 208.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.061/7.243, allocations: 0.9684 GB / 4.049 GB, free: 102.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000125/7.243, allocations: 31.98 kB / 4.049 GB, free: 102.1 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004116/7.247, allocations: 1.185 MB / 4.05 GB, free: 100.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/7.247, allocations: 12.03 kB / 4.05 GB, free: 100.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/7.248, allocations: 186.4 kB / 4.051 GB, free: 100.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/7.252, allocations: 1.366 MB / 4.052 GB, free: 99.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/7.252, allocations: 20 kB / 4.052 GB, free: 99.23 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/7.252, allocations: 47.84 kB / 4.052 GB, free: 99.18 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007832/7.253, allocations: 0.5056 MB / 4.052 GB, free: 98.68 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/7.254, allocations: 0.7083 MB / 4.053 GB, free: 97.89 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/7.254, allocations: 4 kB / 4.053 GB, free: 97.89 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/7.254, allocations: 0 / 4.053 GB, free: 97.89 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/7.254, allocations: 20 kB / 4.053 GB, free: 97.87 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003528/7.258, allocations: 4.148 MB / 4.057 GB, free: 93.47 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/7.258, allocations: 491.4 kB / 4.058 GB, free: 92.98 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/7.258, allocations: 342.5 kB / 4.058 GB, free: 92.64 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/7.259, allocations: 194.2 kB / 4.058 GB, free: 92.41 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/7.259, allocations: 294.8 kB / 4.058 GB, free: 92.11 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 3.286e-06/7.259, allocations: 0 / 4.058 GB, free: 92.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001925/7.261, allocations: 0.834 MB / 4.059 GB, free: 91.26 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/7.261, allocations: 81.11 kB / 4.059 GB, free: 91.16 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009599/7.262, allocations: 0.8713 MB / 4.06 GB, free: 90.27 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/7.262, allocations: 29.7 kB / 4.06 GB, free: 90.24 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/7.262, allocations: 332.2 kB / 4.061 GB, free: 89.91 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/7.263, allocations: 114.5 kB / 4.061 GB, free: 89.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/7.263, allocations: 8 kB / 4.061 GB, free: 89.79 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/7.263, allocations: 330 kB / 4.061 GB, free: 89.46 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/7.263, allocations: 204.9 kB / 4.061 GB, free: 89.26 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/7.263, allocations: 0.5316 MB / 4.062 GB, free: 88.59 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/7.264, allocations: 295.2 kB / 4.062 GB, free: 88.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/7.264, allocations: 4 kB / 4.062 GB, free: 88.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001545/7.265, allocations: 0.9582 MB / 4.063 GB, free: 87.33 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005088/7.266, allocations: 2.1 MB / 4.065 GB, free: 85.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/7.266, allocations: 11.98 kB / 4.065 GB, free: 85.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/7.266, allocations: 272.6 kB / 4.065 GB, free: 84.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/7.267, allocations: 67.91 kB / 4.065 GB, free: 84.72 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/7.268, allocations: 1.266 MB / 4.067 GB, free: 83.43 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/7.269, allocations: 99.45 kB / 4.067 GB, free: 83.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/7.269, allocations: 27.98 kB / 4.067 GB, free: 83.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/7.269, allocations: 6.656 kB / 4.067 GB, free: 83.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001074/7.27, allocations: 0.6512 MB / 4.067 GB, free: 82.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/7.27, allocations: 8 kB / 4.067 GB, free: 82.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005075/7.271, allocations: 217.2 kB / 4.068 GB, free: 82.43 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/7.271, allocations: 72 kB / 4.068 GB, free: 82.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/7.274, allocations: 2.838 MB / 4.07 GB, free: 79.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008838/7.275, allocations: 83.67 kB / 4.07 GB, free: 79.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/7.275, allocations: 31.92 kB / 4.071 GB, free: 79.29 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001862/7.275, allocations: 120.9 kB / 4.071 GB, free: 79.17 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/7.275, allocations: 98.78 kB / 4.071 GB, free: 79.07 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/7.277, allocations: 0.7217 MB / 4.071 GB, free: 78.34 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/7.277, allocations: 7.938 kB / 4.071 GB, free: 78.33 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/7.277, allocations: 0 / 4.071 GB, free: 78.33 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/7.277, allocations: 3.906 kB / 4.071 GB, free: 78.32 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/7.279, allocations: 1.605 MB / 4.073 GB, free: 76.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/7.279, allocations: 0 / 4.073 GB, free: 76.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/7.279, allocations: 35.92 kB / 4.073 GB, free: 76.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003647/7.279, allocations: 227.9 kB / 4.073 GB, free: 76.39 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/7.279, allocations: 7.984 kB / 4.073 GB, free: 76.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000897/7.28, allocations: 1.114 MB / 4.074 GB, free: 75.24 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/7.28, allocations: 4 kB / 4.074 GB, free: 75.24 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008761/7.281, allocations: 0.9074 MB / 4.075 GB, free: 74.25 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/7.281, allocations: 215.9 kB / 4.075 GB, free: 74.02 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/7.281, allocations: 8 kB / 4.075 GB, free: 74.01 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000619/7.282, allocations: 67.77 kB / 4.076 GB, free: 73.95 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/7.282, allocations: 35.86 kB / 4.076 GB, free: 73.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/7.282, allocations: 8 kB / 4.076 GB, free: 73.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006514/7.283, allocations: 0.6845 MB / 4.076 GB, free: 73.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001397/7.284, allocations: 0.4915 MB / 4.077 GB, free: 72.71 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/7.285, allocations: 1.043 MB / 4.078 GB, free: 71.67 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001892/7.287, allocations: 1.093 MB / 4.079 GB, free: 70.55 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/7.287, allocations: 0 / 4.079 GB, free: 70.55 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004356/7.288, allocations: 272 kB / 4.079 GB, free: 70.29 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/7.29, allocations: 0.5213 MB / 4.08 GB, free: 69.78 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/7.292, allocations: 1.425 MB / 4.081 GB, free: 68.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/7.293, allocations: 1.259 MB / 4.082 GB, free: 67.02 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/7.293, allocations: 0 / 4.082 GB, free: 67.02 MB / 1.151 GB Notification: Performance of Templates: time 0.03596/7.329, allocations: 24.3 MB / 4.106 GB, free: 42.89 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches