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.001941/0.001941, allocations: 103 kB / 16.45 MB, free: 6.449 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.002534/0.002534, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.283/3.283, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: 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.002152/0.002152, allocations: 67.81 kB / 1.149 GB, free: 26.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3295, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002749/0.3323, allocations: 1.508 MB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3339, allocations: 0.9463 MB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.3339, allocations: 3.938 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.3341, allocations: 35.83 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.348e-05/0.3342, allocations: 23.78 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.3347, allocations: 194.8 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.3348, allocations: 47.73 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.3348, allocations: 4 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.91e-05/0.3349, allocations: 19.92 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.3349, allocations: 19.92 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.335, allocations: 0 / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.3354, allocations: 187.7 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.3354, allocations: 0 / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.3355, allocations: 27.8 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3357, allocations: 123.6 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3357, allocations: 0 / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3357, allocations: 0 / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3357, allocations: 0 / 1.324 GB, free: 15.66 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004091/0.3361, allocations: 379 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3362, allocations: 15.98 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.3362, allocations: 80.17 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.3365, allocations: 259.6 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.3365, allocations: 154.9 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.3366, allocations: 150.9 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.257e-05/0.3367, allocations: 113.2 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.3367, allocations: 75.28 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.3368, allocations: 150.6 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.44e-05/0.3369, allocations: 158.5 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.718e-05/0.3369, allocations: 150.6 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.3373, allocations: 473.8 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3374, allocations: 177.1 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.3375, allocations: 80.14 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.3375, allocations: 75.28 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.138e-05/0.3375, allocations: 109.8 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3376, allocations: 4 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.178e-05/0.3376, allocations: 33.66 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.3377, allocations: 130.6 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3379, allocations: 135.8 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3379, allocations: 25.7 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.3379, allocations: 96.12 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.3379, allocations: 0 / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.338, allocations: 13.72 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3381, allocations: 326.8 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.3381, allocations: 0 / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.3382, allocations: 8 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.3382, allocations: 8.859 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3382, allocations: 0 / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001252/0.3383, allocations: 57.52 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3383, allocations: 8 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.3384, allocations: 3.938 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3384, allocations: 0 / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3384, allocations: 4.062 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3384, allocations: 0 / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.3384, allocations: 4 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3384, allocations: 0 / 1.328 GB, free: 12.04 MB / 1.029 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.0001081/0.3385, allocations: 185.1 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.3386, allocations: 120.9 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.756e-05/0.3387, allocations: 112.8 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.123e-05/0.3388, allocations: 180.3 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.892e-05/0.3388, allocations: 176.3 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.549e-05/0.3389, allocations: 192.2 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.3392, allocations: 405.2 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-05/0.3393, allocations: 104.9 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.3393, allocations: 116.9 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-05/0.3394, allocations: 180.3 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.255e-05/0.3395, allocations: 188.2 kB / 1.329 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.534e-05/0.3396, allocations: 176.3 kB / 1.33 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.592e-05/0.3397, allocations: 184.2 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.3399, allocations: 311.8 kB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.34, allocations: 193.9 kB / 1.33 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.3401, allocations: 176.3 kB / 1.33 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.3401, allocations: 104.9 kB / 1.331 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.3402, allocations: 180.3 kB / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.3403, allocations: 113 kB / 1.331 GB, free: 8.488 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001039/0.3404, allocations: 100.8 kB / 1.331 GB, free: 8.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3404, allocations: 3.938 kB / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003001/0.3407, allocations: 35.88 kB / 1.331 GB, free: 8.352 MB / 1.029 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.0003363/0.341, allocations: 218.3 kB / 1.331 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.772e-05/0.3411, allocations: 33.7 kB / 1.331 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3411, allocations: 4 kB / 1.331 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3411, allocations: 64 / 1.331 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.3416, allocations: 467.7 kB / 1.332 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.342, allocations: 230.8 kB / 1.332 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3423, allocations: 0.6885 MB / 1.333 GB, free: 6.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.3424, allocations: 0 / 1.333 GB, free: 6.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.3424, allocations: 11.44 kB / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3424, allocations: 0 / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of Templates: time 0.004405/0.3468, allocations: 1.545 MB / 1.334 GB, free: 5.121 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] 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: 8.850626394152641]