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.439/1.439, allocations: 249.3 MB / 261.8 MB, free: 5.898 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.001076/0.001076, allocations: 176.9 kB / 321.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008288/0.0008288, allocations: 82.55 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.74e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.237, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.912/6.149, allocations: 2.196 GB / 3.087 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/6.149, allocations: 88.75 kB / 3.087 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.485/7.634, allocations: 469.4 MB / 3.546 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.683e-06/7.634, allocations: 4 kB / 3.546 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.864e-05/7.634, allocations: 16 kB / 3.546 GB, free: 6.309 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.002674/7.637, allocations: 0.9772 MB / 3.547 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/7.637, allocations: 8.031 kB / 3.547 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/7.639, allocations: 210.9 kB / 3.547 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/7.64, allocations: 0.6203 MB / 3.548 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/7.64, allocations: 37 kB / 3.548 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/7.64, allocations: 52 kB / 3.548 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008996/7.641, allocations: 462.4 kB / 3.548 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/7.641, allocations: 0 / 3.548 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/7.641, allocations: 23.95 kB / 3.548 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/7.641, allocations: 24.92 kB / 3.548 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/7.642, allocations: 379.9 kB / 3.548 GB, free: 3.445 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.00262/7.645, allocations: 2.025 MB / 3.55 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/7.645, allocations: 311.6 kB / 3.551 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/7.645, allocations: 185.4 kB / 3.551 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/7.646, allocations: 190.5 kB / 3.551 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/7.646, allocations: 38.84 kB / 3.551 GB, free: 484 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/7.646, allocations: 4 kB / 3.551 GB, free: 480 kB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0007647/7.646, allocations: 379 kB / 3.552 GB, free: 96 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/7.646, allocations: 55.41 kB / 3.552 GB, free: 28 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6426/8.289, allocations: 436.3 kB / 3.552 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/8.289, allocations: 38.64 kB / 3.552 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/8.29, allocations: 302.4 kB / 3.552 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/8.29, allocations: 118.1 kB / 3.552 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/8.29, allocations: 9.719 kB / 3.552 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001846/8.29, allocations: 367.8 kB / 3.553 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/8.29, allocations: 112.4 kB / 3.553 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/8.291, allocations: 203 kB / 3.553 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/8.291, allocations: 154 kB / 3.553 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/8.291, allocations: 4.188 kB / 3.553 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007442/8.292, allocations: 385.7 kB / 3.554 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/8.292, allocations: 362.2 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/8.292, allocations: 2 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/8.292, allocations: 2.578 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/8.293, allocations: 75.08 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/8.293, allocations: 5.688 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/8.293, allocations: 63.75 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/8.293, allocations: 17.12 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/8.293, allocations: 3.812 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00062/8.294, allocations: 310 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/8.294, allocations: 1.312 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/8.294, allocations: 2.25 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/8.294, allocations: 74.84 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/8.294, allocations: 7.375 kB / 3.554 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/8.295, allocations: 63.73 kB / 3.555 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/8.295, allocations: 13.94 kB / 3.555 GB, free: 198.4 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 0.0001503/8.295, allocations: 127.8 kB / 3.555 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/8.295, allocations: 60.28 kB / 3.555 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007477/8.296, allocations: 386 kB / 3.555 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/8.296, allocations: 3.688 kB / 3.555 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/8.296, allocations: 4.844 kB / 3.555 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004928/8.296, allocations: 398.9 kB / 3.555 GB, free: 198 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/8.298, allocations: 1.135 MB / 3.557 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/8.298, allocations: 1.344 kB / 3.557 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/8.299, allocations: 89.2 kB / 3.557 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/8.299, allocations: 6.984 kB / 3.557 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/8.299, allocations: 9.625 kB / 3.557 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/8.299, allocations: 3.641 kB / 3.557 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/8.299, allocations: 5.656 kB / 3.557 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/8.3, allocations: 0.7353 MB / 3.557 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/8.3, allocations: 185.4 kB / 3.558 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/8.3, allocations: 14.67 kB / 3.558 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/8.301, allocations: 54.23 kB / 3.558 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/8.301, allocations: 26.3 kB / 3.558 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/8.301, allocations: 16.52 kB / 3.558 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004992/8.301, allocations: 357.3 kB / 3.558 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.7e-07/8.301, allocations: 0 / 3.558 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001622/8.303, allocations: 449.6 kB / 3.558 GB, free: 197.1 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.002278/8.305, allocations: 1.266 MB / 3.56 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009754/8.306, allocations: 483 kB / 3.56 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/8.306, allocations: 1.188 kB / 3.56 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/8.307, allocations: 166.7 kB / 3.56 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/8.308, allocations: 367.6 kB / 3.561 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/8.31, allocations: 0.9762 MB / 3.562 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/8.311, allocations: 0.9489 MB / 3.563 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009992/8.312, allocations: 234.6 kB / 3.563 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/8.312, allocations: 39.22 kB / 3.563 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of SimCode: time 9.02e-07/8.312, allocations: 1.156 kB / 3.563 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.05921/8.371, allocations: 30.55 MB / 3.593 GB, free: 195.5 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