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.001928/0.001928, allocations: 111 kB / 16.46 MB, free: 6.453 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.002247/0.002247, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.444/1.444, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.094/3.094, allocations: 0.4899 GB / 0.7915 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.002179/0.002179, allocations: 71.77 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3033, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004527/0.3078, allocations: 3.077 MB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002947/0.3107, allocations: 2.191 MB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3109, allocations: 12 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.3122, allocations: 0.5054 MB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.3124, allocations: 146.9 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.3126, allocations: 63.94 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.3131, allocations: 439.2 kB / 1.328 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.3133, allocations: 111.2 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.3135, allocations: 171.3 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.3138, allocations: 183.1 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.3138, allocations: 32 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.415e-05/0.3139, allocations: 39.94 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.314, allocations: 95.67 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.3142, allocations: 218.9 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.3148, allocations: 0.5447 MB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3148, allocations: 0 / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3148, allocations: 0 / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3148, allocations: 0 / 1.329 GB, free: 10.96 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001082/0.3159, allocations: 0.7122 MB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.316, allocations: 19.97 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.316, allocations: 48.61 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.3166, allocations: 370.4 kB / 1.33 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.3166, allocations: 20.81 kB / 1.33 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.3166, allocations: 16.38 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.3171, allocations: 207.5 kB / 1.33 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3171, allocations: 7.984 kB / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.3171, allocations: 8 kB / 1.33 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.3171, allocations: 8 kB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.3175, allocations: 157.7 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.3188, allocations: 0.8703 MB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.3191, allocations: 150.5 kB / 1.331 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.3193, allocations: 96.81 kB / 1.332 GB, free: 8.117 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3194, allocations: 4 kB / 1.332 GB, free: 8.113 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.3194, allocations: 38.56 kB / 1.332 GB, free: 8.066 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.3194, allocations: 0 / 1.332 GB, free: 8.066 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0006386/0.32, allocations: 259.3 kB / 1.332 GB, free: 7.809 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.3201, allocations: 55.41 kB / 1.332 GB, free: 7.742 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005065/0.3206, allocations: 413.7 kB / 1.332 GB, free: 7.328 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3206, allocations: 25.7 kB / 1.332 GB, free: 7.297 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.3208, allocations: 208.4 kB / 1.332 GB, free: 7.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.3209, allocations: 67.44 kB / 1.333 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.3209, allocations: 33.7 kB / 1.333 GB, free: 6.984 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3211, allocations: 346.8 kB / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.3213, allocations: 55.97 kB / 1.333 GB, free: 6.582 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.3214, allocations: 57.86 kB / 1.333 GB, free: 6.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.3218, allocations: 138.3 kB / 1.333 GB, free: 6.391 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3218, allocations: 4 kB / 1.333 GB, free: 6.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004278/0.3222, allocations: 209.3 kB / 1.333 GB, free: 6.176 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3222, allocations: 8 kB / 1.333 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3222, allocations: 0 / 1.333 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3222, allocations: 3.938 kB / 1.333 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.3225, allocations: 47.97 kB / 1.333 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3225, allocations: 4 kB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.3226, allocations: 27.81 kB / 1.333 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3227, allocations: 4 kB / 1.333 GB, free: 6.082 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 (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.0001686/0.3228, allocations: 165.8 kB / 1.334 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.3229, allocations: 35.77 kB / 1.334 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.295e-05/0.323, allocations: 43.53 kB / 1.334 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.323, allocations: 4 kB / 1.334 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.323, allocations: 0 / 1.334 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.323, allocations: 0 / 1.334 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.3234, allocations: 381.3 kB / 1.334 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3234, allocations: 4 kB / 1.334 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.3237, allocations: 55.91 kB / 1.334 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3237, allocations: 4 kB / 1.334 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3237, allocations: 3.938 kB / 1.334 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3237, allocations: 3.938 kB / 1.334 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3237, allocations: 0 / 1.334 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.3244, allocations: 382.8 kB / 1.334 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.3245, allocations: 120.9 kB / 1.335 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.3246, allocations: 3.938 kB / 1.335 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3247, allocations: 11.98 kB / 1.335 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.3248, allocations: 11.98 kB / 1.335 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3248, allocations: 12 kB / 1.335 GB, free: 4.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00035/0.3251, allocations: 295.2 kB / 1.335 GB, free: 4.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3251, allocations: 0 / 1.335 GB, free: 4.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003101/0.3255, allocations: 79.89 kB / 1.335 GB, free: 4.402 MB / 1.029 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.00014/0.3256, allocations: 111.2 kB / 1.335 GB, free: 4.285 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.326, allocations: 131.9 kB / 1.335 GB, free: 4.156 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.326, allocations: 0 / 1.335 GB, free: 4.156 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.3262, allocations: 79.89 kB / 1.335 GB, free: 4.078 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.3267, allocations: 89.08 kB / 1.335 GB, free: 3.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.328, allocations: 0.772 MB / 1.336 GB, free: 3.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.3284, allocations: 0.799 MB / 1.337 GB, free: 2.375 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.3285, allocations: 38.95 kB / 1.337 GB, free: 2.336 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.3286, allocations: 23.44 kB / 1.337 GB, free: 2.312 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3286, allocations: 0 / 1.337 GB, free: 2.312 MB / 1.029 GB Notification: Performance of Templates: time 0.008723/0.3373, allocations: 4.031 MB / 1.341 GB, free: 14.39 MB / 1.045 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.393504939973354]