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.001586/0.001587, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001721/0.001721, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.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.488/2.488, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7741/0.7756, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.1173/0.8929, allocations: 118.6 MB / 1.283 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03515/0.9281, allocations: 28.03 MB / 1.311 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004203/0.9323, allocations: 131.2 kB / 1.311 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004194/0.9366, allocations: 1.56 MB / 1.312 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.9491, allocations: 4.823 MB / 1.317 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008158/0.9573, allocations: 3.217 MB / 1.32 GB, free: 6.941 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01082/0.9681, allocations: 8.602 MB / 1.328 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004389/0.9725, allocations: 2.711 MB / 1.331 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007337/0.9799, allocations: 3.461 MB / 1.334 GB, free: 8.082 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003865/0.9837, allocations: 2.377 MB / 1.337 GB, free: 5.695 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008449/0.9846, allocations: 296 kB / 1.337 GB, free: 5.406 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006346/0.991, allocations: 2.835 MB / 1.34 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.9921, allocations: 0.7395 MB / 1.341 GB, free: 1.824 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003043/0.9951, allocations: 1.722 MB / 1.342 GB, free: 96 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009588/1.005, allocations: 5.473 MB / 1.348 GB, free: 10.6 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.005, allocations: 0 / 1.348 GB, free: 10.6 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.934e-06/1.005, allocations: 0 / 1.348 GB, free: 10.6 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001408/1.005, allocations: 4 kB / 1.348 GB, free: 10.6 MB / 1.076 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.007989/1.013, allocations: 3.74 MB / 1.351 GB, free: 6.785 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.013, allocations: 16.81 kB / 1.351 GB, free: 6.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/1.014, allocations: 365.8 kB / 1.352 GB, free: 6.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005913/1.02, allocations: 2.676 MB / 1.354 GB, free: 3.668 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/1.02, allocations: 131.5 kB / 1.354 GB, free: 3.539 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/1.021, allocations: 191.9 kB / 1.355 GB, free: 3.352 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/1.024, allocations: 1.928 MB / 1.356 GB, free: 1.355 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/1.024, allocations: 0 / 1.356 GB, free: 1.355 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/1.025, allocations: 79.94 kB / 1.357 GB, free: 1.277 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/1.025, allocations: 51.92 kB / 1.357 GB, free: 1.227 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/1.027, allocations: 1.422 MB / 1.358 GB, free: 15.8 MB / 1.092 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.01222/1.039, allocations: 9.882 MB / 1.368 GB, free: 5.23 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/1.041, allocations: 1.024 MB / 1.369 GB, free: 4.207 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008437/1.042, allocations: 0.5692 MB / 1.369 GB, free: 3.641 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002194/1.044, allocations: 3.068 MB / 1.372 GB, free: 15.89 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.044, allocations: 51.56 kB / 1.372 GB, free: 15.83 MB / 1.107 GB Notification: Performance of pre-optimization done (n=127): time 5.38e-06/1.044, allocations: 4 kB / 1.372 GB, free: 15.83 MB / 1.107 GB Notification: Performance of matching and sorting (n=127): time 0.003774/1.048, allocations: 1.785 MB / 1.374 GB, free: 14.01 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/1.048, allocations: 68.34 kB / 1.374 GB, free: 13.93 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003519/1.052, allocations: 2.22 MB / 1.376 GB, free: 11.7 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/1.052, allocations: 53.7 kB / 1.376 GB, free: 11.64 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009725/1.053, allocations: 1.199 MB / 1.377 GB, free: 10.43 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000454/1.053, allocations: 479.9 kB / 1.378 GB, free: 9.961 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004663/1.054, allocations: 315.4 kB / 1.378 GB, free: 9.645 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/1.054, allocations: 301.1 kB / 1.378 GB, free: 9.348 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008735/1.055, allocations: 496.6 kB / 1.379 GB, free: 8.859 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.056, allocations: 0.8444 MB / 1.38 GB, free: 7.879 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/1.058, allocations: 1.36 MB / 1.381 GB, free: 6.391 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/1.058, allocations: 4 kB / 1.381 GB, free: 6.387 MB / 1.107 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00348/1.062, allocations: 1.738 MB / 1.383 GB, free: 4.637 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.062, allocations: 8 kB / 1.383 GB, free: 4.629 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/1.062, allocations: 12 kB / 1.383 GB, free: 4.617 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/1.062, allocations: 65.41 kB / 1.383 GB, free: 4.551 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.063, allocations: 339.5 kB / 1.383 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/1.065, allocations: 1.554 MB / 1.385 GB, free: 2.523 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.066, allocations: 174.8 kB / 1.385 GB, free: 2.352 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/1.067, allocations: 79.97 kB / 1.385 GB, free: 2.273 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001597/1.068, allocations: 0.9021 MB / 1.386 GB, free: 1.367 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001153/1.069, allocations: 0.8327 MB / 1.387 GB, free: 412 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002069/1.071, allocations: 1.356 MB / 1.388 GB, free: 14.92 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.005e-06/1.071, allocations: 4 kB / 1.388 GB, free: 14.92 MB / 1.123 GB Notification: Performance of matching and sorting (n=195) (initialization_lambda0): time 0.003436/1.075, allocations: 1.731 MB / 1.39 GB, free: 13.18 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.075, allocations: 11.94 kB / 1.39 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/1.075, allocations: 15.94 kB / 1.39 GB, free: 13.15 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/1.075, allocations: 64.81 kB / 1.39 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.076, allocations: 347.4 kB / 1.39 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/1.078, allocations: 1.555 MB / 1.392 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.079, allocations: 139.3 kB / 1.392 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/1.08, allocations: 75.97 kB / 1.392 GB, free: 10.83 MB / 1.123 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.0003825/1.08, allocations: 276.3 kB / 1.392 GB, free: 10.55 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006762/1.081, allocations: 266.3 kB / 1.392 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/1.085, allocations: 2.21 MB / 1.394 GB, free: 8.094 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002461/1.087, allocations: 1.599 MB / 1.396 GB, free: 6.445 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/1.087, allocations: 8 kB / 1.396 GB, free: 6.438 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.088, allocations: 0.5689 MB / 1.397 GB, free: 5.848 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004794/1.089, allocations: 28 kB / 1.397 GB, free: 5.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/1.09, allocations: 55.95 kB / 1.397 GB, free: 5.766 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/1.091, allocations: 117.1 kB / 1.397 GB, free: 5.652 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003676/1.094, allocations: 1.827 MB / 1.399 GB, free: 3.812 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004283/1.099, allocations: 2.818 MB / 1.401 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001084/1.1, allocations: 0.7644 MB / 1.402 GB, free: 220 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002869/1.103, allocations: 1.502 MB / 1.404 GB, free: 14.71 MB / 1.139 GB Notification: Performance of Backend: time 5.41e-07/1.103, allocations: 0 / 1.404 GB, free: 14.71 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007396/1.11, allocations: 3.098 MB / 1.407 GB, free: 11.54 MB / 1.139 GB Notification: Performance of SimCode: time 0.01208/1.122, allocations: 6.215 MB / 1.413 GB, free: 5.254 MB / 1.139 GB Notification: Performance of Templates: time 0.09567/1.218, allocations: 61.86 MB / 1.473 GB, free: 7.887 MB / 1.201 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/jenkins1/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