Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [: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.2/1.2, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.001034/0.001034, allocations: 181.2 kB / 316 MB, free: 3.602 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.14/1.14, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0008297/0.0008297, allocations: 94.34 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.072e-06/6.092e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.155, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.417/3.572, allocations: 2.181 GB / 3.065 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001664/3.572, allocations: 83.89 kB / 3.065 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.6126/4.184, allocations: 212.7 MB / 3.273 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.184e-05/4.184, allocations: 7.406 kB / 3.273 GB, free: 198.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006213/4.185, allocations: 0.566 MB / 3.274 GB, free: 198 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/4.185, allocations: 14.91 kB / 3.274 GB, free: 198 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002906/4.185, allocations: 60.34 kB / 3.274 GB, free: 198 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/4.186, allocations: 303.2 kB / 3.274 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/4.186, allocations: 11.72 kB / 3.274 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/4.186, allocations: 6.656 kB / 3.274 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001429/4.186, allocations: 83.8 kB / 3.274 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/4.186, allocations: 159.3 kB / 3.274 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/4.186, allocations: 3.281 kB / 3.274 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/4.186, allocations: 0 / 3.274 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/4.186, allocations: 3.875 kB / 3.274 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/4.187, allocations: 0.7572 MB / 3.275 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/4.187, allocations: 69.03 kB / 3.275 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.589e-05/4.187, allocations: 55.39 kB / 3.275 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/4.188, allocations: 188.2 kB / 3.275 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/4.188, allocations: 37.69 kB / 3.275 GB, free: 197 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/4.188, allocations: 0 / 3.275 GB, free: 197 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003982/4.188, allocations: 145.7 kB / 3.275 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.284e-05/4.188, allocations: 51.41 kB / 3.275 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/4.188, allocations: 192.2 kB / 3.276 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/4.188, allocations: 29.64 kB / 3.276 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/4.188, allocations: 120.4 kB / 3.276 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/4.188, allocations: 39.95 kB / 3.276 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/4.188, allocations: 0 / 3.276 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.721e-05/4.188, allocations: 325.9 kB / 3.276 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/4.188, allocations: 26.41 kB / 3.276 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/4.188, allocations: 86.25 kB / 3.276 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/4.188, allocations: 37.53 kB / 3.276 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/4.188, allocations: 3.75 kB / 3.276 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001536/4.189, allocations: 124.7 kB / 3.276 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/4.189, allocations: 365 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/4.189, allocations: 3.625 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/4.189, allocations: 0 / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/4.189, allocations: 25.8 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/4.189, allocations: 3.906 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/4.189, allocations: 26.22 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/4.189, allocations: 7.375 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.599e-06/4.189, allocations: 3.906 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001024/4.189, allocations: 70.16 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-06/4.189, allocations: 0 / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-06/4.189, allocations: 3.875 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/4.189, allocations: 26.95 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-06/4.189, allocations: 3.047 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/4.189, allocations: 20.77 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/4.19, allocations: 14 kB / 3.277 GB, free: 195.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/4.19, allocations: 111.6 kB / 3.277 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/4.19, allocations: 19.28 kB / 3.277 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/4.19, allocations: 122.5 kB / 3.277 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/4.19, allocations: 0 / 3.277 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/4.19, allocations: 0 / 3.277 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/4.19, allocations: 3.875 kB / 3.277 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/4.19, allocations: 0.5177 MB / 3.278 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/4.19, allocations: 3.938 kB / 3.278 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/4.19, allocations: 35.44 kB / 3.278 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/4.19, allocations: 0 / 3.278 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/4.191, allocations: 3.938 kB / 3.278 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/4.191, allocations: 11.28 kB / 3.278 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/4.191, allocations: 0 / 3.278 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001895/4.191, allocations: 341.6 kB / 3.278 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/4.191, allocations: 107.2 kB / 3.278 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/4.191, allocations: 11.16 kB / 3.278 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/4.191, allocations: 21.91 kB / 3.278 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/4.191, allocations: 19.83 kB / 3.278 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/4.191, allocations: 3.688 kB / 3.278 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.633e-05/4.191, allocations: 156.6 kB / 3.278 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005511/4.192, allocations: 160.7 kB / 3.278 GB, free: 194.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000974/4.193, allocations: 1.027 MB / 3.279 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001966/4.193, allocations: 122.7 kB / 3.28 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/4.193, allocations: 0 / 3.28 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/4.193, allocations: 49.36 kB / 3.28 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/4.194, allocations: 108.7 kB / 3.28 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/4.194, allocations: 299.5 kB / 3.28 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/4.194, allocations: 0.784 MB / 3.281 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/4.194, allocations: 0 / 3.281 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.01151/4.206, allocations: 8.972 MB / 3.29 GB, free: 193.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches