Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.475/2.475, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001177/0.001177, allocations: 170.9 kB / 498.1 MB, free: 5.762 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.621/1.621, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001186/0.001186, allocations: 97.92 kB / 0.9346 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003715, allocations: 10.59 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.496/4.824, allocations: 1.952 GB / 3.174 GB, free: 36.55 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/4.825, allocations: 89.17 kB / 3.174 GB, free: 36.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.876/10.7, allocations: 1.47 GB / 4.644 GB, free: 204.9 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.893e-06/10.7, allocations: 0 / 4.644 GB, free: 204.9 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002644/10.7, allocations: 44.3 kB / 4.645 GB, free: 204.9 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.009386/10.71, allocations: 2.132 MB / 4.647 GB, free: 204.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/10.71, allocations: 7.812 kB / 4.647 GB, free: 204.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/10.72, allocations: 0.5135 MB / 4.647 GB, free: 204.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004516/10.72, allocations: 1.234 MB / 4.648 GB, free: 203.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001253/10.72, allocations: 282.6 kB / 4.649 GB, free: 203.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/10.72, allocations: 98.66 kB / 4.649 GB, free: 203.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/10.72, allocations: 1.321 MB / 4.65 GB, free: 203.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/10.72, allocations: 2.344 kB / 4.65 GB, free: 203.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/10.73, allocations: 44.41 kB / 4.65 GB, free: 203.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/10.73, allocations: 44.61 kB / 4.65 GB, free: 203.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/10.73, allocations: 1.083 MB / 4.651 GB, free: 203.5 MB / 1.182 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.009772/10.74, allocations: 6.647 MB / 4.658 GB, free: 199.4 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/10.74, allocations: 0.6332 MB / 4.658 GB, free: 199.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004307/10.74, allocations: 282.9 kB / 4.658 GB, free: 199.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/10.74, allocations: 41.75 kB / 4.659 GB, free: 199.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=33): time 2.756e-06/10.74, allocations: 0 / 4.659 GB, free: 199.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=33): time 0.003796/10.75, allocations: 0.8923 MB / 4.659 GB, free: 199 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/10.75, allocations: 57.91 kB / 4.659 GB, free: 198.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/10.75, allocations: 1.193 MB / 4.661 GB, free: 198.8 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/10.75, allocations: 36.58 kB / 4.661 GB, free: 198.7 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006534/10.75, allocations: 0.6757 MB / 4.661 GB, free: 198.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/10.75, allocations: 122.8 kB / 4.661 GB, free: 198.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/10.75, allocations: 14.53 kB / 4.661 GB, free: 198.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/10.75, allocations: 335.1 kB / 4.662 GB, free: 198.2 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/10.75, allocations: 325.1 kB / 4.662 GB, free: 198.2 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/10.75, allocations: 0.6665 MB / 4.663 GB, free: 197.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/10.75, allocations: 391.5 kB / 4.663 GB, free: 197.7 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/10.75, allocations: 3.344 kB / 4.663 GB, free: 197.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003676/10.76, allocations: 1.055 MB / 4.664 GB, free: 197.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001062/10.76, allocations: 3.812 MB / 4.668 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/10.76, allocations: 11.34 kB / 4.668 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.872e-05/10.76, allocations: 13.97 kB / 4.668 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/10.76, allocations: 206.3 kB / 4.668 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/10.76, allocations: 24.81 kB / 4.668 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/10.76, allocations: 231.3 kB / 4.668 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/10.76, allocations: 43.84 kB / 4.668 GB, free: 193.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/10.76, allocations: 3.781 kB / 4.668 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003057/10.77, allocations: 0.9076 MB / 4.669 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/10.77, allocations: 14.41 kB / 4.669 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/10.77, allocations: 14.69 kB / 4.669 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/10.77, allocations: 209 kB / 4.669 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/10.77, allocations: 24.52 kB / 4.669 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/10.77, allocations: 207 kB / 4.67 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/10.77, allocations: 36.64 kB / 4.67 GB, free: 193.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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.00117/10.77, allocations: 413.7 kB / 4.67 GB, free: 193.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004379/10.77, allocations: 139.9 kB / 4.67 GB, free: 193.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/10.77, allocations: 0.694 MB / 4.671 GB, free: 193.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-05/10.77, allocations: 3.031 kB / 4.671 GB, free: 193.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/10.77, allocations: 0 / 4.671 GB, free: 193.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/10.77, allocations: 3.031 kB / 4.671 GB, free: 193.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005446/10.78, allocations: 1.929 MB / 4.673 GB, free: 192.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/10.78, allocations: 3.438 kB / 4.673 GB, free: 192.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000782/10.78, allocations: 102.7 kB / 4.673 GB, free: 192.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/10.78, allocations: 3.375 kB / 4.673 GB, free: 192.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/10.78, allocations: 13.52 kB / 4.673 GB, free: 192.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/10.78, allocations: 15.91 kB / 4.673 GB, free: 192.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/10.78, allocations: 5.75 kB / 4.673 GB, free: 192.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/10.78, allocations: 1.061 MB / 4.674 GB, free: 192.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/10.78, allocations: 286.5 kB / 4.674 GB, free: 192.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/10.78, allocations: 15.95 kB / 4.674 GB, free: 192.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/10.79, allocations: 107.5 kB / 4.674 GB, free: 192.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/10.79, allocations: 37.12 kB / 4.674 GB, free: 192.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/10.79, allocations: 24.12 kB / 4.674 GB, free: 192.1 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002003/10.79, allocations: 0.9275 MB / 4.675 GB, free: 192 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.91e-07/10.79, allocations: 0 / 4.675 GB, free: 192 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004261/10.79, allocations: 0.8644 MB / 4.676 GB, free: 191.9 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * 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.006449/10.8, allocations: 3.16 MB / 4.679 GB, free: 190.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004522/10.8, allocations: 1.149 MB / 4.68 GB, free: 190.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/10.8, allocations: 0 / 4.68 GB, free: 190.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/10.8, allocations: 277.1 kB / 4.681 GB, free: 190.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004741/10.81, allocations: 0.6253 MB / 4.681 GB, free: 190.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/10.82, allocations: 2.652 MB / 4.684 GB, free: 189.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008781/10.82, allocations: 1.212 MB / 4.685 GB, free: 188.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002864/10.82, allocations: 347.2 kB / 4.685 GB, free: 188.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003726/10.82, allocations: 92.06 kB / 4.685 GB, free: 188.6 MB / 1.182 GB Notification: Performance of SimCode: time 2.234e-06/10.82, allocations: 0 / 4.685 GB, free: 188.6 MB / 1.182 GB Notification: Performance of Templates: time 0.08587/10.91, allocations: 54.91 MB / 4.739 GB, free: 186.5 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches