Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") [: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 9.1.1-maint.9.1.x/package.mo): time 2.033/2.033, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001223/0.001223, allocations: 181.2 kB / 487 MB, free: 5.324 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.452/1.452, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 101.5 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.753e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2931, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.327/4.62, allocations: 1.922 GB / 3.127 GB, free: 386 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/4.62, allocations: 83.95 kB / 3.127 GB, free: 386 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.449/6.07, allocations: 490.3 MB / 3.606 GB, free: 311.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.034e-05/6.07, allocations: 18.03 kB / 3.606 GB, free: 311.5 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00201/6.072, allocations: 0.976 MB / 3.607 GB, free: 310.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/6.072, allocations: 9.469 kB / 3.607 GB, free: 310.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/6.073, allocations: 217.4 kB / 3.607 GB, free: 310.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/6.075, allocations: 0.6415 MB / 3.608 GB, free: 310.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/6.075, allocations: 14.09 kB / 3.608 GB, free: 310.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.549e-05/6.075, allocations: 28.62 kB / 3.608 GB, free: 310.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007891/6.076, allocations: 373.5 kB / 3.608 GB, free: 310.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/6.076, allocations: 401.4 kB / 3.609 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/6.076, allocations: 7.656 kB / 3.609 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/6.076, allocations: 0 / 3.609 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/6.076, allocations: 17.02 kB / 3.609 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/6.08, allocations: 2.068 MB / 3.611 GB, free: 308.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/6.08, allocations: 298.5 kB / 3.611 GB, free: 308.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/6.08, allocations: 194.6 kB / 3.611 GB, free: 308.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/6.081, allocations: 187.3 kB / 3.612 GB, free: 308.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/6.081, allocations: 40.28 kB / 3.612 GB, free: 308.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/6.081, allocations: 0 / 3.612 GB, free: 308.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001016/6.082, allocations: 391 kB / 3.612 GB, free: 308.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/6.082, allocations: 65.06 kB / 3.612 GB, free: 308.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/6.082, allocations: 377.2 kB / 3.612 GB, free: 308 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/6.082, allocations: 25.7 kB / 3.612 GB, free: 308 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/6.082, allocations: 232.7 kB / 3.613 GB, free: 307.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/6.082, allocations: 114.1 kB / 3.613 GB, free: 307.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/6.082, allocations: 0 / 3.613 GB, free: 307.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001124/6.083, allocations: 368.4 kB / 3.613 GB, free: 307.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/6.083, allocations: 117.1 kB / 3.613 GB, free: 307.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/6.083, allocations: 193.9 kB / 3.613 GB, free: 307.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/6.083, allocations: 151.7 kB / 3.613 GB, free: 307.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/6.083, allocations: 0 / 3.613 GB, free: 307.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005994/6.084, allocations: 375.9 kB / 3.614 GB, free: 307.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.176e-05/6.084, allocations: 361.3 kB / 3.614 GB, free: 306.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/6.084, allocations: 1.469 kB / 3.614 GB, free: 306.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/6.084, allocations: 2.469 kB / 3.614 GB, free: 306.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/6.084, allocations: 78.59 kB / 3.614 GB, free: 306.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/6.084, allocations: 5.906 kB / 3.614 GB, free: 306.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006188/6.085, allocations: 59.98 kB / 3.614 GB, free: 306.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/6.085, allocations: 15.12 kB / 3.614 GB, free: 306.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/6.085, allocations: 3.312 kB / 3.614 GB, free: 306.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004813/6.086, allocations: 285.9 kB / 3.615 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/6.086, allocations: 4 kB / 3.615 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/6.086, allocations: 7.469 kB / 3.615 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/6.086, allocations: 77.88 kB / 3.615 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/6.086, allocations: 2.094 kB / 3.615 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/6.087, allocations: 57.16 kB / 3.615 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/6.087, allocations: 13.78 kB / 3.615 GB, free: 306.6 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 (39): * Single equations (assignments): 39 * 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 0.0001017/6.087, allocations: 117.3 kB / 3.615 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/6.087, allocations: 55 kB / 3.615 GB, free: 306.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/6.087, allocations: 365.6 kB / 3.615 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/6.087, allocations: 3.594 kB / 3.615 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/6.087, allocations: 5.281 kB / 3.615 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004488/6.088, allocations: 393.1 kB / 3.616 GB, free: 306 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/6.09, allocations: 1.052 MB / 3.617 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/6.09, allocations: 4.969 kB / 3.617 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/6.09, allocations: 92.06 kB / 3.617 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/6.09, allocations: 2.938 kB / 3.617 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/6.09, allocations: 10.81 kB / 3.617 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/6.09, allocations: 3.406 kB / 3.617 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/6.09, allocations: 5.156 kB / 3.617 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000888/6.091, allocations: 0.7097 MB / 3.618 GB, free: 305 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/6.091, allocations: 176.9 kB / 3.618 GB, free: 304.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/6.091, allocations: 6.781 kB / 3.618 GB, free: 304.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/6.092, allocations: 45.05 kB / 3.618 GB, free: 304.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/6.092, allocations: 23.69 kB / 3.618 GB, free: 304.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/6.092, allocations: 17.84 kB / 3.618 GB, free: 304.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003348/6.092, allocations: 294.3 kB / 3.618 GB, free: 304.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001327/6.094, allocations: 410.9 kB / 3.618 GB, free: 304.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.002175/6.096, allocations: 1.434 MB / 3.62 GB, free: 304.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008989/6.097, allocations: 485.6 kB / 3.62 GB, free: 304.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/6.097, allocations: 1.156 kB / 3.62 GB, free: 304.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/6.097, allocations: 162 kB / 3.62 GB, free: 304 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/6.099, allocations: 320 kB / 3.621 GB, free: 304 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/6.101, allocations: 0.9706 MB / 3.622 GB, free: 303.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006628/6.101, allocations: 0.9934 MB / 3.623 GB, free: 302.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.613e-06/6.101, allocations: 0 / 3.623 GB, free: 302.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03854/6.14, allocations: 19.15 MB / 3.641 GB, free: 296.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_9_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches