Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInlSup.T|senTemOutSup.T|senTemOutRet.T|senTemInlRet.T|conAir.T|gro.ports.1|1..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInlSup.T|senTemOutSup.T|senTemOutRet.T|senTemInlRet.T|conAir.T|gro.ports.1|1..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009628/0.0009631, allocations: 94.91 kB / 15.37 MB, free: 0.7266 MB / 14.72 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: 177.2 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.974/2.974, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 9.719 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3662, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit): time 0.1142/0.4804, allocations: 116 MB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0485/0.529, allocations: 27.86 MB / 1.199 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006713/0.5357, allocations: 115.2 kB / 1.199 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004977/0.5407, allocations: 1.239 MB / 1.2 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01636/0.5571, allocations: 4.269 MB / 1.205 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.569, allocations: 2.869 MB / 1.207 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01994/0.589, allocations: 11.15 MB / 1.218 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006285/0.5953, allocations: 2.196 MB / 1.22 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008357/0.6037, allocations: 2.839 MB / 1.223 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005326/0.6091, allocations: 2.302 MB / 1.225 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.6103, allocations: 124 kB / 1.226 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/0.6219, allocations: 3.205 MB / 1.229 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.6237, allocations: 0.5599 MB / 1.229 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00407/0.6278, allocations: 1.552 MB / 1.231 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.03065/0.6584, allocations: 18.22 MB / 1.249 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.6585, allocations: 0 / 1.249 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.859e-06/0.6585, allocations: 0 / 1.249 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002568/0.6588, allocations: 0 / 1.249 GB, free: 2.316 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.6933/1.352, allocations: 3.051 MB / 1.252 GB, free: 51.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.352, allocations: 10.47 kB / 1.252 GB, free: 51.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/1.354, allocations: 355.7 kB / 1.252 GB, free: 51.56 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005406/1.359, allocations: 2.597 MB / 1.254 GB, free: 50.96 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/1.359, allocations: 143.7 kB / 1.255 GB, free: 50.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/1.36, allocations: 187.1 kB / 1.255 GB, free: 50.95 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/1.363, allocations: 1.932 MB / 1.257 GB, free: 50.72 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/1.363, allocations: 6.375 kB / 1.257 GB, free: 50.72 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/1.363, allocations: 73.47 kB / 1.257 GB, free: 50.72 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/1.363, allocations: 49.88 kB / 1.257 GB, free: 50.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/1.366, allocations: 1.434 MB / 1.258 GB, free: 50.71 MB / 0.9981 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.01413/1.38, allocations: 9.873 MB / 1.268 GB, free: 45.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/1.382, allocations: 1.022 MB / 1.269 GB, free: 45.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/1.383, allocations: 0.5757 MB / 1.269 GB, free: 45.83 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/1.385, allocations: 3.085 MB / 1.272 GB, free: 42.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/1.385, allocations: 52.83 kB / 1.272 GB, free: 42.31 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=127): time 3.546e-06/1.385, allocations: 0 / 1.272 GB, free: 42.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127): time 0.004648/1.389, allocations: 1.792 MB / 1.274 GB, free: 42.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/1.389, allocations: 64.41 kB / 1.274 GB, free: 41.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00432/1.394, allocations: 2.187 MB / 1.276 GB, free: 41.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002983/1.394, allocations: 54.33 kB / 1.276 GB, free: 41.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/1.395, allocations: 1.181 MB / 1.278 GB, free: 41.33 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006281/1.396, allocations: 460.4 kB / 1.278 GB, free: 41.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/1.396, allocations: 137.2 kB / 1.278 GB, free: 41.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.638e-05/1.396, allocations: 301.9 kB / 1.278 GB, free: 40.72 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.397, allocations: 0.4949 MB / 1.279 GB, free: 40.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/1.399, allocations: 0.874 MB / 1.28 GB, free: 40.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/1.401, allocations: 1.399 MB / 1.281 GB, free: 39.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.401, allocations: 7.328 kB / 1.281 GB, free: 39.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00402/1.405, allocations: 1.757 MB / 1.283 GB, free: 39.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002264/1.406, allocations: 383.6 kB / 1.283 GB, free: 39.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.307e-05/1.406, allocations: 16.08 kB / 1.283 GB, free: 39.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/1.406, allocations: 59.16 kB / 1.283 GB, free: 39.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.407, allocations: 350.3 kB / 1.284 GB, free: 39.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/1.409, allocations: 1.442 MB / 1.285 GB, free: 38.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/1.411, allocations: 250.5 kB / 1.285 GB, free: 37.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/1.412, allocations: 82.88 kB / 1.285 GB, free: 37.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/1.412, allocations: 2.781 kB / 1.285 GB, free: 37.95 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003401/1.415, allocations: 1.512 MB / 1.287 GB, free: 37.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.363e-05/1.415, allocations: 15.56 kB / 1.287 GB, free: 37.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/1.415, allocations: 59.3 kB / 1.287 GB, free: 37.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.417, allocations: 351.2 kB / 1.287 GB, free: 37.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/1.418, allocations: 1.434 MB / 1.289 GB, free: 36.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/1.421, allocations: 231 kB / 1.289 GB, free: 36.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/1.421, allocations: 76.44 kB / 1.289 GB, free: 36.56 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (192): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002125/1.423, allocations: 0.5847 MB / 1.29 GB, free: 36.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.424, allocations: 257.8 kB / 1.29 GB, free: 36.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00496/1.429, allocations: 2.205 MB / 1.292 GB, free: 36.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-05/1.43, allocations: 27.16 kB / 1.292 GB, free: 36.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.43, allocations: 5.125 kB / 1.292 GB, free: 36.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002694/1.432, allocations: 1.611 MB / 1.294 GB, free: 35.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/1.444, allocations: 5.031 MB / 1.298 GB, free: 34.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/1.444, allocations: 12.34 kB / 1.298 GB, free: 34.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.445, allocations: 274.4 kB / 1.299 GB, free: 34.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002733/1.446, allocations: 56.81 kB / 1.299 GB, free: 34.67 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/1.446, allocations: 54.53 kB / 1.299 GB, free: 34.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/1.447, allocations: 1.439 MB / 1.3 GB, free: 33.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/1.447, allocations: 10.56 kB / 1.3 GB, free: 33.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005832/1.453, allocations: 2.852 MB / 1.303 GB, free: 32.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.455, allocations: 0.6282 MB / 1.304 GB, free: 32.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004675/1.455, allocations: 38.81 kB / 1.304 GB, free: 32.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.457, allocations: 136.6 kB / 1.304 GB, free: 32.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/1.457, allocations: 142.9 kB / 1.304 GB, free: 32.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.457, allocations: 81.12 kB / 1.304 GB, free: 32.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002764/1.46, allocations: 1.597 MB / 1.306 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.132e-06/1.46, allocations: 0 / 1.306 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004971/1.465, allocations: 1.579 MB / 1.307 GB, free: 32.21 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 14 (pipSup.del.x,pipSup.timDel.x,pipSup.vol_b.dynBal.U,pipSup.vol_a.dynBal.U,senTemInlSup.T,senTemOutSup.T,pipRet.del.x,pipRet.timDel.x,pipRet.vol_b.dynBal.U,pipRet.vol_a.dynBal.U,senTemOutRet.T,senTemInlRet.T,conAir.T,con.T[1]) * 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 (161): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006438/1.472, allocations: 3.669 MB / 1.311 GB, free: 31.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004534/1.476, allocations: 2.672 MB / 1.313 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.476, allocations: 4.188 kB / 1.313 GB, free: 31.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/1.478, allocations: 1.106 MB / 1.314 GB, free: 30.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009886/1.488, allocations: 1.421 MB / 1.316 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009228/1.497, allocations: 6.388 MB / 1.322 GB, free: 27.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/1.498, allocations: 1.718 MB / 1.324 GB, free: 26.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003379/1.502, allocations: 0.7087 MB / 1.324 GB, free: 26.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/1.502, allocations: 250.2 kB / 1.325 GB, free: 26.48 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.502, allocations: 2.297 kB / 1.325 GB, free: 26.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.1/1.602, allocations: 63.86 MB / 1.387 GB, free: 11.9 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_BuriedPipes_Examples_TwoPipesConduit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches