Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Geothermal.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_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit") translateModel(Buildings.Fluid.Geothermal.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_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009954/0.0009955, allocations: 92 kB / 15.36 MB, free: 0.7344 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.00805/0.00805, allocations: 172.3 kB / 16.26 MB, free: 6.68 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 11.98 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6571/0.6575, allocations: 153.8 MB / 1.023 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.1049/0.7624, allocations: 116 MB / 1.136 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03843/0.8009, allocations: 27.86 MB / 1.163 GB, free: 15.74 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005116/0.806, allocations: 115.2 kB / 1.164 GB, free: 15.63 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004983/0.811, allocations: 1.239 MB / 1.165 GB, free: 14.38 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.8248, allocations: 4.273 MB / 1.169 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.008552/0.8333, allocations: 2.858 MB / 1.172 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01474/0.8481, allocations: 11.16 MB / 1.183 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004838/0.853, allocations: 2.212 MB / 1.185 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007635/0.8606, allocations: 2.831 MB / 1.188 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005143/0.8658, allocations: 2.286 MB / 1.19 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007831/0.8666, allocations: 120 kB / 1.19 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.877, allocations: 3.225 MB / 1.193 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009611/0.878, allocations: 0.5638 MB / 1.194 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00306/0.8811, allocations: 1.548 MB / 1.195 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.02518/0.9062, allocations: 18.22 MB / 1.213 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9063, allocations: 0 / 1.213 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9063, allocations: 0 / 1.213 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001122/0.9064, allocations: 0 / 1.213 GB, free: 12.88 MB / 0.9669 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.007074/0.9135, allocations: 3.052 MB / 1.216 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.9136, allocations: 15.97 kB / 1.216 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.9148, allocations: 352 kB / 1.216 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.92, allocations: 2.61 MB / 1.219 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.9201, allocations: 139.5 kB / 1.219 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003901/0.9205, allocations: 183.9 kB / 1.219 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.9242, allocations: 1.936 MB / 1.221 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.323e-05/0.9243, allocations: 7.891 kB / 1.221 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.9244, allocations: 72 kB / 1.221 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/0.9245, allocations: 48 kB / 1.221 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.9272, allocations: 1.434 MB / 1.223 GB, free: 2.836 MB / 0.9669 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.01346/0.9406, allocations: 9.873 MB / 1.232 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.9426, allocations: 1.021 MB / 1.233 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000927/0.9435, allocations: 0.5731 MB / 1.234 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/0.946, allocations: 3.091 MB / 1.237 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.9461, allocations: 51.5 kB / 1.237 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=127): time 4.128e-06/0.9461, allocations: 0 / 1.237 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=127): time 0.00391/0.95, allocations: 1.795 MB / 1.239 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.9501, allocations: 64.41 kB / 1.239 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003599/0.9537, allocations: 2.181 MB / 1.241 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.954, allocations: 53.7 kB / 1.241 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.9551, allocations: 1.189 MB / 1.242 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000565/0.9557, allocations: 461.3 kB / 1.242 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.9559, allocations: 133.6 kB / 1.243 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.956, allocations: 301.1 kB / 1.243 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009405/0.957, allocations: 0.4997 MB / 1.243 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.9582, allocations: 0.8726 MB / 1.244 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.9605, allocations: 1.399 MB / 1.246 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.9605, allocations: 0 / 1.246 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003463/0.964, allocations: 1.772 MB / 1.247 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002484/0.9643, allocations: 367.6 kB / 1.248 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/0.9643, allocations: 12 kB / 1.248 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/0.9646, allocations: 64.81 kB / 1.248 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.9659, allocations: 343.5 kB / 1.248 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.9673, allocations: 1.444 MB / 1.249 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.9694, allocations: 258.2 kB / 1.25 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.9695, allocations: 75.97 kB / 1.25 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.9696, allocations: 4 kB / 1.25 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002637/0.9722, allocations: 1.503 MB / 1.251 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/0.9722, allocations: 12 kB / 1.251 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.9725, allocations: 64.81 kB / 1.251 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.9737, allocations: 352 kB / 1.252 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.9749, allocations: 1.444 MB / 1.253 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.977, allocations: 230.5 kB / 1.253 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.9771, allocations: 75.97 kB / 1.253 GB, free: 1.145 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.001131/0.9783, allocations: 0.5872 MB / 1.254 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/0.9787, allocations: 264.7 kB / 1.254 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5251/1.504, allocations: 2.189 MB / 1.256 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-05/1.504, allocations: 25.33 kB / 1.256 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.504, allocations: 1.359 kB / 1.256 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002702/1.507, allocations: 1.611 MB / 1.258 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009943/1.517, allocations: 5.033 MB / 1.263 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.46e-05/1.517, allocations: 11.98 kB / 1.263 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.518, allocations: 266.7 kB / 1.263 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/1.518, allocations: 63.5 kB / 1.263 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/1.518, allocations: 53.52 kB / 1.263 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/1.519, allocations: 1.438 MB / 1.265 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.519, allocations: 6.719 kB / 1.265 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/1.524, allocations: 2.846 MB / 1.267 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.526, allocations: 0.6287 MB / 1.268 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/1.526, allocations: 40 kB / 1.268 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.528, allocations: 139.5 kB / 1.268 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/1.528, allocations: 144.7 kB / 1.268 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.528, allocations: 77.3 kB / 1.268 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002769/1.531, allocations: 1.595 MB / 1.27 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.531, allocations: 0 / 1.27 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004867/1.536, allocations: 1.578 MB / 1.271 GB, free: 214.3 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.008348/1.544, allocations: 3.67 MB / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005063/1.549, allocations: 2.669 MB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/1.549, allocations: 1.656 kB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/1.551, allocations: 1.11 MB / 1.279 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/1.561, allocations: 1.414 MB / 1.28 GB, free: 212 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/1.569, allocations: 6.386 MB / 1.286 GB, free: 208 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009734/1.57, allocations: 1.721 MB / 1.288 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003031/1.573, allocations: 0.7092 MB / 1.289 GB, free: 207 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/1.574, allocations: 248.6 kB / 1.289 GB, free: 207 MB / 0.9981 GB Notification: Performance of SimCode: time 1.392e-06/1.574, allocations: 0 / 1.289 GB, free: 207 MB / 0.9981 GB Notification: Performance of Templates: time 0.08734/1.661, allocations: 63.72 MB / 1.351 GB, free: 147.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.sim & ./Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches