Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 190.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 97.92 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003602, allocations: 12.34 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2188, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.59/5.809, allocations: 2.196 GB / 3.096 GB, free: 293.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/5.809, allocations: 95.95 kB / 3.096 GB, free: 293.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.555/7.364, allocations: 469.8 MB / 3.555 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.373e-06/7.364, allocations: 4 kB / 3.555 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000141/7.364, allocations: 16 kB / 3.555 GB, free: 157.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.003964/7.368, allocations: 1.087 MB / 3.556 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/7.368, allocations: 12.03 kB / 3.556 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/7.37, allocations: 212.4 kB / 3.556 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/7.372, allocations: 0.6291 MB / 3.556 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/7.372, allocations: 33 kB / 3.557 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/7.372, allocations: 59.59 kB / 3.557 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/7.373, allocations: 482.4 kB / 3.557 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/7.373, allocations: 11.98 kB / 3.557 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/7.373, allocations: 16 kB / 3.557 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/7.373, allocations: 17 kB / 3.557 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008591/7.374, allocations: 423.8 kB / 3.557 GB, free: 154.3 MB / 0.8698 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.003299/7.378, allocations: 2.025 MB / 3.559 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/7.378, allocations: 319.6 kB / 3.56 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/7.378, allocations: 194.5 kB / 3.56 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/7.379, allocations: 42.78 kB / 3.56 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/7.379, allocations: 3.938 kB / 3.56 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.00126/7.38, allocations: 0.5355 MB / 3.561 GB, free: 151 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/7.38, allocations: 55.41 kB / 3.561 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/7.38, allocations: 454.3 kB / 3.561 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/7.38, allocations: 37.7 kB / 3.561 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/7.381, allocations: 304.1 kB / 3.561 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/7.381, allocations: 118.3 kB / 3.561 GB, free: 150 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/7.381, allocations: 8 kB / 3.561 GB, free: 150 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001062/7.381, allocations: 362.8 kB / 3.562 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/7.381, allocations: 132.6 kB / 3.562 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/7.381, allocations: 223.3 kB / 3.562 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/7.382, allocations: 171.7 kB / 3.562 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/7.382, allocations: 0 / 3.562 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006507/7.382, allocations: 428.5 kB / 3.563 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/7.382, allocations: 369.8 kB / 3.563 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/7.382, allocations: 0 / 3.563 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/7.382, allocations: 4 kB / 3.563 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/7.383, allocations: 71.91 kB / 3.563 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/7.383, allocations: 4 kB / 3.563 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/7.384, allocations: 63.64 kB / 3.563 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/7.384, allocations: 19.94 kB / 3.563 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/7.384, allocations: 4 kB / 3.563 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005349/7.384, allocations: 347.6 kB / 3.564 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/7.384, allocations: 0 / 3.564 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/7.384, allocations: 0 / 3.564 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/7.384, allocations: 79.89 kB / 3.564 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/7.384, allocations: 4.094 kB / 3.564 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005975/7.385, allocations: 63.64 kB / 3.564 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/7.385, allocations: 16 kB / 3.564 GB, free: 147.6 MB / 0.8698 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.0003221/7.385, allocations: 293 kB / 3.564 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/7.386, allocations: 59.3 kB / 3.564 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000684/7.386, allocations: 442.9 kB / 3.564 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/7.386, allocations: 4 kB / 3.564 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/7.386, allocations: 3.938 kB / 3.564 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004836/7.387, allocations: 428.3 kB / 3.565 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/7.389, allocations: 1.175 MB / 3.566 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/7.389, allocations: 4 kB / 3.566 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/7.389, allocations: 87.89 kB / 3.566 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/7.389, allocations: 4 kB / 3.566 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/7.389, allocations: 8 kB / 3.566 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/7.389, allocations: 4.094 kB / 3.566 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/7.389, allocations: 3.938 kB / 3.566 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/7.39, allocations: 0.8032 MB / 3.567 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/7.39, allocations: 180.3 kB / 3.567 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/7.39, allocations: 12 kB / 3.567 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/7.391, allocations: 51.94 kB / 3.567 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/7.391, allocations: 27.86 kB / 3.567 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/7.391, allocations: 12 kB / 3.567 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004068/7.392, allocations: 362.8 kB / 3.568 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.6e-07/7.392, allocations: 0 / 3.568 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001428/7.393, allocations: 451.2 kB / 3.568 GB, free: 143 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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.002148/7.395, allocations: 1.267 MB / 3.569 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001029/7.396, allocations: 0.5109 MB / 3.57 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/7.396, allocations: 4 kB / 3.57 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/7.396, allocations: 180.2 kB / 3.57 GB, free: 141 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/7.398, allocations: 364.2 kB / 3.57 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/7.401, allocations: 1.561 MB / 3.572 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/7.401, allocations: 0.9451 MB / 3.573 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007701/7.402, allocations: 184.8 kB / 3.573 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/7.402, allocations: 55.42 kB / 3.573 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/7.402, allocations: 0 / 3.573 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.03775/7.44, allocations: 26.1 MB / 3.598 GB, free: 111.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Delays_Examples_Delay.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches