Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.023/2.023, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001199/0.001199, allocations: 184.5 kB / 490.8 MB, free: 1.922 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.276/1.276, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0009878/0.0009878, allocations: 93.73 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.334e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2642, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.117/4.381, allocations: 1.923 GB / 3.134 GB, free: 414.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/4.382, allocations: 87.95 kB / 3.135 GB, free: 414 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.525/5.906, allocations: 490.3 MB / 3.613 GB, free: 303.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.96e-05/5.907, allocations: 21.47 kB / 3.613 GB, free: 303.4 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.002198/5.909, allocations: 0.9745 MB / 3.614 GB, free: 302.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/5.909, allocations: 7.938 kB / 3.614 GB, free: 302.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/5.91, allocations: 228.8 kB / 3.615 GB, free: 302.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/5.912, allocations: 0.632 MB / 3.615 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/5.912, allocations: 16.44 kB / 3.615 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/5.912, allocations: 26.16 kB / 3.615 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006764/5.913, allocations: 378.7 kB / 3.616 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/5.913, allocations: 395 kB / 3.616 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/5.913, allocations: 3.344 kB / 3.616 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/5.914, allocations: 7.547 kB / 3.616 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/5.914, allocations: 19.91 kB / 3.616 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/5.916, allocations: 2.077 MB / 3.618 GB, free: 301.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/5.917, allocations: 295.3 kB / 3.618 GB, free: 301.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/5.917, allocations: 190 kB / 3.618 GB, free: 301.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/5.917, allocations: 195 kB / 3.619 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/5.917, allocations: 37.78 kB / 3.619 GB, free: 301.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/5.918, allocations: 0 / 3.619 GB, free: 301.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0009921/5.919, allocations: 387.5 kB / 3.619 GB, free: 301.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/5.919, allocations: 55.34 kB / 3.619 GB, free: 301.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/5.919, allocations: 376.3 kB / 3.619 GB, free: 301 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/5.919, allocations: 29.02 kB / 3.619 GB, free: 301 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/5.919, allocations: 233.9 kB / 3.62 GB, free: 300.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/5.919, allocations: 114.8 kB / 3.62 GB, free: 300.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/5.919, allocations: 0 / 3.62 GB, free: 300.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/5.919, allocations: 362.5 kB / 3.62 GB, free: 300.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/5.92, allocations: 114.6 kB / 3.62 GB, free: 300.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/5.92, allocations: 205.2 kB / 3.62 GB, free: 300.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/5.92, allocations: 145.6 kB / 3.621 GB, free: 300.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/5.92, allocations: 3.25 kB / 3.621 GB, free: 300.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005325/5.921, allocations: 377.5 kB / 3.621 GB, free: 300.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.229e-05/5.921, allocations: 365.3 kB / 3.621 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/5.921, allocations: 3.578 kB / 3.621 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/5.921, allocations: 3.844 kB / 3.621 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/5.921, allocations: 75.33 kB / 3.621 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/5.921, allocations: 7.453 kB / 3.621 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/5.922, allocations: 59.48 kB / 3.621 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/5.922, allocations: 17.81 kB / 3.621 GB, free: 299.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/5.922, allocations: 3.875 kB / 3.621 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004008/5.922, allocations: 282.7 kB / 3.622 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/5.922, allocations: 0 / 3.622 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/5.922, allocations: 2.688 kB / 3.622 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/5.922, allocations: 81.66 kB / 3.622 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/5.923, allocations: 2.75 kB / 3.622 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/5.923, allocations: 61.98 kB / 3.622 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/5.923, allocations: 13.53 kB / 3.622 GB, free: 299.9 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.0001037/5.923, allocations: 114.4 kB / 3.622 GB, free: 299.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/5.923, allocations: 60.38 kB / 3.622 GB, free: 299.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005433/5.924, allocations: 368.1 kB / 3.622 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/5.924, allocations: 0 / 3.622 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/5.924, allocations: 3.625 kB / 3.622 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003677/5.924, allocations: 384.9 kB / 3.623 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/5.926, allocations: 1.05 MB / 3.624 GB, free: 299.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/5.926, allocations: 0 / 3.624 GB, free: 299.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/5.926, allocations: 93.06 kB / 3.624 GB, free: 299.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/5.926, allocations: 3.375 kB / 3.624 GB, free: 299.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/5.926, allocations: 5.688 kB / 3.624 GB, free: 299.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/5.926, allocations: 11 kB / 3.624 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/5.926, allocations: 0 / 3.624 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007038/5.927, allocations: 0.7174 MB / 3.625 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/5.927, allocations: 176.2 kB / 3.625 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/5.927, allocations: 2.75 kB / 3.625 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/5.928, allocations: 53.72 kB / 3.625 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/5.928, allocations: 21.58 kB / 3.625 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/5.928, allocations: 17.73 kB / 3.625 GB, free: 298.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002682/5.928, allocations: 292.2 kB / 3.625 GB, free: 298.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001136/5.929, allocations: 411.9 kB / 3.626 GB, free: 298.7 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.00163/5.931, allocations: 1.44 MB / 3.627 GB, free: 298.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000676/5.932, allocations: 479 kB / 3.627 GB, free: 298.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/5.932, allocations: 3.969 kB / 3.627 GB, free: 298.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/5.932, allocations: 160.1 kB / 3.628 GB, free: 298.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/5.933, allocations: 333.6 kB / 3.628 GB, free: 298.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/5.935, allocations: 0.9711 MB / 3.629 GB, free: 298 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/5.936, allocations: 0.9979 MB / 3.63 GB, free: 297.3 MB / 1.151 GB Notification: Performance of SimCode: time 3.21e-07/5.936, allocations: 0 / 3.63 GB, free: 297.3 MB / 1.151 GB Notification: Performance of Templates: time 0.03453/5.97, allocations: 19.16 MB / 3.649 GB, free: 296.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches