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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.467/2.467, allocations: 390.5 MB / 398 MB, free: 10.89 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.00147/0.00147, allocations: 183.7 kB / 491.2 MB, free: 1.531 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.68/1.68, allocations: 221.5 MB / 0.7868 GB, free: 13.22 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.001154/0.001155, allocations: 91.83 kB / 0.9269 GB, free: 13.71 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.375e-05/2.377e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3346, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.939/6.273, allocations: 1.923 GB / 3.135 GB, free: 342.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/6.274, allocations: 85.95 kB / 3.135 GB, free: 342.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.81/8.084, allocations: 485 MB / 3.609 GB, free: 311 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/8.084, allocations: 0 / 3.609 GB, free: 311 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.505e-05/8.084, allocations: 21.39 kB / 3.609 GB, free: 311 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.002621/8.087, allocations: 0.9751 MB / 3.61 GB, free: 310.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/8.087, allocations: 9.875 kB / 3.61 GB, free: 310.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/8.088, allocations: 209.9 kB / 3.61 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/8.09, allocations: 0.6213 MB / 3.611 GB, free: 309.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/8.09, allocations: 14.06 kB / 3.611 GB, free: 309.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/8.09, allocations: 28.56 kB / 3.611 GB, free: 309.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006905/8.091, allocations: 370.8 kB / 3.611 GB, free: 309.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/8.091, allocations: 389.3 kB / 3.612 GB, free: 309.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/8.091, allocations: 11.09 kB / 3.612 GB, free: 309.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/8.092, allocations: 3.984 kB / 3.612 GB, free: 309.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/8.092, allocations: 18.16 kB / 3.612 GB, free: 309.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/8.094, allocations: 1.906 MB / 3.614 GB, free: 307.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/8.095, allocations: 304.6 kB / 3.614 GB, free: 307.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/8.095, allocations: 181.8 kB / 3.614 GB, free: 307.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/8.095, allocations: 194.9 kB / 3.614 GB, free: 307.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/8.095, allocations: 30.84 kB / 3.614 GB, free: 307.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/8.095, allocations: 0 / 3.614 GB, free: 307.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0008706/8.096, allocations: 371.6 kB / 3.615 GB, free: 307.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/8.096, allocations: 61.69 kB / 3.615 GB, free: 307.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/8.097, allocations: 378 kB / 3.615 GB, free: 306.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/8.097, allocations: 25.7 kB / 3.615 GB, free: 306.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/8.097, allocations: 309.3 kB / 3.615 GB, free: 306.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.745e-05/8.097, allocations: 112.6 kB / 3.615 GB, free: 306.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/8.097, allocations: 2.516 kB / 3.615 GB, free: 306.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/8.097, allocations: 360 kB / 3.616 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/8.097, allocations: 112 kB / 3.616 GB, free: 306.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/8.098, allocations: 200.9 kB / 3.616 GB, free: 305.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/8.098, allocations: 146.4 kB / 3.616 GB, free: 305.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/8.098, allocations: 0 / 3.616 GB, free: 305.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005317/8.098, allocations: 375 kB / 3.617 GB, free: 305.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/8.098, allocations: 362.4 kB / 3.617 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/8.098, allocations: 0 / 3.617 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/8.098, allocations: 3.906 kB / 3.617 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/8.099, allocations: 77.39 kB / 3.617 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/8.099, allocations: 0 / 3.617 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/8.099, allocations: 63.58 kB / 3.617 GB, free: 305.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/8.1, allocations: 11.31 kB / 3.617 GB, free: 305.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/8.1, allocations: 3.719 kB / 3.617 GB, free: 305.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003833/8.1, allocations: 282.1 kB / 3.617 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/8.1, allocations: 0 / 3.617 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.02e-06/8.1, allocations: 7.688 kB / 3.617 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/8.1, allocations: 77.17 kB / 3.617 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/8.1, allocations: 3.938 kB / 3.617 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/8.101, allocations: 57.58 kB / 3.617 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/8.101, allocations: 10.92 kB / 3.617 GB, free: 305.1 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.000106/8.101, allocations: 108.2 kB / 3.618 GB, free: 305 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/8.101, allocations: 64.53 kB / 3.618 GB, free: 304.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000535/8.102, allocations: 354.7 kB / 3.618 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/8.102, allocations: 3.906 kB / 3.618 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.939e-05/8.102, allocations: 3.953 kB / 3.618 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003636/8.102, allocations: 386 kB / 3.618 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/8.103, allocations: 1.044 MB / 3.619 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/8.104, allocations: 3.875 kB / 3.619 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/8.104, allocations: 93.88 kB / 3.619 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/8.104, allocations: 3.812 kB / 3.619 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/8.104, allocations: 3.812 kB / 3.619 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/8.104, allocations: 3.984 kB / 3.619 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/8.104, allocations: 3.969 kB / 3.619 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/8.105, allocations: 0.6931 MB / 3.62 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/8.105, allocations: 175 kB / 3.62 GB, free: 303 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.279e-05/8.105, allocations: 7.953 kB / 3.62 GB, free: 303 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005283/8.106, allocations: 41.02 kB / 3.62 GB, free: 303 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/8.106, allocations: 27.72 kB / 3.62 GB, free: 302.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/8.106, allocations: 14.84 kB / 3.62 GB, free: 302.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002819/8.106, allocations: 289.6 kB / 3.621 GB, free: 302.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/8.106, allocations: 0 / 3.621 GB, free: 302.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001212/8.107, allocations: 412.4 kB / 3.621 GB, free: 302.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.002194/8.109, allocations: 1.435 MB / 3.622 GB, free: 302.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007139/8.11, allocations: 470.6 kB / 3.623 GB, free: 301.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/8.11, allocations: 3.391 kB / 3.623 GB, free: 301.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/8.11, allocations: 155 kB / 3.623 GB, free: 301.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/8.112, allocations: 332.7 kB / 3.623 GB, free: 301.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/8.114, allocations: 0.9593 MB / 3.624 GB, free: 301.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/8.114, allocations: 0.953 MB / 3.625 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008115/8.115, allocations: 212.2 kB / 3.625 GB, free: 300.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/8.115, allocations: 40.78 kB / 3.625 GB, free: 300.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/8.115, allocations: 3.281 kB / 3.625 GB, free: 300.2 MB / 1.151 GB Notification: Performance of Templates: time 0.02858/8.144, allocations: 17.82 MB / 3.643 GB, free: 285.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