Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 110.3 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.177/3.177, allocations: 0.4899 GB / 0.7915 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 73.42 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006042/0.3269, allocations: 4.187 MB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003893/0.3308, allocations: 2.468 MB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.3311, allocations: 12 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.3328, allocations: 0.5597 MB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004983/0.3333, allocations: 246 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.3335, allocations: 135.9 kB / 1.329 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009087/0.3344, allocations: 0.8098 MB / 1.33 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.3348, allocations: 230.6 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.3352, allocations: 302.9 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.3356, allocations: 334.6 kB / 1.33 GB, free: 9.504 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.3357, allocations: 72 kB / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3358, allocations: 76 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.336, allocations: 171.4 kB / 1.331 GB, free: 9.191 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.3364, allocations: 382.2 kB / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.3375, allocations: 0.9923 MB / 1.332 GB, free: 7.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3375, allocations: 0 / 1.332 GB, free: 7.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3375, allocations: 4 kB / 1.332 GB, free: 7.816 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3375, allocations: 0 / 1.332 GB, free: 7.816 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001604/0.3391, allocations: 0.9652 MB / 1.333 GB, free: 6.797 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3392, allocations: 11.98 kB / 1.333 GB, free: 6.785 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.3393, allocations: 80.47 kB / 1.333 GB, free: 6.707 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/0.3401, allocations: 462 kB / 1.333 GB, free: 6.223 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.3401, allocations: 41.38 kB / 1.333 GB, free: 6.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.3402, allocations: 52.36 kB / 1.334 GB, free: 6.129 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/0.341, allocations: 430.7 kB / 1.334 GB, free: 5.703 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.341, allocations: 0 / 1.334 GB, free: 5.703 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.3411, allocations: 23.94 kB / 1.334 GB, free: 5.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3411, allocations: 12 kB / 1.334 GB, free: 5.668 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007592/0.3418, allocations: 367.8 kB / 1.334 GB, free: 5.309 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.3441, allocations: 1.516 MB / 1.336 GB, free: 3.715 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.3447, allocations: 315.4 kB / 1.336 GB, free: 3.395 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/0.3452, allocations: 299.4 kB / 1.336 GB, free: 3.102 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3452, allocations: 4 kB / 1.336 GB, free: 3.098 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3452, allocations: 50.22 kB / 1.336 GB, free: 3.039 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.3452, allocations: 0 / 1.336 GB, free: 3.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.001038/0.3463, allocations: 492.8 kB / 1.337 GB, free: 2.551 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3463, allocations: 59.39 kB / 1.337 GB, free: 2.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.3469, allocations: 493.9 kB / 1.337 GB, free: 1.992 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.347, allocations: 29.7 kB / 1.337 GB, free: 1.957 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.3472, allocations: 284.7 kB / 1.338 GB, free: 1.676 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3473, allocations: 146.7 kB / 1.338 GB, free: 1.531 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3474, allocations: 62.08 kB / 1.338 GB, free: 1.461 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.3476, allocations: 358.8 kB / 1.338 GB, free: 1.102 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.3479, allocations: 120.7 kB / 1.338 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.3482, allocations: 129.4 kB / 1.339 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.3487, allocations: 290.2 kB / 1.339 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3487, allocations: 4 kB / 1.339 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000701/0.3494, allocations: 400.5 kB / 1.339 GB, free: 176 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3495, allocations: 4 kB / 1.339 GB, free: 172 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3495, allocations: 3.984 kB / 1.339 GB, free: 168 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3495, allocations: 4 kB / 1.339 GB, free: 164 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.35, allocations: 127.8 kB / 1.339 GB, free: 36 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.35, allocations: 4 kB / 1.339 GB, free: 32 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.3503, allocations: 31.89 kB / 1.339 GB, free: 16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.3503, allocations: 12 kB / 1.339 GB, free: 15.98 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002326/0.3505, allocations: 205.6 kB / 1.34 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.3506, allocations: 55.61 kB / 1.34 GB, free: 15.72 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.3507, allocations: 61.09 kB / 1.34 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3507, allocations: 4 kB / 1.34 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3507, allocations: 4 kB / 1.34 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3508, allocations: 0 / 1.34 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.3515, allocations: 0.5713 MB / 1.34 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3515, allocations: 4 kB / 1.34 GB, free: 15.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/0.352, allocations: 127.8 kB / 1.34 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.352, allocations: 0 / 1.34 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.352, allocations: 12 kB / 1.34 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.352, allocations: 7.984 kB / 1.34 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.352, allocations: 0 / 1.34 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3531, allocations: 0.6482 MB / 1.341 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.3533, allocations: 144.6 kB / 1.341 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.3533, allocations: 11.98 kB / 1.341 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.3536, allocations: 16 kB / 1.341 GB, free: 14.03 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.3536, allocations: 23.97 kB / 1.341 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3536, allocations: 11.94 kB / 1.341 GB, free: 13.99 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004334/0.3541, allocations: 355.1 kB / 1.342 GB, free: 13.65 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3541, allocations: 0 / 1.342 GB, free: 13.65 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000427/0.3545, allocations: 139.7 kB / 1.342 GB, free: 13.52 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001547/0.3547, allocations: 119.1 kB / 1.342 GB, free: 13.39 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006496/0.3553, allocations: 299.6 kB / 1.342 GB, free: 13.1 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3553, allocations: 0 / 1.342 GB, free: 13.1 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.3556, allocations: 175.5 kB / 1.342 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.3563, allocations: 131.6 kB / 1.342 GB, free: 12.8 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.3584, allocations: 1.211 MB / 1.344 GB, free: 11.56 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.3589, allocations: 0.8742 MB / 1.344 GB, free: 10.66 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001943/0.3591, allocations: 52.34 kB / 1.344 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3592, allocations: 35.44 kB / 1.345 GB, free: 10.57 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.3592, allocations: 4 kB / 1.345 GB, free: 10.57 MB / 1.045 GB Notification: Performance of Templates: time 0.01242/0.3717, allocations: 6.079 MB / 1.35 GB, free: 4.621 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.817201539874077]