Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001272/0.001272, allocations: 183.8 kB / 326.5 MB, free: 2.234 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.788/1.788, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0008924/0.0008923, allocations: 91.03 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 13.53 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2239, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9515/1.175, allocations: 423.9 MB / 1.314 GB, free: 9.383 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.176, allocations: 95.89 kB / 1.314 GB, free: 9.332 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.587/3.763, allocations: 0.7497 GB / 2.064 GB, free: 25.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.873e-06/3.763, allocations: 0 / 2.064 GB, free: 25.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001333/3.764, allocations: 187.8 kB / 2.064 GB, free: 25.72 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.023/3.787, allocations: 6.988 MB / 2.071 GB, free: 18.64 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/3.787, allocations: 12.03 kB / 2.071 GB, free: 18.63 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005072/3.792, allocations: 0.8381 MB / 2.072 GB, free: 17.79 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5296/4.322, allocations: 22.86 MB / 2.094 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004242/4.322, allocations: 417.7 kB / 2.094 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/4.324, allocations: 0.5157 MB / 2.095 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/4.341, allocations: 7.004 MB / 2.102 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/4.341, allocations: 25.14 kB / 2.102 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000954/4.342, allocations: 218.2 kB / 2.102 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002695/4.342, allocations: 167.8 kB / 2.102 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/4.354, allocations: 5.485 MB / 2.108 GB, free: 136.6 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.04098/4.395, allocations: 29.67 MB / 2.137 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00473/4.4, allocations: 3.421 MB / 2.14 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000809/4.401, allocations: 0.9741 MB / 2.141 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/4.401, allocations: 76.05 kB / 2.141 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=253): time 4.198e-06/4.401, allocations: 0 / 2.141 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=253): time 0.007259/4.408, allocations: 4.384 MB / 2.145 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/4.408, allocations: 80.14 kB / 2.145 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/4.419, allocations: 5.753 MB / 2.151 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007683/4.419, allocations: 77.45 kB / 2.151 GB, free: 122 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002494/4.422, allocations: 2.984 MB / 2.154 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001318/4.423, allocations: 0.8956 MB / 2.155 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/4.423, allocations: 68.75 kB / 2.155 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001886/4.424, allocations: 450.8 kB / 2.155 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/4.426, allocations: 1.498 MB / 2.157 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/4.428, allocations: 2.65 MB / 2.159 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/4.431, allocations: 2.108 MB / 2.161 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/4.431, allocations: 7.031 kB / 2.161 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007331/4.438, allocations: 4.753 MB / 2.166 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.003114/4.441, allocations: 17.14 MB / 2.183 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-05/4.441, allocations: 36.56 kB / 2.183 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.394e-05/4.441, allocations: 60.33 kB / 2.183 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/4.445, allocations: 0.8819 MB / 2.184 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005704/4.446, allocations: 1.244 MB / 2.185 GB, free: 99.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006035/4.452, allocations: 0.59 MB / 2.185 GB, free: 99.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007042/4.452, allocations: 168.3 kB / 2.186 GB, free: 99.53 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/4.452, allocations: 3.844 kB / 2.186 GB, free: 99.53 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006162/4.459, allocations: 4.246 MB / 2.19 GB, free: 99.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/4.459, allocations: 36.97 kB / 2.19 GB, free: 99.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-05/4.459, allocations: 57.38 kB / 2.19 GB, free: 99.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/4.462, allocations: 0.8662 MB / 2.191 GB, free: 99.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.878e-05/4.462, allocations: 78.48 kB / 2.191 GB, free: 99.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005421/4.467, allocations: 0.5121 MB / 2.191 GB, free: 99.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004407/4.468, allocations: 172.8 kB / 2.191 GB, free: 99.22 MB / 0.8855 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 () * Number of clocked 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.004902/4.472, allocations: 2.497 MB / 2.194 GB, free: 99.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001876/4.474, allocations: 0.5459 MB / 2.194 GB, free: 98.73 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005846/4.48, allocations: 3.717 MB / 2.198 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/4.48, allocations: 27.06 kB / 2.198 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/4.48, allocations: 0 / 2.198 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003372/4.484, allocations: 2.809 MB / 2.201 GB, free: 98.37 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/4.501, allocations: 9.323 MB / 2.21 GB, free: 97.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/4.502, allocations: 0 / 2.21 GB, free: 97.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/4.504, allocations: 0.5417 MB / 2.21 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-05/4.504, allocations: 10.5 kB / 2.21 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/4.504, allocations: 81.23 kB / 2.211 GB, free: 97.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004893/4.504, allocations: 1.185 MB / 2.212 GB, free: 96.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/4.504, allocations: 3.469 kB / 2.212 GB, free: 96.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009025/4.513, allocations: 5.644 MB / 2.217 GB, free: 95.87 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005459/4.519, allocations: 1.303 MB / 2.218 GB, free: 95.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001878/4.521, allocations: 64.56 kB / 2.219 GB, free: 95.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00452/4.525, allocations: 261.3 kB / 2.219 GB, free: 95.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/4.526, allocations: 158.5 kB / 2.219 GB, free: 95.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003497/4.526, allocations: 136.2 kB / 2.219 GB, free: 95.42 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007681/4.534, allocations: 4.528 MB / 2.223 GB, free: 95.24 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.21e-07/4.534, allocations: 0 / 2.223 GB, free: 95.24 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01625/4.55, allocations: 3.239 MB / 2.227 GB, free: 94.84 MB / 0.8855 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 () * Number of clocked 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.00194/4.552, allocations: 0.6874 MB / 2.227 GB, free: 94.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009163/4.561, allocations: 5.753 MB / 2.233 GB, free: 94.62 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/4.561, allocations: 5.656 kB / 2.233 GB, free: 94.62 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/4.564, allocations: 1.563 MB / 2.234 GB, free: 94.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01831/4.582, allocations: 3.846 MB / 2.238 GB, free: 94.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/4.606, allocations: 15.66 MB / 2.254 GB, free: 89.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004254/4.61, allocations: 4.636 MB / 2.258 GB, free: 88.44 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01124/4.621, allocations: 3 MB / 2.261 GB, free: 88.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/4.623, allocations: 473.8 kB / 2.261 GB, free: 88.2 MB / 0.8855 GB Notification: Performance of SimCode: time 7.61e-07/4.623, allocations: 0 / 2.261 GB, free: 88.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.1749/4.798, allocations: 125 MB / 2.383 GB, free: 17.96 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches