Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001054/0.001054, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001411/0.001411, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7239/0.7243, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.1047/0.829, allocations: 109.5 MB / 1.061 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03807/0.8672, allocations: 26.29 MB / 1.087 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004464/0.8717, allocations: 115.2 kB / 1.087 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004998/0.8767, allocations: 1.067 MB / 1.088 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.8884, allocations: 3.643 MB / 1.092 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007477/0.8959, allocations: 2.259 MB / 1.094 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0127/0.9087, allocations: 9.591 MB / 1.103 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/0.912, allocations: 1.945 MB / 1.105 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005781/0.9178, allocations: 2.711 MB / 1.108 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003721/0.9215, allocations: 2.174 MB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004246/0.922, allocations: 120 kB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008001/0.93, allocations: 2.3 MB / 1.112 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007085/0.9307, allocations: 0.5366 MB / 1.113 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.9318, allocations: 0.6329 MB / 1.114 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005087/0.9369, allocations: 4.06 MB / 1.117 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9369, allocations: 4 kB / 1.118 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9369, allocations: 0 / 1.118 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.872e-05/0.937, allocations: 0 / 1.118 GB, free: 8.094 MB / 0.8731 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.005479/0.9425, allocations: 3.092 MB / 1.121 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9425, allocations: 12.03 kB / 1.121 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007292/0.9433, allocations: 352 kB / 1.121 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/0.9475, allocations: 2.507 MB / 1.123 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.9476, allocations: 131.5 kB / 1.123 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.9478, allocations: 191.9 kB / 1.124 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.9511, allocations: 1.924 MB / 1.126 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/0.9511, allocations: 0 / 1.126 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.9513, allocations: 72 kB / 1.126 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.9513, allocations: 51.94 kB / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.9538, allocations: 1.426 MB / 1.127 GB, free: 14.14 MB / 0.8887 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.01162/0.9655, allocations: 9.869 MB / 1.137 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.9673, allocations: 1.002 MB / 1.138 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008727/0.9681, allocations: 0.5808 MB / 1.138 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00228/0.9704, allocations: 3.088 MB / 1.141 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.9705, allocations: 51.5 kB / 1.141 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=127): time 3.196e-06/0.9705, allocations: 0 / 1.141 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=127): time 0.00343/0.9739, allocations: 1.78 MB / 1.143 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.974, allocations: 64.41 kB / 1.143 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/0.977, allocations: 2.166 MB / 1.145 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.9771, allocations: 53.7 kB / 1.145 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009633/0.9781, allocations: 1.189 MB / 1.146 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004091/0.9785, allocations: 453.4 kB / 1.147 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.9786, allocations: 28 kB / 1.147 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.9788, allocations: 373.9 kB / 1.147 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008613/0.9796, allocations: 0.4919 MB / 1.148 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.9808, allocations: 0.857 MB / 1.149 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.9818, allocations: 0.6232 MB / 1.149 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.9818, allocations: 7.938 kB / 1.149 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002967/0.9848, allocations: 1.749 MB / 1.151 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.9851, allocations: 369.1 kB / 1.151 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/0.9851, allocations: 12 kB / 1.151 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002927/0.9854, allocations: 68.81 kB / 1.151 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.9866, allocations: 351.4 kB / 1.152 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.9879, allocations: 1.441 MB / 1.153 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.9897, allocations: 254.2 kB / 1.153 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.9898, allocations: 83.89 kB / 1.153 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.9899, allocations: 4 kB / 1.153 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00262/0.9925, allocations: 1.492 MB / 1.155 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-05/0.9926, allocations: 15.98 kB / 1.155 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/0.9928, allocations: 61.38 kB / 1.155 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.9939, allocations: 347.5 kB / 1.155 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.9951, allocations: 1.436 MB / 1.157 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.9968, allocations: 238.4 kB / 1.157 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.9969, allocations: 75.97 kB / 1.157 GB, free: 13.51 MB / 0.92 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009797/0.9979, allocations: 0.5864 MB / 1.157 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.9983, allocations: 256.8 kB / 1.158 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/1.002, allocations: 2.21 MB / 1.16 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/1.002, allocations: 31.92 kB / 1.16 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.002, allocations: 0 / 1.16 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002399/1.005, allocations: 1.599 MB / 1.161 GB, free: 8.781 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008404/1.013, allocations: 5.016 MB / 1.166 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/1.013, allocations: 12 kB / 1.166 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.014, allocations: 263.6 kB / 1.167 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/1.015, allocations: 65.34 kB / 1.167 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.015, allocations: 51.97 kB / 1.167 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/1.016, allocations: 1.432 MB / 1.168 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.016, allocations: 8 kB / 1.168 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/1.02, allocations: 2.844 MB / 1.171 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.021, allocations: 0.6295 MB / 1.172 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004497/1.022, allocations: 36 kB / 1.172 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.023, allocations: 147.6 kB / 1.172 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/1.024, allocations: 144.9 kB / 1.172 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/1.024, allocations: 75.95 kB / 1.172 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00258/1.026, allocations: 1.569 MB / 1.173 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.2e-07/1.026, allocations: 4 kB / 1.173 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004111/1.031, allocations: 1.564 MB / 1.175 GB, free: 10.45 MB / 0.9356 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002031/1.033, allocations: 0.9439 MB / 1.176 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004419/1.037, allocations: 2.655 MB / 1.179 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.037, allocations: 0 / 1.179 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/1.039, allocations: 1.108 MB / 1.18 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006262/1.045, allocations: 1.417 MB / 1.181 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008309/1.053, allocations: 6.251 MB / 1.187 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.055, allocations: 1.714 MB / 1.189 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00257/1.057, allocations: 0.7156 MB / 1.189 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/1.058, allocations: 247.3 kB / 1.19 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/1.058, allocations: 0 / 1.19 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of Templates: time 0.5258/1.584, allocations: 61.06 MB / 1.249 GB, free: 271.2 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.sim & ./Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches