Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001355, allocations: 109 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 195.6 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.759/2.759, allocations: 437.1 MB / 0.7178 GB, free: 4.504 MB / 0.5606 GB " [Timeout remaining time 177] 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.88 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3518, allocations: 151.6 MB / 1.176 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002723/0.3546, allocations: 1.488 MB / 1.177 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.356, allocations: 0.9073 MB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.3561, allocations: 7.938 kB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.3563, allocations: 39.81 kB / 1.178 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.207e-05/0.3564, allocations: 27.78 kB / 1.178 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.3569, allocations: 187 kB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.357, allocations: 47.67 kB / 1.178 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.3571, allocations: 12 kB / 1.179 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.421e-05/0.3571, allocations: 15.92 kB / 1.179 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.72e-05/0.3572, allocations: 11.94 kB / 1.179 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.3572, allocations: 0 / 1.179 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.3576, allocations: 179.7 kB / 1.179 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.3576, allocations: 7.922 kB / 1.179 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.3576, allocations: 19.88 kB / 1.179 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.3579, allocations: 127.5 kB / 1.179 GB, free: 2.789 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3579, allocations: 4 kB / 1.179 GB, free: 2.785 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3579, allocations: 0 / 1.179 GB, free: 2.785 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3579, allocations: 4 kB / 1.179 GB, free: 2.781 MB / 0.92 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.0004521/0.3584, allocations: 371 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3584, allocations: 8.031 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.3585, allocations: 84.17 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.3588, allocations: 259.6 kB / 1.18 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.3589, allocations: 150.9 kB / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.3589, allocations: 154.9 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/0.359, allocations: 105.3 kB / 1.18 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.3591, allocations: 79.22 kB / 1.18 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/0.3591, allocations: 150.6 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.3592, allocations: 154.6 kB / 1.18 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.3593, allocations: 150.6 kB / 1.18 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.3596, allocations: 465.9 kB / 1.181 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.3597, allocations: 169.1 kB / 1.181 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.3598, allocations: 92.06 kB / 1.181 GB, free: 284 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.3598, allocations: 75.28 kB / 1.181 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.3599, allocations: 113.8 kB / 1.181 GB, free: 84 kB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3599, allocations: 0 / 1.181 GB, free: 84 kB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.044e-05/0.36, allocations: 37.64 kB / 1.181 GB, free: 40 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.3601, allocations: 126.7 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3602, allocations: 133.8 kB / 1.182 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3602, allocations: 25.7 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.3603, allocations: 88.09 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.3603, allocations: 4 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.3604, allocations: 21.7 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3605, allocations: 318.8 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.3605, allocations: 7.938 kB / 1.182 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.3605, allocations: 0 / 1.182 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.037e-05/0.3606, allocations: 16.84 kB / 1.182 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3606, allocations: 4 kB / 1.182 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001237/0.3607, allocations: 45.64 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3607, allocations: 14.19 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.3608, allocations: 0 / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3608, allocations: 4 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3608, allocations: 0 / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3608, allocations: 3.984 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.3608, allocations: 7.891 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.3608, allocations: 4 kB / 1.182 GB, free: 15.18 MB / 0.9356 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.0001124/0.361, allocations: 189.1 kB / 1.182 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.361, allocations: 108.9 kB / 1.182 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.3611, allocations: 112.9 kB / 1.183 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.427e-05/0.3612, allocations: 188.2 kB / 1.183 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.49e-05/0.3613, allocations: 180.3 kB / 1.183 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.483e-05/0.3614, allocations: 180.2 kB / 1.183 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.3616, allocations: 409.2 kB / 1.183 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/0.3617, allocations: 109 kB / 1.184 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.3617, allocations: 112.8 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.877e-05/0.3618, allocations: 176.3 kB / 1.184 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.521e-05/0.3619, allocations: 180.2 kB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-05/0.362, allocations: 180.3 kB / 1.184 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.064e-05/0.3621, allocations: 180.3 kB / 1.184 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3623, allocations: 311.7 kB / 1.185 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/0.3624, allocations: 193.9 kB / 1.185 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.043e-05/0.3625, allocations: 176.3 kB / 1.185 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.3626, allocations: 109 kB / 1.185 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.3627, allocations: 192.1 kB / 1.185 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.3627, allocations: 105 kB / 1.185 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.385e-05/0.3628, allocations: 95.27 kB / 1.185 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3628, allocations: 0 / 1.185 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002686/0.3631, allocations: 43.86 kB / 1.186 GB, free: 11.49 MB / 0.9356 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.0002993/0.3634, allocations: 214.4 kB / 1.186 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.3635, allocations: 45.62 kB / 1.186 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3635, allocations: 0 / 1.186 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.3635, allocations: 4 kB / 1.186 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.364, allocations: 455.7 kB / 1.186 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.3643, allocations: 262.6 kB / 1.186 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3646, allocations: 0.6881 MB / 1.187 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.3647, allocations: 11.44 kB / 1.187 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3647, allocations: 0 / 1.187 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of Templates: time 0.002965/0.3676, allocations: 1.23 MB / 1.188 GB, free: 8.539 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.660762479994446]