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.258/2.258, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001444/0.001444, allocations: 182.8 kB / 0.4902 GB, free: 2.227 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.577/1.577, allocations: 223.2 MB / 0.7992 GB, free: 14.68 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.0009121/0.0009121, allocations: 99.08 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 7.188 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.703/5.009, allocations: 1.924 GB / 3.153 GB, free: 57.84 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/5.01, allocations: 89.03 kB / 3.153 GB, free: 57.75 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.761/6.771, allocations: 490.9 MB / 3.632 GB, free: 29.87 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.132e-06/6.771, allocations: 0 / 3.632 GB, free: 29.87 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.293e-05/6.771, allocations: 23.98 kB / 3.632 GB, free: 29.84 MB / 1.167 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.002177/6.774, allocations: 1.091 MB / 3.634 GB, free: 28.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/6.774, allocations: 8.828 kB / 3.634 GB, free: 28.69 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/6.775, allocations: 210.8 kB / 3.634 GB, free: 28.48 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/6.776, allocations: 0.6282 MB / 3.634 GB, free: 27.82 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/6.776, allocations: 37 kB / 3.634 GB, free: 27.78 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/6.776, allocations: 55.89 kB / 3.634 GB, free: 27.73 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00077/6.777, allocations: 478.4 kB / 3.635 GB, free: 27.25 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/6.777, allocations: 3.938 kB / 3.635 GB, free: 27.25 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/6.777, allocations: 20 kB / 3.635 GB, free: 27.23 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/6.777, allocations: 17 kB / 3.635 GB, free: 27.21 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000663/6.778, allocations: 431.7 kB / 3.635 GB, free: 26.79 MB / 1.167 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.002358/6.78, allocations: 2.006 MB / 3.637 GB, free: 24.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/6.781, allocations: 335.5 kB / 3.638 GB, free: 24.27 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/6.781, allocations: 190.5 kB / 3.638 GB, free: 24.04 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/6.781, allocations: 42.78 kB / 3.638 GB, free: 23.99 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/6.781, allocations: 0 / 3.638 GB, free: 23.99 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.00112/6.782, allocations: 0.551 MB / 3.638 GB, free: 23.44 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/6.782, allocations: 51.41 kB / 3.638 GB, free: 23.38 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/6.783, allocations: 458.2 kB / 3.639 GB, free: 22.92 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/6.783, allocations: 29.7 kB / 3.639 GB, free: 22.88 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/6.783, allocations: 312.2 kB / 3.639 GB, free: 22.57 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.407e-05/6.783, allocations: 114.3 kB / 3.639 GB, free: 22.46 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/6.783, allocations: 4 kB / 3.639 GB, free: 22.46 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001062/6.783, allocations: 366.8 kB / 3.64 GB, free: 22.09 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/6.783, allocations: 140.6 kB / 3.64 GB, free: 21.95 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/6.784, allocations: 225.6 kB / 3.64 GB, free: 21.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/6.784, allocations: 167.7 kB / 3.64 GB, free: 21.54 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/6.784, allocations: 0 / 3.64 GB, free: 21.54 MB / 1.167 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006134/6.784, allocations: 428.7 kB / 3.641 GB, free: 21.11 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.499e-05/6.785, allocations: 357.3 kB / 3.641 GB, free: 20.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/6.785, allocations: 4 kB / 3.641 GB, free: 20.73 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/6.785, allocations: 0 / 3.641 GB, free: 20.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/6.785, allocations: 79.89 kB / 3.641 GB, free: 20.65 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/6.785, allocations: 3.938 kB / 3.641 GB, free: 20.65 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/6.786, allocations: 67.64 kB / 3.641 GB, free: 20.58 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/6.786, allocations: 23.94 kB / 3.641 GB, free: 20.56 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/6.786, allocations: 4 kB / 3.641 GB, free: 20.55 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005304/6.786, allocations: 355.7 kB / 3.641 GB, free: 20.21 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/6.786, allocations: 80 / 3.641 GB, free: 20.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-06/6.786, allocations: 0 / 3.641 GB, free: 20.21 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/6.786, allocations: 83.98 kB / 3.641 GB, free: 20.12 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/6.786, allocations: 3.984 kB / 3.641 GB, free: 20.12 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/6.787, allocations: 67.64 kB / 3.642 GB, free: 20.05 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/6.787, allocations: 16 kB / 3.642 GB, free: 20.04 MB / 1.167 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.0002784/6.787, allocations: 285 kB / 3.642 GB, free: 19.75 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/6.787, allocations: 63.2 kB / 3.642 GB, free: 19.69 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006951/6.788, allocations: 439.2 kB / 3.642 GB, free: 19.25 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/6.788, allocations: 4 kB / 3.642 GB, free: 19.25 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/6.788, allocations: 0 / 3.642 GB, free: 19.25 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005095/6.789, allocations: 436.3 kB / 3.643 GB, free: 18.79 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/6.79, allocations: 1.184 MB / 3.644 GB, free: 17.54 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/6.79, allocations: 4 kB / 3.644 GB, free: 17.54 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/6.791, allocations: 87.89 kB / 3.644 GB, free: 17.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/6.791, allocations: 4 kB / 3.644 GB, free: 17.45 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/6.791, allocations: 11.98 kB / 3.644 GB, free: 17.43 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/6.791, allocations: 12.12 kB / 3.644 GB, free: 17.42 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/6.791, allocations: 0 / 3.644 GB, free: 17.42 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009175/6.792, allocations: 0.768 MB / 3.645 GB, free: 16.58 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/6.792, allocations: 180.3 kB / 3.645 GB, free: 16.39 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/6.792, allocations: 8 kB / 3.645 GB, free: 16.38 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000506/6.792, allocations: 59.73 kB / 3.645 GB, free: 16.32 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/6.792, allocations: 27.92 kB / 3.645 GB, free: 16.29 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/6.792, allocations: 15.98 kB / 3.645 GB, free: 16.28 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003387/6.793, allocations: 358.8 kB / 3.645 GB, free: 15.93 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.793, allocations: 4 kB / 3.645 GB, free: 15.93 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001277/6.794, allocations: 443.3 kB / 3.646 GB, free: 15.49 MB / 1.167 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.001731/6.796, allocations: 1.253 MB / 3.647 GB, free: 14.21 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009039/6.797, allocations: 0.5192 MB / 3.648 GB, free: 13.69 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/6.797, allocations: 0 / 3.648 GB, free: 13.69 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/6.797, allocations: 196.5 kB / 3.648 GB, free: 13.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/6.799, allocations: 362.1 kB / 3.648 GB, free: 13.14 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/6.801, allocations: 1.555 MB / 3.65 GB, free: 11.54 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/6.801, allocations: 0.9451 MB / 3.651 GB, free: 10.57 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006298/6.802, allocations: 180.8 kB / 3.651 GB, free: 10.39 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/6.802, allocations: 47.44 kB / 3.651 GB, free: 10.34 MB / 1.167 GB Notification: Performance of SimCode: time 7.51e-07/6.802, allocations: 0 / 3.651 GB, free: 10.34 MB / 1.167 GB Notification: Performance of Templates: time 0.8249/7.627, allocations: 25.95 MB / 3.676 GB, free: 304.6 MB / 1.167 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