Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.9 MB / 266.9 MB, free: 11 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.001248/0.001248, allocations: 175.5 kB / 326.5 MB, free: 2.242 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.865/1.865, 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.0009376/0.0009376, allocations: 97.11 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004765, allocations: 10.34 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2725, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9707/1.243, allocations: 398 MB / 1.289 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/1.244, allocations: 96.11 kB / 1.289 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.094/3.337, allocations: 480.1 MB / 1.758 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.044e-06/3.337, allocations: 0.9688 kB / 1.758 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002031/3.338, allocations: 41.92 kB / 1.758 GB, free: 227.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005827/3.343, allocations: 1.963 MB / 1.76 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/3.344, allocations: 9.344 kB / 1.76 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/3.345, allocations: 238 kB / 1.76 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005352/3.35, allocations: 1.954 MB / 1.762 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/3.35, allocations: 68.14 kB / 1.762 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/3.351, allocations: 85.31 kB / 1.762 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/3.353, allocations: 0.9589 MB / 1.763 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/3.353, allocations: 5.312 kB / 1.763 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/3.353, allocations: 32.56 kB / 1.763 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/3.353, allocations: 18.62 kB / 1.763 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/3.354, allocations: 0.714 MB / 1.764 GB, free: 226.3 MB / 0.8855 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.00678/3.361, allocations: 4.607 MB / 1.768 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/3.363, allocations: 0.5901 MB / 1.769 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003109/3.366, allocations: 1.698 MB / 1.77 GB, free: 223 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007271/3.366, allocations: 347.6 kB / 1.771 GB, free: 223 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007134/3.367, allocations: 108.9 kB / 1.771 GB, free: 223 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 3.487e-06/3.367, allocations: 2.438 kB / 1.771 GB, free: 223 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.002784/3.37, allocations: 1.118 MB / 1.772 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/3.37, allocations: 62.91 kB / 1.772 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/3.372, allocations: 1.122 MB / 1.773 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/3.372, allocations: 40.11 kB / 1.773 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/3.372, allocations: 0.6384 MB / 1.774 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/3.372, allocations: 166.4 kB / 1.774 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/3.372, allocations: 14.41 kB / 1.774 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/3.373, allocations: 334.8 kB / 1.774 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/3.373, allocations: 240.9 kB / 1.774 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/3.374, allocations: 0.5743 MB / 1.775 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/3.374, allocations: 351.7 kB / 1.775 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/3.374, allocations: 0 / 1.775 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001733/3.376, allocations: 1.014 MB / 1.776 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008015/3.377, allocations: 3.052 MB / 1.779 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/3.377, allocations: 7.625 kB / 1.779 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003893/3.377, allocations: 154 kB / 1.78 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/3.378, allocations: 145 kB / 1.78 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005975/3.378, allocations: 0.7696 MB / 1.78 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/3.38, allocations: 79.66 kB / 1.78 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.358e-05/3.38, allocations: 42.47 kB / 1.781 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/3.38, allocations: 3.812 kB / 1.781 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00148/3.381, allocations: 0.916 MB / 1.781 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/3.381, allocations: 11.55 kB / 1.781 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/3.381, allocations: 106.4 kB / 1.782 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/3.382, allocations: 138.1 kB / 1.782 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/3.384, allocations: 2.227 MB / 1.784 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/3.385, allocations: 78.31 kB / 1.784 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/3.385, allocations: 39.83 kB / 1.784 GB, free: 216 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009404/3.386, allocations: 477.4 kB / 1.784 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/3.386, allocations: 132.4 kB / 1.785 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/3.388, allocations: 0.8826 MB / 1.785 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/3.388, allocations: 6.094 kB / 1.785 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/3.388, allocations: 0 / 1.785 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00142/3.389, allocations: 0.8931 MB / 1.786 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004203/3.393, allocations: 1.872 MB / 1.788 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/3.393, allocations: 0.6562 kB / 1.788 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/3.394, allocations: 82.31 kB / 1.788 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/3.394, allocations: 129.1 kB / 1.788 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/3.394, allocations: 14.36 kB / 1.788 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006399/3.395, allocations: 0.7471 MB / 1.789 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/3.395, allocations: 5.984 kB / 1.789 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/3.397, allocations: 1.24 MB / 1.79 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/3.398, allocations: 266.9 kB / 1.791 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/3.398, allocations: 10.94 kB / 1.791 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/3.399, allocations: 75.64 kB / 1.791 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/3.399, allocations: 39.8 kB / 1.791 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/3.399, allocations: 18.62 kB / 1.791 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001187/3.4, allocations: 0.8784 MB / 1.792 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.4e-07/3.4, allocations: 3.719 kB / 1.792 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002524/3.402, allocations: 0.7201 MB / 1.792 GB, free: 213.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00151/3.404, allocations: 0.7714 MB / 1.793 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002513/3.406, allocations: 1.311 MB / 1.794 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/3.407, allocations: 3.156 kB / 1.794 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006643/3.407, allocations: 333.3 kB / 1.795 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/3.41, allocations: 0.5563 MB / 1.795 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/3.413, allocations: 2.676 MB / 1.798 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/3.414, allocations: 1.306 MB / 1.799 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001323/3.415, allocations: 302.7 kB / 1.799 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/3.416, allocations: 103.2 kB / 1.799 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/3.416, allocations: 0 / 1.799 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.04479/3.46, allocations: 27.64 MB / 1.826 GB, free: 210.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example2.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches