Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00166/0.00166, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001851/0.001851, allocations: 217 kB / 22.99 MB, free: 4.945 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.399/3.399, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002138/0.002138, allocations: 74.58 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3819, allocations: 181.8 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003008/0.385, allocations: 1.487 MB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3866, allocations: 0.8617 MB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.3867, allocations: 4 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.3869, allocations: 43.75 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.913e-05/0.3869, allocations: 11.88 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.3875, allocations: 204.4 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3876, allocations: 47.73 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.3876, allocations: 3.984 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.3877, allocations: 19.94 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.3877, allocations: 15.86 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3878, allocations: 4 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.3882, allocations: 171.7 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.3882, allocations: 11.98 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.3883, allocations: 15.88 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.3885, allocations: 123.6 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3885, allocations: 0 / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3885, allocations: 0 / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3885, allocations: 0 / 1.368 GB, free: 10.57 MB / 1.061 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.0004354/0.3889, allocations: 301.8 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.389, allocations: 8.031 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.3891, allocations: 88.17 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3893, allocations: 197.8 kB / 1.368 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.3894, allocations: 154.9 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.261e-05/0.3895, allocations: 150.9 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.047e-05/0.3896, allocations: 105.3 kB / 1.369 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.745e-05/0.3896, allocations: 83.22 kB / 1.369 GB, free: 9.438 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.3897, allocations: 158.5 kB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.355e-05/0.3898, allocations: 154.6 kB / 1.369 GB, free: 9.129 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.3899, allocations: 150.6 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.3902, allocations: 417.5 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.3903, allocations: 169.1 kB / 1.37 GB, free: 8.367 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.3904, allocations: 88.08 kB / 1.37 GB, free: 8.277 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.3904, allocations: 75.28 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.727e-05/0.3905, allocations: 105.8 kB / 1.37 GB, free: 8.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3905, allocations: 0 / 1.37 GB, free: 8.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.626e-05/0.3906, allocations: 37.62 kB / 1.37 GB, free: 8.047 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.3907, allocations: 130.7 kB / 1.37 GB, free: 7.906 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3908, allocations: 140.2 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3909, allocations: 25.7 kB / 1.37 GB, free: 7.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.3909, allocations: 96.08 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.3909, allocations: 0 / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.391, allocations: 17.7 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3911, allocations: 318.8 kB / 1.371 GB, free: 7.289 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.3912, allocations: 7.938 kB / 1.371 GB, free: 7.281 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.3912, allocations: 11.98 kB / 1.371 GB, free: 7.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.3912, allocations: 12.84 kB / 1.371 GB, free: 7.254 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3912, allocations: 0 / 1.371 GB, free: 7.254 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001236/0.3913, allocations: 41.7 kB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3914, allocations: 7.938 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.3914, allocations: 4 kB / 1.371 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3914, allocations: 0 / 1.371 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.3914, allocations: 0 / 1.371 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3914, allocations: 4.062 kB / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.3914, allocations: 15.88 kB / 1.371 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3914, allocations: 4 kB / 1.371 GB, free: 7.172 MB / 1.061 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.000121/0.3916, allocations: 190.2 kB / 1.371 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.3917, allocations: 112.9 kB / 1.371 GB, free: 6.859 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.336e-05/0.3917, allocations: 108.8 kB / 1.371 GB, free: 6.742 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.654e-05/0.3918, allocations: 184.2 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.112e-05/0.3919, allocations: 176.3 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.502e-05/0.392, allocations: 188.2 kB / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.3923, allocations: 360.9 kB / 1.372 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.948e-05/0.3923, allocations: 105 kB / 1.372 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.3924, allocations: 104.9 kB / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.304e-05/0.3925, allocations: 184.2 kB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.723e-05/0.3926, allocations: 188.2 kB / 1.373 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-05/0.3926, allocations: 180.3 kB / 1.373 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.136e-05/0.3927, allocations: 180.3 kB / 1.373 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.3929, allocations: 307.8 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.393, allocations: 112.9 kB / 1.373 GB, free: 4.387 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3931, allocations: 180.2 kB / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.3932, allocations: 105 kB / 1.374 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3933, allocations: 184.2 kB / 1.374 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/0.3934, allocations: 105 kB / 1.374 GB, free: 3.797 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.111e-05/0.3934, allocations: 103.3 kB / 1.374 GB, free: 3.695 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3934, allocations: 0 / 1.374 GB, free: 3.695 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002975/0.3937, allocations: 31.88 kB / 1.374 GB, free: 3.664 MB / 1.061 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.0003403/0.3941, allocations: 218.3 kB / 1.374 GB, free: 3.441 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.3942, allocations: 41.64 kB / 1.374 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3942, allocations: 0 / 1.374 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3942, allocations: 0 / 1.374 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.3947, allocations: 473.5 kB / 1.375 GB, free: 2.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.3951, allocations: 253 kB / 1.375 GB, free: 2.648 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.815e-05/0.3952, allocations: 67.33 kB / 1.375 GB, free: 2.562 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.3952, allocations: 11.44 kB / 1.375 GB, free: 2.551 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.3952, allocations: 0 / 1.375 GB, free: 2.551 MB / 1.061 GB Notification: Performance of Templates: time 0.00329/0.3985, allocations: 1.314 MB / 1.376 GB, free: 1.246 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.113819216843694]