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.001125/0.001125, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002725, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001117/0.001117, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002532, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9202/0.9202, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08385/1.004, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.407/2.407, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.222/2.629, allocations: 145.9 MB / 0.817 GB, free: 4.242 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.838e-06/1.113e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002301/0.002312, allocations: 1.59 MB / 0.8199 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003497, allocations: 0.9302 MB / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.003552, allocations: 7.938 kB / 0.8208 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.003676, allocations: 43.72 kB / 0.8208 GB, free: 324 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.104e-05/0.003707, allocations: 19.84 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.00408, allocations: 179.4 kB / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.455e-05/0.004175, allocations: 51.67 kB / 0.8211 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.00421, allocations: 7.984 kB / 0.8211 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.004307, allocations: 39.89 kB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.857e-05/0.004336, allocations: 11.94 kB / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.004347, allocations: 4 kB / 0.8211 GB, free: 8 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.004752, allocations: 175.8 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.004764, allocations: 7.938 kB / 0.8213 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.004787, allocations: 15.94 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.005001, allocations: 111.6 kB / 0.8214 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.926e-05/0.005021, allocations: 4 kB / 0.8214 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005021, allocations: 0 / 0.8214 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.005041, allocations: 0 / 0.8214 GB, free: 15.7 MB / 0.8073 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.0003555/0.005396, allocations: 292.1 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.005434, allocations: 12.62 kB / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.005484, allocations: 80.22 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.005663, allocations: 209 kB / 0.822 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.005713, allocations: 150.9 kB / 0.8221 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.005756, allocations: 154.9 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.27e-05/0.005808, allocations: 105.5 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.005835, allocations: 79.47 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.005878, allocations: 150.9 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.005921, allocations: 154.5 kB / 0.8227 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.005965, allocations: 150.6 kB / 0.8229 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.006145, allocations: 361.2 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.986e-05/0.006215, allocations: 181.1 kB / 0.8234 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.006242, allocations: 84.12 kB / 0.8235 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.006263, allocations: 79.33 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.006304, allocations: 113.8 kB / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.006305, allocations: 0 / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.714e-05/0.006372, allocations: 33.64 kB / 0.8237 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.006426, allocations: 130.6 kB / 0.8238 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.006533, allocations: 133.5 kB / 0.824 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.006543, allocations: 25.7 kB / 0.824 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.00658, allocations: 92.11 kB / 0.8241 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.006582, allocations: 4 kB / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.006619, allocations: 13.72 kB / 0.8241 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.006707, allocations: 326.8 kB / 0.8244 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.006719, allocations: 0 / 0.8244 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.006727, allocations: 4 kB / 0.8244 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.006753, allocations: 4.859 kB / 0.8244 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006755, allocations: 4 kB / 0.8244 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.076e-05/0.006836, allocations: 45.62 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.006848, allocations: 4 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.006862, allocations: 0 / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.00687, allocations: 0 / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.949e-06/0.006875, allocations: 4.062 kB / 0.8245 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.006878, allocations: 0 / 0.8245 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.006899, allocations: 7.938 kB / 0.8245 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.006905, allocations: 0 / 0.8245 GB, free: 12.41 MB / 0.8073 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 6.986e-05/0.006975, allocations: 181.1 kB / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.007028, allocations: 109 kB / 0.8247 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.007069, allocations: 116.7 kB / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.21e-05/0.007111, allocations: 176.3 kB / 0.825 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-05/0.007155, allocations: 180.2 kB / 0.8252 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.821e-05/0.007203, allocations: 188.2 kB / 0.8254 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.007362, allocations: 321.4 kB / 0.8257 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/0.007394, allocations: 116.9 kB / 0.8258 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.007418, allocations: 101 kB / 0.8259 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.007454, allocations: 116.9 kB / 0.826 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.286e-05/0.007497, allocations: 176.3 kB / 0.8262 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.007539, allocations: 176.3 kB / 0.8263 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.597e-05/0.007585, allocations: 188.2 kB / 0.8265 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-05/0.007627, allocations: 180.3 kB / 0.8267 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.714e-05/0.007725, allocations: 311.7 kB / 0.827 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.007776, allocations: 180.2 kB / 0.8272 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.007841, allocations: 104.9 kB / 0.8273 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.007878, allocations: 188.2 kB / 0.8274 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.007899, allocations: 105.2 kB / 0.8275 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.345e-05/0.007922, allocations: 30.86 kB / 0.8276 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007922, allocations: 0 / 0.8276 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001454/0.008068, allocations: 39.86 kB / 0.8276 GB, free: 9.023 MB / 0.8073 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.0001618/0.008229, allocations: 199.5 kB / 0.8278 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.96e-05/0.008289, allocations: 34.56 kB / 0.8278 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.008293, allocations: 4 kB / 0.8278 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.008294, allocations: 0 / 0.8278 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.008521, allocations: 479.6 kB / 0.8283 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.009011, allocations: 223.8 kB / 0.8285 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.786e-05/0.009038, allocations: 59.34 kB / 0.8286 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.68e-05/0.009055, allocations: 0 / 0.8286 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.009093, allocations: 55.38 kB / 0.8286 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.009094, allocations: 4 kB / 0.8286 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of Templates: time 0.002782/0.01188, allocations: 1.853 MB / 0.8304 GB, free: 6.113 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.057370187714696]