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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001389/0.001389, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.00142/0.00142, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7127, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.1102/0.8229, allocations: 118.6 MB / 1.204 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03627/0.8592, allocations: 28.06 MB / 1.232 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004782/0.864, allocations: 130 kB / 1.232 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003963/0.868, allocations: 1.561 MB / 1.234 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.8802, allocations: 4.825 MB / 1.238 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.009075/0.8893, allocations: 3.211 MB / 1.241 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01155/0.9009, allocations: 8.622 MB / 1.25 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00425/0.9051, allocations: 2.707 MB / 1.252 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007457/0.9126, allocations: 3.456 MB / 1.256 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004123/0.9167, allocations: 2.377 MB / 1.258 GB, free: 192 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009019/0.9177, allocations: 292 kB / 1.258 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006863/0.9245, allocations: 2.839 MB / 1.261 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.9256, allocations: 0.7434 MB / 1.262 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003104/0.9287, allocations: 1.722 MB / 1.264 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008798/0.9375, allocations: 5.451 MB / 1.269 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9376, allocations: 4 kB / 1.269 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9376, allocations: 0 / 1.269 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.324e-05/0.9376, allocations: 0 / 1.269 GB, free: 5.113 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.006123/0.9438, allocations: 3.624 MB / 1.272 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.9438, allocations: 12.03 kB / 1.272 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008778/0.9447, allocations: 356 kB / 1.273 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004338/0.949, allocations: 2.643 MB / 1.275 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.687e-05/0.9492, allocations: 143.4 kB / 1.276 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.9494, allocations: 187.8 kB / 1.276 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.9525, allocations: 1.92 MB / 1.278 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.9526, allocations: 7.906 kB / 1.278 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.9527, allocations: 72 kB / 1.278 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.654e-05/0.9528, allocations: 51.98 kB / 1.278 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.9553, allocations: 1.434 MB / 1.279 GB, free: 10.46 MB / 1.014 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.01165/0.9669, allocations: 9.853 MB / 1.289 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.9688, allocations: 1.017 MB / 1.29 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008795/0.9697, allocations: 0.5692 MB / 1.29 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002209/0.9719, allocations: 3.072 MB / 1.293 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.972, allocations: 47.56 kB / 1.293 GB, free: 10.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=127): time 3.516e-06/0.972, allocations: 0 / 1.293 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=127): time 0.003576/0.9756, allocations: 1.783 MB / 1.295 GB, free: 8.711 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.9756, allocations: 64.41 kB / 1.295 GB, free: 8.633 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.9789, allocations: 2.216 MB / 1.297 GB, free: 6.406 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.979, allocations: 53.7 kB / 1.297 GB, free: 6.348 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009212/0.98, allocations: 1.181 MB / 1.298 GB, free: 5.152 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/0.9804, allocations: 457.4 kB / 1.299 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/0.9808, allocations: 311.3 kB / 1.299 GB, free: 4.391 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.9809, allocations: 305.1 kB / 1.3 GB, free: 4.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008897/0.9818, allocations: 0.4888 MB / 1.3 GB, free: 3.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.983, allocations: 0.8405 MB / 1.301 GB, free: 2.621 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.9852, allocations: 1.364 MB / 1.302 GB, free: 1.133 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.9852, allocations: 4 kB / 1.302 GB, free: 1.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003177/0.9884, allocations: 1.713 MB / 1.304 GB, free: 15.4 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.9884, allocations: 12.08 kB / 1.304 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.9884, allocations: 23.88 kB / 1.304 GB, free: 15.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.9888, allocations: 60.81 kB / 1.304 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.99, allocations: 347.8 kB / 1.304 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.9914, allocations: 1.551 MB / 1.306 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.993, allocations: 174.2 kB / 1.306 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.9931, allocations: 79.97 kB / 1.306 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00147/0.9946, allocations: 0.8904 MB / 1.307 GB, free: 12.13 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001117/0.9957, allocations: 0.8406 MB / 1.308 GB, free: 11.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002025/0.9978, allocations: 1.356 MB / 1.309 GB, free: 9.672 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.9978, allocations: 4 kB / 1.309 GB, free: 9.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=195) (initialization_lambda0): time 0.003158/1.001, allocations: 1.713 MB / 1.311 GB, free: 7.941 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.001, allocations: 14.44 kB / 1.311 GB, free: 7.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/1.001, allocations: 16 kB / 1.311 GB, free: 7.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/1.001, allocations: 56.81 kB / 1.311 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/1.002, allocations: 344 kB / 1.311 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/1.004, allocations: 1.554 MB / 1.313 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/1.005, allocations: 138.8 kB / 1.313 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/1.005, allocations: 75.97 kB / 1.313 GB, free: 5.613 MB / 1.045 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 (190): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003371/1.006, allocations: 283.8 kB / 1.313 GB, free: 5.328 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005072/1.006, allocations: 260.8 kB / 1.313 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/1.01, allocations: 2.188 MB / 1.315 GB, free: 2.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002407/1.013, allocations: 1.599 MB / 1.317 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.013, allocations: 4 kB / 1.317 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009911/1.014, allocations: 0.5557 MB / 1.318 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003812/1.014, allocations: 31.91 kB / 1.318 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.015, allocations: 63.95 kB / 1.318 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/1.016, allocations: 113.2 kB / 1.318 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003555/1.019, allocations: 1.834 MB / 1.32 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004147/1.023, allocations: 2.801 MB / 1.322 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001056/1.024, allocations: 0.7644 MB / 1.323 GB, free: 11.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002388/1.027, allocations: 1.506 MB / 1.325 GB, free: 9.516 MB / 1.061 GB Notification: Performance of Backend: time 3.01e-07/1.027, allocations: 0 / 1.325 GB, free: 9.516 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006484/1.033, allocations: 3.08 MB / 1.328 GB, free: 6.383 MB / 1.061 GB Notification: Performance of SimCode: time 0.01073/1.044, allocations: 6.122 MB / 1.334 GB, free: 200 kB / 1.061 GB Notification: Performance of Templates: time 0.09447/1.139, allocations: 61.88 MB / 1.394 GB, free: 2.977 MB / 1.123 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/jenkins1/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