Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.025/2.025, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001115/0.001115, allocations: 180.5 kB / 490.8 MB, free: 1.859 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.381/1.381, allocations: 221.4 MB / 0.7863 GB, free: 13.57 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.0009476/0.0009477, allocations: 87.3 kB / 0.9264 GB, free: 14.11 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.625e-06/7.635e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2855, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.627/3.912, allocations: 1.868 GB / 3.079 GB, free: 7.895 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/3.912, allocations: 75.95 kB / 3.08 GB, free: 7.82 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.9355/4.848, allocations: 221.6 MB / 3.296 GB, free: 250 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.634e-05/4.848, allocations: 8 kB / 3.296 GB, free: 250 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007868/4.849, allocations: 0.5601 MB / 3.297 GB, free: 249.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/4.849, allocations: 8.031 kB / 3.297 GB, free: 249.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/4.849, allocations: 59.58 kB / 3.297 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/4.85, allocations: 301.4 kB / 3.297 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/4.85, allocations: 4 kB / 3.297 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/4.85, allocations: 12 kB / 3.297 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001791/4.85, allocations: 91.97 kB / 3.297 GB, free: 248.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/4.85, allocations: 152.2 kB / 3.297 GB, free: 248.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/4.85, allocations: 3.938 kB / 3.297 GB, free: 248.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/4.85, allocations: 0 / 3.297 GB, free: 248.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/4.85, allocations: 4 kB / 3.297 GB, free: 248.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008524/4.851, allocations: 0.7549 MB / 3.298 GB, free: 247.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/4.851, allocations: 70.48 kB / 3.298 GB, free: 247.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/4.851, allocations: 52.91 kB / 3.298 GB, free: 247.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/4.852, allocations: 194.2 kB / 3.298 GB, free: 247.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/4.852, allocations: 34.56 kB / 3.298 GB, free: 247.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/4.852, allocations: 0 / 3.298 GB, free: 247.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004399/4.852, allocations: 145.5 kB / 3.298 GB, free: 247.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/4.852, allocations: 55.41 kB / 3.298 GB, free: 247.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/4.852, allocations: 188.3 kB / 3.299 GB, free: 247.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/4.852, allocations: 25.7 kB / 3.299 GB, free: 247.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/4.852, allocations: 124.2 kB / 3.299 GB, free: 247 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/4.852, allocations: 35.48 kB / 3.299 GB, free: 246.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/4.852, allocations: 0 / 3.299 GB, free: 246.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.578e-05/4.852, allocations: 330.8 kB / 3.299 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/4.853, allocations: 24.09 kB / 3.299 GB, free: 246.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/4.853, allocations: 94.78 kB / 3.299 GB, free: 246.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/4.853, allocations: 35.92 kB / 3.299 GB, free: 246.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/4.853, allocations: 0 / 3.299 GB, free: 246.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001606/4.853, allocations: 121.3 kB / 3.299 GB, free: 246.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/4.853, allocations: 363.9 kB / 3.3 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/4.853, allocations: 4 kB / 3.3 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/4.853, allocations: 0 / 3.3 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/4.853, allocations: 27.98 kB / 3.3 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/4.853, allocations: 7.875 kB / 3.3 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/4.853, allocations: 23.97 kB / 3.3 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/4.853, allocations: 8 kB / 3.3 GB, free: 245.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.555e-06/4.853, allocations: 4 kB / 3.3 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001115/4.853, allocations: 71.89 kB / 3.3 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/4.853, allocations: 3.984 kB / 3.3 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-06/4.853, allocations: 4 kB / 3.3 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/4.854, allocations: 19.98 kB / 3.3 GB, free: 245.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/4.854, allocations: 7.984 kB / 3.3 GB, free: 245.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/4.854, allocations: 20.02 kB / 3.3 GB, free: 245.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/4.854, allocations: 8.281 kB / 3.3 GB, free: 245.7 MB / 1.151 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 7.062e-05/4.854, allocations: 114.5 kB / 3.3 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/4.854, allocations: 19.8 kB / 3.3 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/4.854, allocations: 127.3 kB / 3.3 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/4.854, allocations: 7.844 kB / 3.3 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/4.854, allocations: 0 / 3.3 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/4.854, allocations: 0 / 3.3 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/4.855, allocations: 0.5163 MB / 3.301 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/4.855, allocations: 0 / 3.301 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/4.855, allocations: 39.91 kB / 3.301 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/4.855, allocations: 0 / 3.301 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/4.855, allocations: 4 kB / 3.301 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/4.855, allocations: 4.219 kB / 3.301 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/4.855, allocations: 4.281 kB / 3.301 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001962/4.855, allocations: 341.1 kB / 3.301 GB, free: 244.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/4.855, allocations: 108.8 kB / 3.301 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/4.855, allocations: 3.984 kB / 3.301 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/4.855, allocations: 19.98 kB / 3.301 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/4.855, allocations: 23.83 kB / 3.301 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/4.856, allocations: 4 kB / 3.301 GB, free: 244.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.18e-05/4.856, allocations: 152.5 kB / 3.301 GB, free: 244 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005952/4.856, allocations: 155.8 kB / 3.301 GB, free: 243.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: 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.00127/4.857, allocations: 1.033 MB / 3.302 GB, free: 242.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002255/4.858, allocations: 121.2 kB / 3.303 GB, free: 242.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/4.858, allocations: 4 kB / 3.303 GB, free: 242.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.678e-05/4.858, allocations: 56.09 kB / 3.303 GB, free: 242.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/4.858, allocations: 97.28 kB / 3.303 GB, free: 242.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/4.859, allocations: 286 kB / 3.303 GB, free: 242.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/4.859, allocations: 0.7829 MB / 3.304 GB, free: 241.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.6e-07/4.859, allocations: 0 / 3.304 GB, free: 241.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01466/4.874, allocations: 9.013 MB / 3.313 GB, free: 232.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches