Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.002591/0.002591, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.003115/0.003115, allocations: 165.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.017/3.017, allocations: 377.8 MB / 0.6232 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.647e-05, allocations: 3.156 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002882/0.002909, allocations: 1.519 MB / 0.8123 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.004588, allocations: 0.9105 MB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.004652, allocations: 3.938 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.004861, allocations: 40.69 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.681e-05/0.004898, allocations: 19.78 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.005436, allocations: 190.9 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.005544, allocations: 47.67 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.005583, allocations: 8 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.005685, allocations: 29.84 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.823e-05/0.005713, allocations: 7.938 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.005729, allocations: 4 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.006182, allocations: 175.6 kB / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.006192, allocations: 5.531 kB / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.00622, allocations: 11.94 kB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.006521, allocations: 151.5 kB / 0.8139 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.00653, allocations: 8 kB / 0.8139 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.006531, allocations: 1.062 kB / 0.8139 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.006535, allocations: 0 / 0.8139 GB, free: 14.99 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004671/0.007002, allocations: 395.8 kB / 0.8143 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.00704, allocations: 8.562 kB / 0.8143 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.007155, allocations: 128.6 kB / 0.8144 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.007413, allocations: 259.3 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.007539, allocations: 238.8 kB / 0.8149 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.007668, allocations: 242.8 kB / 0.8151 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.007775, allocations: 150.2 kB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.299e-05/0.007838, allocations: 119.4 kB / 0.8153 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.007962, allocations: 239.3 kB / 0.8156 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.008089, allocations: 243.7 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.008216, allocations: 242.3 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.008663, allocations: 0.5875 MB / 0.8166 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.008837, allocations: 265.4 kB / 0.8169 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.008909, allocations: 127.8 kB / 0.817 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.009211, allocations: 127.2 kB / 0.8171 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.975e-05/0.009301, allocations: 153.4 kB / 0.8173 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.009302, allocations: 0 / 0.8173 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.653e-05/0.009398, allocations: 38.91 kB / 0.8173 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.009502, allocations: 174.5 kB / 0.8175 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.009715, allocations: 201.8 kB / 0.8176 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.009735, allocations: 26.52 kB / 0.8177 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/0.00983, allocations: 142.9 kB / 0.8178 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.009831, allocations: 0 / 0.8178 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.009873, allocations: 20.25 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002742/0.01015, allocations: 0.4884 MB / 0.8183 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.01017, allocations: 5.562 kB / 0.8183 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.01018, allocations: 8 kB / 0.8183 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.01022, allocations: 11.69 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01023, allocations: 3.938 kB / 0.8183 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000146/0.01037, allocations: 54.8 kB / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.01038, allocations: 4 kB / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.0104, allocations: 0 / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.01042, allocations: 7.188 kB / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.01042, allocations: 0 / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01042, allocations: 7.875 kB / 0.8184 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.01045, allocations: 3.938 kB / 0.8184 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.01045, allocations: 0 / 0.8184 GB, free: 10.14 MB / 0.7761 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001734/0.01063, allocations: 275.8 kB / 0.8187 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.01074, allocations: 164.8 kB / 0.8188 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.983e-05/0.01083, allocations: 152.7 kB / 0.819 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001484/0.01098, allocations: 268.6 kB / 0.8192 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001436/0.01112, allocations: 273 kB / 0.8195 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000137/0.01126, allocations: 268.1 kB / 0.8197 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.01161, allocations: 0.5076 MB / 0.8202 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-05/0.01169, allocations: 146 kB / 0.8204 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.01177, allocations: 144.9 kB / 0.8205 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000151/0.01192, allocations: 268 kB / 0.8208 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.01206, allocations: 273.4 kB / 0.821 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001442/0.01221, allocations: 272 kB / 0.8213 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001396/0.01235, allocations: 264.1 kB / 0.8215 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.01261, allocations: 449 kB / 0.822 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/0.01271, allocations: 160.8 kB / 0.8221 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.01286, allocations: 268.3 kB / 0.8224 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.01298, allocations: 153.6 kB / 0.8225 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.01312, allocations: 268 kB / 0.8228 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.0132, allocations: 151.3 kB / 0.8229 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001064/0.01331, allocations: 152.9 kB / 0.8231 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01331, allocations: 0 / 0.8231 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002802/0.01359, allocations: 31.88 kB / 0.8231 GB, free: 5.145 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003655/0.01396, allocations: 262.3 kB / 0.8234 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.01407, allocations: 48.39 kB / 0.8234 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01407, allocations: 0 / 0.8234 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-06/0.01407, allocations: 3.938 kB / 0.8234 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.0147, allocations: 0.714 MB / 0.8241 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.01537, allocations: 261.4 kB / 0.8244 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.99e-05/0.01545, allocations: 76.05 kB / 0.8244 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.01547, allocations: 5.047 kB / 0.8244 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.01549, allocations: 17.56 kB / 0.8244 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01549, allocations: 0 / 0.8244 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of Templates: time 0.00502/0.02051, allocations: 1.623 MB / 0.826 GB, free: 2.113 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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: 7.971821742015891]