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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001036/0.001036, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001312/0.001312, allocations: 172.7 kB / 15.95 MB, free: 208 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.359/1.359, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 15.94 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.5805, allocations: 153.8 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.09905/0.6796, allocations: 109.5 MB / 1.129 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03431/0.714, allocations: 26.31 MB / 1.155 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004241/0.7182, allocations: 115.2 kB / 1.155 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.7217, allocations: 1.067 MB / 1.156 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.7318, allocations: 3.646 MB / 1.16 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006738/0.7386, allocations: 2.258 MB / 1.162 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01141/0.75, allocations: 9.581 MB / 1.171 GB, free: 7.141 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.7533, allocations: 1.941 MB / 1.173 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/0.759, allocations: 2.718 MB / 1.176 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003667/0.7627, allocations: 2.17 MB / 1.178 GB, free: 260 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004759/0.7632, allocations: 120 kB / 1.178 GB, free: 140 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008164/0.7713, allocations: 2.3 MB / 1.18 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009367/0.7723, allocations: 0.5327 MB / 1.181 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.7736, allocations: 0.6369 MB / 1.181 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005677/0.7793, allocations: 4.064 MB / 1.185 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.7793, allocations: 0 / 1.185 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7793, allocations: 4 kB / 1.185 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.33e-05/0.7794, allocations: 0 / 1.185 GB, free: 8.574 MB / 0.9356 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.005967/0.7854, allocations: 3.09 MB / 1.188 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7855, allocations: 11.98 kB / 1.188 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009414/0.7864, allocations: 359.9 kB / 1.189 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/0.791, allocations: 2.501 MB / 1.191 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.7911, allocations: 139.5 kB / 1.191 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.7914, allocations: 183.9 kB / 1.192 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.7948, allocations: 1.92 MB / 1.193 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.505e-05/0.7948, allocations: 4 kB / 1.193 GB, free: 180 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.795, allocations: 76 kB / 1.194 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.408e-05/0.7951, allocations: 44 kB / 1.194 GB, free: 60 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.7977, allocations: 1.422 MB / 1.195 GB, free: 14.63 MB / 0.9512 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.01292/0.8106, allocations: 9.885 MB / 1.205 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.8125, allocations: 1.013 MB / 1.206 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009032/0.8134, allocations: 0.5653 MB / 1.206 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002237/0.8157, allocations: 3.088 MB / 1.209 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.8157, allocations: 51.56 kB / 1.209 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=127): time 3.357e-06/0.8157, allocations: 3.938 kB / 1.209 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=127): time 0.003559/0.8193, allocations: 1.784 MB / 1.211 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.8194, allocations: 64.41 kB / 1.211 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.8225, allocations: 2.162 MB / 1.213 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.8227, allocations: 49.7 kB / 1.213 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009669/0.8236, allocations: 1.189 MB / 1.214 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.8241, allocations: 465.4 kB / 1.215 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.8242, allocations: 32 kB / 1.215 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8243, allocations: 361.9 kB / 1.215 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008818/0.8252, allocations: 499.7 kB / 1.216 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.8263, allocations: 0.8648 MB / 1.216 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.8274, allocations: 0.6271 MB / 1.217 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.8274, allocations: 4 kB / 1.217 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00321/0.8307, allocations: 1.744 MB / 1.219 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.8309, allocations: 376.1 kB / 1.219 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.295e-05/0.8309, allocations: 15.98 kB / 1.219 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003063/0.8312, allocations: 60.81 kB / 1.219 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.8325, allocations: 343.5 kB / 1.22 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.8338, allocations: 1.44 MB / 1.221 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.8358, allocations: 246.2 kB / 1.221 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.836, allocations: 83.91 kB / 1.221 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.836, allocations: 6.031 kB / 1.221 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002651/0.8386, allocations: 1.496 MB / 1.223 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/0.8387, allocations: 23.97 kB / 1.223 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.839, allocations: 68.75 kB / 1.223 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.8402, allocations: 347.4 kB / 1.223 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.8413, allocations: 1.44 MB / 1.225 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.8432, allocations: 230.6 kB / 1.225 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.8434, allocations: 79.95 kB / 1.225 GB, free: 13.96 MB / 0.9825 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.001079/0.8445, allocations: 0.571 MB / 1.225 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004928/0.845, allocations: 260.8 kB / 1.226 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.8491, allocations: 2.202 MB / 1.228 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/0.8491, allocations: 31.97 kB / 1.228 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8491, allocations: 0 / 1.228 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002337/0.8515, allocations: 1.595 MB / 1.229 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00862/0.8601, allocations: 5.021 MB / 1.234 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/0.8602, allocations: 11.98 kB / 1.234 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.8613, allocations: 275.7 kB / 1.235 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.8615, allocations: 56.81 kB / 1.235 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.8616, allocations: 51.98 kB / 1.235 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.8629, allocations: 1.436 MB / 1.236 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.8629, allocations: 4 kB / 1.236 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/0.8672, allocations: 2.836 MB / 1.239 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.8684, allocations: 0.6217 MB / 1.239 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/0.8689, allocations: 47.94 kB / 1.24 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.8705, allocations: 143.6 kB / 1.24 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.8708, allocations: 145 kB / 1.24 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.8709, allocations: 75.95 kB / 1.24 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002655/0.8736, allocations: 1.569 MB / 1.241 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8736, allocations: 3.938 kB / 1.241 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00414/0.8778, allocations: 1.56 MB / 1.243 GB, free: 10.94 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 (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.00204/0.8798, allocations: 0.9453 MB / 1.244 GB, free: 10 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004423/0.8843, allocations: 2.648 MB / 1.246 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.8843, allocations: 4 kB / 1.246 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.886, allocations: 1.106 MB / 1.248 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006587/0.8926, allocations: 1.419 MB / 1.249 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.444/1.337, allocations: 6.244 MB / 1.255 GB, free: 218 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/1.338, allocations: 1.715 MB / 1.257 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003081/1.341, allocations: 0.708 MB / 1.257 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/1.342, allocations: 248.1 kB / 1.258 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.342, allocations: 0 / 1.258 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.08626/1.428, allocations: 61.08 MB / 1.317 GB, free: 180.8 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