Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.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.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.001023/0.001023, allocations: 169 kB / 492.3 MB, free: 0.6641 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.563/1.563, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.000982/0.0009818, allocations: 94.7 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.187e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3357, allocations: 142.3 MB / 1.212 GB, free: 38.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.438/1.774, allocations: 443 MB / 1.645 GB, free: 4.52 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.774, allocations: 86.14 kB / 1.645 GB, free: 4.477 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.341/5.115, allocations: 0.7917 GB / 2.437 GB, free: 196.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.605e-06/5.115, allocations: 0 / 2.437 GB, free: 196.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001464/5.117, allocations: 197.7 kB / 2.437 GB, free: 196.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01967/5.136, allocations: 5.701 MB / 2.443 GB, free: 190.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/5.136, allocations: 8.031 kB / 2.443 GB, free: 190.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/5.142, allocations: 0.8498 MB / 2.443 GB, free: 190 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0557/5.198, allocations: 24.41 MB / 2.467 GB, free: 166.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004981/5.199, allocations: 414.3 kB / 2.468 GB, free: 165.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/5.201, allocations: 0.5135 MB / 2.468 GB, free: 165.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/5.219, allocations: 7.022 MB / 2.475 GB, free: 158 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/5.22, allocations: 19.88 kB / 2.475 GB, free: 157.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001915/5.222, allocations: 217.9 kB / 2.475 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002471/5.222, allocations: 229.4 kB / 2.475 GB, free: 157.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/5.234, allocations: 5.347 MB / 2.481 GB, free: 152.1 MB / 1.151 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.04671/5.281, allocations: 29.83 MB / 2.51 GB, free: 121.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005375/5.286, allocations: 3.359 MB / 2.513 GB, free: 117.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/5.288, allocations: 1.693 MB / 2.515 GB, free: 116.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009065/5.289, allocations: 0.975 MB / 2.516 GB, free: 115 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.141e-05/5.289, allocations: 81.12 kB / 2.516 GB, free: 114.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=253): time 4.899e-06/5.289, allocations: 0 / 2.516 GB, free: 114.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=253): time 0.006234/5.296, allocations: 3.159 MB / 2.519 GB, free: 111.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/5.296, allocations: 77.41 kB / 2.519 GB, free: 111.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01167/5.307, allocations: 5.807 MB / 2.525 GB, free: 105.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008736/5.308, allocations: 85.7 kB / 2.525 GB, free: 105.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003428/5.312, allocations: 3.015 MB / 2.528 GB, free: 102.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/5.313, allocations: 0.904 MB / 2.529 GB, free: 101.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005073/5.314, allocations: 72 kB / 2.529 GB, free: 101.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004003/5.314, allocations: 453.1 kB / 2.529 GB, free: 101.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/5.317, allocations: 1.447 MB / 2.53 GB, free: 99.86 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/5.319, allocations: 2.613 MB / 2.533 GB, free: 96.73 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002649/5.322, allocations: 2.073 MB / 2.535 GB, free: 94.64 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/5.322, allocations: 12 kB / 2.535 GB, free: 94.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007217/5.329, allocations: 4.67 MB / 2.54 GB, free: 89.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.003601/5.333, allocations: 17.27 MB / 2.556 GB, free: 71.51 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.734e-05/5.333, allocations: 40 kB / 2.556 GB, free: 71.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-05/5.333, allocations: 60 kB / 2.557 GB, free: 71.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003709/5.337, allocations: 0.8775 MB / 2.557 GB, free: 70.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008026/5.338, allocations: 1.25 MB / 2.559 GB, free: 69.24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007149/5.345, allocations: 0.5769 MB / 2.559 GB, free: 68.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008181/5.346, allocations: 164 kB / 2.559 GB, free: 68.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/5.346, allocations: 4 kB / 2.559 GB, free: 68.49 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00801/5.354, allocations: 4.167 MB / 2.563 GB, free: 64.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.924e-05/5.354, allocations: 36 kB / 2.563 GB, free: 64.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.012e-05/5.354, allocations: 59.98 kB / 2.563 GB, free: 64.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/5.357, allocations: 0.8663 MB / 2.564 GB, free: 63.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.757e-05/5.357, allocations: 75.72 kB / 2.564 GB, free: 63.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005854/5.363, allocations: 0.519 MB / 2.565 GB, free: 62.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005413/5.363, allocations: 168 kB / 2.565 GB, free: 62.56 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001222/5.365, allocations: 332.9 kB / 2.565 GB, free: 62.23 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002218/5.367, allocations: 0.5636 MB / 2.566 GB, free: 61.66 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007035/5.374, allocations: 3.648 MB / 2.57 GB, free: 57.96 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/5.374, allocations: 31.98 kB / 2.57 GB, free: 57.93 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/5.374, allocations: 0 / 2.57 GB, free: 57.93 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003403/5.377, allocations: 2.74 MB / 2.572 GB, free: 55.14 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/5.4, allocations: 9.352 MB / 2.581 GB, free: 45.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/5.4, allocations: 4.094 kB / 2.581 GB, free: 45.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/5.402, allocations: 0.5367 MB / 2.582 GB, free: 45.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.313e-05/5.402, allocations: 19.92 kB / 2.582 GB, free: 45.16 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003333/5.402, allocations: 75.91 kB / 2.582 GB, free: 45.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000407/5.403, allocations: 1.184 MB / 2.583 GB, free: 43.85 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/5.403, allocations: 11.92 kB / 2.583 GB, free: 43.84 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008168/5.411, allocations: 5.561 MB / 2.589 GB, free: 38.15 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004741/5.416, allocations: 1.341 MB / 2.59 GB, free: 36.78 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002251/5.418, allocations: 67.92 kB / 2.59 GB, free: 36.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005425/5.423, allocations: 267 kB / 2.59 GB, free: 36.46 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/5.424, allocations: 149.8 kB / 2.59 GB, free: 36.31 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005291/5.424, allocations: 143.9 kB / 2.59 GB, free: 36.17 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.009205/5.434, allocations: 4.571 MB / 2.595 GB, free: 31.59 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.62e-07/5.434, allocations: 3.938 kB / 2.595 GB, free: 31.59 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01453/5.448, allocations: 3.254 MB / 2.598 GB, free: 28.32 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002294/5.45, allocations: 0.698 MB / 2.599 GB, free: 27.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009944/5.46, allocations: 5.805 MB / 2.604 GB, free: 21.87 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/5.461, allocations: 8.562 kB / 2.604 GB, free: 21.86 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002487/5.463, allocations: 1.534 MB / 2.606 GB, free: 20.32 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02012/5.483, allocations: 3.861 MB / 2.61 GB, free: 16.62 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/5.508, allocations: 11.81 MB / 2.621 GB, free: 4.883 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005922/5.514, allocations: 4.687 MB / 2.626 GB, free: 176 kB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01744/5.531, allocations: 5.021 MB / 2.631 GB, free: 11.19 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001601/5.533, allocations: 355.3 kB / 2.631 GB, free: 10.84 MB / 1.167 GB Notification: Performance of SimCode: time 1.122e-06/5.533, allocations: 0 / 2.631 GB, free: 10.84 MB / 1.167 GB Notification: Performance of Templates: time 0.9458/6.479, allocations: 130.8 MB / 2.759 GB, free: 209.7 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches