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.464/1.464, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 180 kB / 316.3 MB, free: 3.289 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.707/1.707, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009493/0.0009497, allocations: 100.1 kB / 0.6715 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.76e-05, allocations: 7.938 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2309, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.692/5.923, allocations: 2.196 GB / 3.081 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/5.923, allocations: 90.58 kB / 3.081 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.425/7.349, allocations: 463.9 MB / 3.534 GB, free: 86.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.864e-06/7.349, allocations: 3.938 kB / 3.534 GB, free: 86.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.292e-05/7.349, allocations: 20 kB / 3.534 GB, free: 86.59 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.001704/7.351, allocations: 0.9659 MB / 3.535 GB, free: 85.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/7.351, allocations: 8.031 kB / 3.535 GB, free: 85.56 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/7.352, allocations: 206.9 kB / 3.535 GB, free: 85.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009776/7.353, allocations: 0.6245 MB / 3.536 GB, free: 84.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/7.353, allocations: 16 kB / 3.536 GB, free: 84.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/7.353, allocations: 28 kB / 3.536 GB, free: 84.65 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005849/7.354, allocations: 370.4 kB / 3.536 GB, free: 84.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/7.354, allocations: 403.9 kB / 3.537 GB, free: 83.89 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/7.354, allocations: 0 / 3.537 GB, free: 83.89 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/7.354, allocations: 4 kB / 3.537 GB, free: 83.89 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/7.354, allocations: 13.31 kB / 3.537 GB, free: 83.88 MB / 0.8698 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.00216/7.357, allocations: 1.911 MB / 3.539 GB, free: 81.79 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/7.357, allocations: 295.3 kB / 3.539 GB, free: 81.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/7.357, allocations: 178.6 kB / 3.539 GB, free: 81.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/7.357, allocations: 194.5 kB / 3.539 GB, free: 81.09 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/7.357, allocations: 34.84 kB / 3.539 GB, free: 81.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/7.357, allocations: 3.938 kB / 3.539 GB, free: 81.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0007819/7.358, allocations: 363.3 kB / 3.54 GB, free: 80.69 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/7.358, allocations: 59.41 kB / 3.54 GB, free: 80.62 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/7.359, allocations: 382.1 kB / 3.54 GB, free: 80.24 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/7.359, allocations: 25.7 kB / 3.54 GB, free: 80.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/7.359, allocations: 308.7 kB / 3.54 GB, free: 79.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/7.359, allocations: 122.2 kB / 3.54 GB, free: 79.78 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/7.359, allocations: 0 / 3.54 GB, free: 79.78 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.756e-05/7.359, allocations: 358.8 kB / 3.541 GB, free: 79.42 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/7.359, allocations: 108.6 kB / 3.541 GB, free: 79.31 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/7.359, allocations: 198.3 kB / 3.541 GB, free: 79.08 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/7.36, allocations: 155.6 kB / 3.541 GB, free: 78.93 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/7.36, allocations: 0 / 3.541 GB, free: 78.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004295/7.36, allocations: 360.7 kB / 3.542 GB, free: 78.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/7.36, allocations: 360.1 kB / 3.542 GB, free: 78.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/7.36, allocations: 0 / 3.542 GB, free: 78.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/7.36, allocations: 7.953 kB / 3.542 GB, free: 78.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/7.36, allocations: 67.91 kB / 3.542 GB, free: 78.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/7.36, allocations: 4 kB / 3.542 GB, free: 78.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/7.361, allocations: 59.7 kB / 3.542 GB, free: 78.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/7.361, allocations: 15.98 kB / 3.542 GB, free: 78.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/7.361, allocations: 6.344 kB / 3.542 GB, free: 78.04 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003517/7.361, allocations: 279.7 kB / 3.542 GB, free: 77.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-06/7.361, allocations: 0 / 3.542 GB, free: 77.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/7.361, allocations: 4 kB / 3.542 GB, free: 77.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/7.362, allocations: 79.83 kB / 3.542 GB, free: 77.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/7.362, allocations: 4 kB / 3.542 GB, free: 77.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/7.362, allocations: 47.89 kB / 3.542 GB, free: 77.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/7.362, allocations: 12 kB / 3.542 GB, free: 77.62 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 () * 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.726e-05/7.362, allocations: 116.8 kB / 3.543 GB, free: 77.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/7.362, allocations: 55.34 kB / 3.543 GB, free: 77.44 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/7.363, allocations: 347.1 kB / 3.543 GB, free: 77.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/7.363, allocations: 4 kB / 3.543 GB, free: 77.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/7.363, allocations: 0 / 3.543 GB, free: 77.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003283/7.363, allocations: 388.7 kB / 3.543 GB, free: 76.68 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/7.365, allocations: 1.044 MB / 3.544 GB, free: 75.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/7.365, allocations: 4 kB / 3.544 GB, free: 75.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/7.365, allocations: 87.89 kB / 3.544 GB, free: 75.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/7.365, allocations: 4 kB / 3.544 GB, free: 75.49 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/7.365, allocations: 7.984 kB / 3.544 GB, free: 75.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/7.365, allocations: 4 kB / 3.544 GB, free: 75.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/7.365, allocations: 4.281 kB / 3.544 GB, free: 75.47 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/7.366, allocations: 0.7204 MB / 3.545 GB, free: 74.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/7.366, allocations: 176.4 kB / 3.545 GB, free: 74.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/7.366, allocations: 4 kB / 3.545 GB, free: 74.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/7.367, allocations: 43.94 kB / 3.545 GB, free: 74.44 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/7.367, allocations: 31.92 kB / 3.545 GB, free: 74.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/7.367, allocations: 19.94 kB / 3.545 GB, free: 74.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002694/7.367, allocations: 294.9 kB / 3.546 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.367, allocations: 0 / 3.546 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001075/7.368, allocations: 407 kB / 3.546 GB, free: 73.71 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 () * 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.001624/7.37, allocations: 1.412 MB / 3.547 GB, free: 72.24 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006094/7.37, allocations: 462.6 kB / 3.548 GB, free: 71.79 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/7.37, allocations: 0 / 3.548 GB, free: 71.79 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/7.37, allocations: 159.8 kB / 3.548 GB, free: 71.63 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/7.372, allocations: 337.3 kB / 3.548 GB, free: 71.31 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/7.373, allocations: 0.9625 MB / 3.549 GB, free: 70.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/7.374, allocations: 0.946 MB / 3.55 GB, free: 69.33 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007796/7.375, allocations: 208.6 kB / 3.55 GB, free: 69.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/7.375, allocations: 39.44 kB / 3.55 GB, free: 69.09 MB / 0.8698 GB Notification: Performance of SimCode: time 4.11e-07/7.375, allocations: 0 / 3.55 GB, free: 69.09 MB / 0.8698 GB Notification: Performance of Templates: time 0.0245/7.399, allocations: 17.95 MB / 3.568 GB, free: 51.24 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