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.001633/0.001633, allocations: 116.6 kB / 17.13 MB, free: 6.027 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.001763/0.001763, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.01/3.01, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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.002102/0.002102, allocations: 67.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 176.1 MB / 1.322 GB, free: 25.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002467/1.095, allocations: 1.505 MB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00124/1.096, allocations: 0.9437 MB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/1.096, allocations: 2.531 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001923/1.096, allocations: 45.22 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.67e-05/1.096, allocations: 22.09 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/1.097, allocations: 194.9 kB / 1.325 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/1.097, allocations: 52.95 kB / 1.325 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/1.097, allocations: 0 / 1.325 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/1.097, allocations: 22.23 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.812e-05/1.097, allocations: 12.03 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/1.097, allocations: 0 / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/1.097, allocations: 188.9 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/1.097, allocations: 3.938 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/1.097, allocations: 19.97 kB / 1.325 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/1.098, allocations: 122.7 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.098, allocations: 2.562 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/1.098, allocations: 0 / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.531e-06/1.098, allocations: 0 / 1.325 GB, free: 23.16 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.0003537/1.098, allocations: 377.2 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.098, allocations: 12.77 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/1.098, allocations: 86.98 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/1.098, allocations: 262.5 kB / 1.326 GB, free: 22.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/1.098, allocations: 153.5 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/1.098, allocations: 150.9 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.744e-05/1.098, allocations: 109.2 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.098, allocations: 83.27 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/1.098, allocations: 150.6 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/1.098, allocations: 161.1 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.989e-05/1.098, allocations: 153.8 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/1.099, allocations: 460.6 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.59e-05/1.099, allocations: 177.1 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/1.099, allocations: 80.14 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/1.099, allocations: 75.28 kB / 1.327 GB, free: 20.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/1.099, allocations: 112.3 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/1.099, allocations: 0 / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.271e-05/1.099, allocations: 36.28 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.099, allocations: 126.7 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/1.099, allocations: 134.8 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/1.099, allocations: 25.7 kB / 1.328 GB, free: 20.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/1.099, allocations: 94.31 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/1.099, allocations: 3.938 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/1.099, allocations: 14.78 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/1.099, allocations: 321.3 kB / 1.328 GB, free: 19.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/1.099, allocations: 6.5 kB / 1.328 GB, free: 19.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/1.099, allocations: 6.531 kB / 1.328 GB, free: 19.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/1.099, allocations: 10.2 kB / 1.328 GB, free: 19.76 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.099, allocations: 0 / 1.328 GB, free: 19.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001207/1.099, allocations: 51.44 kB / 1.328 GB, free: 19.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.099, allocations: 5.156 kB / 1.328 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/1.099, allocations: 2.469 kB / 1.328 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.099, allocations: 0 / 1.328 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.364e-06/1.099, allocations: 2.562 kB / 1.328 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.099, allocations: 4 kB / 1.328 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/1.099, allocations: 4 kB / 1.328 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/1.099, allocations: 3.938 kB / 1.328 GB, free: 19.7 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 6.628e-05/1.099, allocations: 191.2 kB / 1.328 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/1.1, allocations: 111.6 kB / 1.329 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/1.1, allocations: 107.5 kB / 1.329 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/1.1, allocations: 187.8 kB / 1.329 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.412e-05/1.1, allocations: 182.8 kB / 1.329 GB, free: 18.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/1.1, allocations: 184.2 kB / 1.329 GB, free: 18.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/1.1, allocations: 412.1 kB / 1.33 GB, free: 18.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/1.1, allocations: 101 kB / 1.33 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/1.1, allocations: 108.9 kB / 1.33 GB, free: 18.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.097e-05/1.1, allocations: 182.9 kB / 1.33 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/1.1, allocations: 188.2 kB / 1.33 GB, free: 17.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.65e-05/1.1, allocations: 182.1 kB / 1.33 GB, free: 17.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-05/1.1, allocations: 180.2 kB / 1.331 GB, free: 17.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/1.1, allocations: 309 kB / 1.331 GB, free: 17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/1.1, allocations: 199.8 kB / 1.331 GB, free: 16.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/1.1, allocations: 176.3 kB / 1.331 GB, free: 16.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/1.1, allocations: 103.5 kB / 1.331 GB, free: 16.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/1.1, allocations: 180.2 kB / 1.331 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/1.1, allocations: 108.3 kB / 1.332 GB, free: 16.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.714e-05/1.1, allocations: 112.2 kB / 1.332 GB, free: 16.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.1, allocations: 0 / 1.332 GB, free: 16.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002853/1.101, allocations: 35.64 kB / 1.332 GB, free: 16.11 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.0002768/1.101, allocations: 224.8 kB / 1.332 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.869e-05/1.101, allocations: 38.83 kB / 1.332 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.101, allocations: 0 / 1.332 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/1.101, allocations: 0 / 1.332 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/1.101, allocations: 472.5 kB / 1.332 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/1.102, allocations: 256.7 kB / 1.333 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/1.102, allocations: 0.6879 MB / 1.333 GB, free: 14.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/1.102, allocations: 11.44 kB / 1.333 GB, free: 14.5 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/1.102, allocations: 0 / 1.333 GB, free: 14.5 MB / 1.061 GB Notification: Performance of Templates: time 0.00375/1.106, allocations: 1.282 MB / 1.335 GB, free: 14.41 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.095871520010405]