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.256/2.256, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001175/0.001175, allocations: 184.9 kB / 492.3 MB, free: 0.6133 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.751/1.751, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.001037/0.001037, allocations: 95.88 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.184e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.341, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.547/5.888, allocations: 1.923 GB / 3.135 GB, free: 407.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/5.889, allocations: 87.89 kB / 3.135 GB, free: 407.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.733/7.621, allocations: 490.5 MB / 3.614 GB, free: 307.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.503e-06/7.622, allocations: 0 / 3.614 GB, free: 307.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.211e-05/7.622, allocations: 23.86 kB / 3.614 GB, free: 307.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.002194/7.624, allocations: 0.9735 MB / 3.615 GB, free: 306.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/7.624, allocations: 7.344 kB / 3.615 GB, free: 306.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/7.625, allocations: 209.8 kB / 3.616 GB, free: 306.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/7.626, allocations: 0.625 MB / 3.616 GB, free: 306.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/7.626, allocations: 37.69 kB / 3.616 GB, free: 306.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/7.627, allocations: 52.31 kB / 3.616 GB, free: 306.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008623/7.627, allocations: 459.8 kB / 3.617 GB, free: 306.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/7.627, allocations: 0 / 3.617 GB, free: 306.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/7.628, allocations: 17.72 kB / 3.617 GB, free: 306.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/7.628, allocations: 16.53 kB / 3.617 GB, free: 306.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006254/7.628, allocations: 387.2 kB / 3.617 GB, free: 306.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.002576/7.631, allocations: 2.018 MB / 3.619 GB, free: 305.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/7.631, allocations: 315.7 kB / 3.619 GB, free: 305.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/7.632, allocations: 194.8 kB / 3.62 GB, free: 305.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/7.632, allocations: 187.1 kB / 3.62 GB, free: 305.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/7.632, allocations: 37.75 kB / 3.62 GB, free: 305.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/7.632, allocations: 3.656 kB / 3.62 GB, free: 305.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0008108/7.633, allocations: 382.3 kB / 3.62 GB, free: 305.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/7.633, allocations: 55.31 kB / 3.62 GB, free: 305 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/7.633, allocations: 446.7 kB / 3.621 GB, free: 304.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/7.633, allocations: 36.23 kB / 3.621 GB, free: 304.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/7.634, allocations: 304.1 kB / 3.621 GB, free: 304.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/7.634, allocations: 115.7 kB / 3.621 GB, free: 304.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/7.634, allocations: 7.375 kB / 3.621 GB, free: 304.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001314/7.634, allocations: 374.9 kB / 3.621 GB, free: 304.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/7.634, allocations: 114.9 kB / 3.621 GB, free: 304.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/7.634, allocations: 205.4 kB / 3.622 GB, free: 304.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/7.634, allocations: 143 kB / 3.622 GB, free: 304.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/7.634, allocations: 0 / 3.622 GB, free: 304.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005111/7.635, allocations: 397.5 kB / 3.622 GB, free: 304.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/7.635, allocations: 368.9 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/7.635, allocations: 3.828 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/7.635, allocations: 3.375 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/7.635, allocations: 73.98 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/7.635, allocations: 6.969 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/7.636, allocations: 69.98 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/7.636, allocations: 11.12 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/7.636, allocations: 3.844 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004182/7.637, allocations: 305.8 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/7.637, allocations: 9.875 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/7.637, allocations: 7.109 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/7.637, allocations: 72.12 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/7.637, allocations: 0 / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/7.637, allocations: 69.86 kB / 3.623 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/7.637, allocations: 17.34 kB / 3.623 GB, free: 303.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 9.42e-05/7.637, allocations: 125.8 kB / 3.623 GB, free: 303.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/7.638, allocations: 59.12 kB / 3.623 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/7.638, allocations: 390.6 kB / 3.624 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/7.638, allocations: 3.969 kB / 3.624 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/7.638, allocations: 0 / 3.624 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003792/7.639, allocations: 403.8 kB / 3.624 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/7.64, allocations: 1.148 MB / 3.625 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/7.64, allocations: 4 kB / 3.625 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/7.64, allocations: 83.05 kB / 3.625 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/7.64, allocations: 10.17 kB / 3.625 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/7.64, allocations: 7.062 kB / 3.625 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/7.64, allocations: 8.328 kB / 3.625 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/7.64, allocations: 6.125 kB / 3.625 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/7.641, allocations: 0.7174 MB / 3.626 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/7.641, allocations: 174.7 kB / 3.626 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/7.641, allocations: 19.16 kB / 3.626 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/7.642, allocations: 52.31 kB / 3.626 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/7.642, allocations: 29.72 kB / 3.626 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/7.642, allocations: 9.531 kB / 3.626 GB, free: 302.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003302/7.642, allocations: 358.3 kB / 3.627 GB, free: 302.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/7.642, allocations: 0 / 3.627 GB, free: 302.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00124/7.644, allocations: 440 kB / 3.627 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.001596/7.645, allocations: 1.268 MB / 3.628 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007143/7.646, allocations: 493.5 kB / 3.629 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/7.646, allocations: 0 / 3.629 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/7.646, allocations: 166.1 kB / 3.629 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/7.648, allocations: 370.6 kB / 3.629 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/7.649, allocations: 0.9757 MB / 3.63 GB, free: 301.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/7.65, allocations: 0.9472 MB / 3.631 GB, free: 301.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007555/7.65, allocations: 238.7 kB / 3.631 GB, free: 301.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/7.65, allocations: 43.84 kB / 3.631 GB, free: 301.2 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/7.65, allocations: 0 / 3.631 GB, free: 301.2 MB / 1.151 GB Notification: Performance of Templates: time 0.03809/7.689, allocations: 30.46 MB / 3.661 GB, free: 295.5 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