Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001732/0.001732, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001908/0.001908, allocations: 172.6 kB / 22.46 MB, free: 5.352 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.494/1.494, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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 2.85/2.85, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.326e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004627/0.00466, allocations: 2.861 MB / 0.9843 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.007731, allocations: 1.962 MB / 0.9862 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.007917, allocations: 4 kB / 0.9862 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.009488, allocations: 481.6 kB / 0.9867 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.009808, allocations: 150.7 kB / 0.9868 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.009952, allocations: 63.92 kB / 0.9869 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.0105, allocations: 457.6 kB / 0.9873 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.01074, allocations: 99.8 kB / 0.9874 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.01113, allocations: 243.5 kB / 0.9876 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.01137, allocations: 143.5 kB / 0.9878 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.01142, allocations: 32 kB / 0.9878 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.0115, allocations: 36 kB / 0.9878 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.01164, allocations: 99.66 kB / 0.9879 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.01181, allocations: 147.6 kB / 0.9881 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006127/0.01243, allocations: 0.5334 MB / 0.9886 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01243, allocations: 0 / 0.9886 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01243, allocations: 0 / 0.9886 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.01244, allocations: 0 / 0.9886 GB, free: 4.609 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001138/0.01358, allocations: 0.6369 MB / 0.9892 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.01363, allocations: 8.031 kB / 0.9892 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.01373, allocations: 52.64 kB / 0.9893 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005822/0.01431, allocations: 303.9 kB / 0.9896 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.01434, allocations: 20.88 kB / 0.9896 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.01439, allocations: 28.33 kB / 0.9896 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.01483, allocations: 204.6 kB / 0.9898 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01484, allocations: 192 / 0.9898 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.01487, allocations: 8.375 kB / 0.9898 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01487, allocations: 11.94 kB / 0.9898 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.01529, allocations: 161.9 kB / 0.99 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.01646, allocations: 0.6364 MB / 0.9906 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.0168, allocations: 142.5 kB / 0.9907 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.01703, allocations: 107.7 kB / 0.9908 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.01705, allocations: 3.906 kB / 0.9908 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.01708, allocations: 34.56 kB / 0.9909 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/0.01708, allocations: 0 / 0.9909 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0006559/0.01773, allocations: 255.6 kB / 0.9911 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.01779, allocations: 55.41 kB / 0.9912 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.01827, allocations: 393.7 kB / 0.9915 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.0183, allocations: 29.7 kB / 0.9916 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.01846, allocations: 208.4 kB / 0.9918 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.01854, allocations: 59.48 kB / 0.9918 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.0186, allocations: 33.66 kB / 0.9919 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.01878, allocations: 354.8 kB / 0.9922 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.01895, allocations: 63.95 kB / 0.9923 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.0191, allocations: 55.97 kB / 0.9923 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.01942, allocations: 131.7 kB / 0.9924 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.01942, allocations: 3.984 kB / 0.9924 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004213/0.01984, allocations: 205.3 kB / 0.9926 GB, free: 300 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.01986, allocations: 11.98 kB / 0.9927 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01987, allocations: 0 / 0.9927 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.01988, allocations: 4 kB / 0.9927 GB, free: 284 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.02018, allocations: 55.97 kB / 0.9927 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.02019, allocations: 0 / 0.9927 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.02033, allocations: 23.81 kB / 0.9927 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.02034, allocations: 4 kB / 0.9927 GB, free: 200 kB / 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001788/0.02052, allocations: 165.7 kB / 0.9929 GB, free: 24 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.0206, allocations: 32 kB / 0.9929 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.02067, allocations: 43.39 kB / 0.993 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.02068, allocations: 4 kB / 0.993 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.02068, allocations: 0 / 0.993 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.02069, allocations: 4 kB / 0.993 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.02105, allocations: 272.8 kB / 0.9932 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.02105, allocations: 0 / 0.9932 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.02134, allocations: 55.91 kB / 0.9933 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.02134, allocations: 3.938 kB / 0.9933 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.02136, allocations: 4 kB / 0.9933 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.02136, allocations: 0 / 0.9933 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02136, allocations: 0 / 0.9933 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.02203, allocations: 385.4 kB / 0.9937 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.18e-05/0.02211, allocations: 39.78 kB / 0.9937 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.02215, allocations: 4 kB / 0.9937 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.02231, allocations: 8 kB / 0.9937 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.02236, allocations: 11.97 kB / 0.9937 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.02237, allocations: 4 kB / 0.9937 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003305/0.0227, allocations: 287.2 kB / 0.994 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.0227, allocations: 0 / 0.994 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003138/0.02301, allocations: 79.89 kB / 0.9941 GB, free: 14.77 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001745/0.02319, allocations: 121.3 kB / 0.9942 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.02358, allocations: 139.8 kB / 0.9943 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02358, allocations: 0 / 0.9943 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.02376, allocations: 71.91 kB / 0.9944 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.02432, allocations: 81.91 kB / 0.9945 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.02555, allocations: 0.6807 MB / 0.9951 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.02576, allocations: 194.2 kB / 0.9953 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.02587, allocations: 34.97 kB / 0.9954 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.02593, allocations: 20.5 kB / 0.9954 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.02593, allocations: 0 / 0.9954 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of Templates: time 0.008925/0.03486, allocations: 3.642 MB / 0.9989 GB, free: 9.875 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.240776240825653]