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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.542/2.542, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001146/0.001145, allocations: 179.3 kB / 498.1 MB, free: 5.738 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.612/1.612, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009979/0.0009978, allocations: 100.2 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 6.938 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3667, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.526/4.893, allocations: 1.923 GB / 3.146 GB, free: 15.37 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/4.893, allocations: 97.52 kB / 3.146 GB, free: 15.32 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.701/7.594, allocations: 490.9 MB / 3.625 GB, free: 305.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.535e-06/7.594, allocations: 0 / 3.625 GB, free: 305.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.982e-05/7.594, allocations: 23.09 kB / 3.625 GB, free: 305.3 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.00321/7.597, allocations: 1.087 MB / 3.626 GB, free: 304.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.656e-05/7.598, allocations: 12.5 kB / 3.626 GB, free: 304.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/7.599, allocations: 204.8 kB / 3.627 GB, free: 304.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/7.601, allocations: 0.6329 MB / 3.627 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/7.601, allocations: 39.05 kB / 3.627 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/7.601, allocations: 51.62 kB / 3.627 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/7.602, allocations: 492.2 kB / 3.628 GB, free: 304.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/7.602, allocations: 0 / 3.628 GB, free: 304.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/7.602, allocations: 16.88 kB / 3.628 GB, free: 304.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/7.602, allocations: 15.88 kB / 3.628 GB, free: 304.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/7.603, allocations: 427.4 kB / 3.628 GB, free: 304.5 MB / 1.151 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003154/7.606, allocations: 2.021 MB / 3.63 GB, free: 303.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/7.607, allocations: 338.2 kB / 3.63 GB, free: 303.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/7.607, allocations: 195.4 kB / 3.631 GB, free: 303.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/7.607, allocations: 35.66 kB / 3.631 GB, free: 303.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/7.607, allocations: 0 / 3.631 GB, free: 303.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001271/7.608, allocations: 0.5442 MB / 3.631 GB, free: 303.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/7.608, allocations: 58.86 kB / 3.631 GB, free: 303.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/7.609, allocations: 447.8 kB / 3.632 GB, free: 303.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/7.609, allocations: 35.64 kB / 3.632 GB, free: 303.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/7.609, allocations: 302.8 kB / 3.632 GB, free: 302.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/7.609, allocations: 120.3 kB / 3.632 GB, free: 302.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/7.609, allocations: 13.42 kB / 3.632 GB, free: 302.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001255/7.61, allocations: 363.3 kB / 3.633 GB, free: 302.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/7.61, allocations: 134.3 kB / 3.633 GB, free: 302.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/7.61, allocations: 224.3 kB / 3.633 GB, free: 302.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/7.61, allocations: 164.5 kB / 3.633 GB, free: 302.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/7.61, allocations: 0 / 3.633 GB, free: 302.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006684/7.611, allocations: 440 kB / 3.633 GB, free: 302.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/7.611, allocations: 357 kB / 3.634 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/7.611, allocations: 1.062 kB / 3.634 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/7.611, allocations: 6.484 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/7.612, allocations: 79.78 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/7.612, allocations: 5.781 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000713/7.612, allocations: 64.95 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/7.613, allocations: 14.09 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/7.613, allocations: 4 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006785/7.613, allocations: 347 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/7.613, allocations: 1.125 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/7.613, allocations: 6.094 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/7.614, allocations: 70.55 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/7.614, allocations: 5.656 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/7.614, allocations: 73.55 kB / 3.634 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/7.614, allocations: 20.16 kB / 3.634 GB, free: 302 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 () * Number of clocked 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.0003507/7.615, allocations: 292.3 kB / 3.635 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/7.615, allocations: 58.44 kB / 3.635 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008521/7.615, allocations: 431.4 kB / 3.635 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/7.615, allocations: 3.719 kB / 3.635 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/7.616, allocations: 0.9688 kB / 3.635 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005573/7.616, allocations: 444.4 kB / 3.636 GB, free: 301.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/7.618, allocations: 1.177 MB / 3.637 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/7.618, allocations: 3.125 kB / 3.637 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/7.618, allocations: 87.67 kB / 3.637 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/7.618, allocations: 3.719 kB / 3.637 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/7.618, allocations: 9.812 kB / 3.637 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/7.618, allocations: 11.08 kB / 3.637 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/7.618, allocations: 3.953 kB / 3.637 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009851/7.619, allocations: 0.7769 MB / 3.638 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/7.62, allocations: 186.8 kB / 3.638 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/7.62, allocations: 10.69 kB / 3.638 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/7.62, allocations: 57.38 kB / 3.638 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/7.62, allocations: 23.61 kB / 3.638 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/7.62, allocations: 18.28 kB / 3.638 GB, free: 300.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003771/7.621, allocations: 356 kB / 3.638 GB, free: 300.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/7.621, allocations: 3.312 kB / 3.638 GB, free: 300.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001554/7.622, allocations: 442.1 kB / 3.639 GB, free: 300.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 () * Number of clocked 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.002024/7.624, allocations: 1.262 MB / 3.64 GB, free: 300.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00102/7.625, allocations: 0.5157 MB / 3.64 GB, free: 300.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/7.625, allocations: 0 / 3.64 GB, free: 300.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/7.626, allocations: 186 kB / 3.641 GB, free: 300.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/7.627, allocations: 362.5 kB / 3.641 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/7.629, allocations: 1.559 MB / 3.642 GB, free: 299.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/7.63, allocations: 0.9431 MB / 3.643 GB, free: 299 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006825/7.631, allocations: 183.2 kB / 3.644 GB, free: 298.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/7.631, allocations: 49.28 kB / 3.644 GB, free: 298.9 MB / 1.151 GB Notification: Performance of SimCode: time 8.62e-07/7.631, allocations: 0 / 3.644 GB, free: 298.9 MB / 1.151 GB Notification: Performance of Templates: time 0.04495/7.676, allocations: 25.95 MB / 3.669 GB, free: 298.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