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.001599/0.001599, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001651/0.001651, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.502/1.502, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.917/2.917, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 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.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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.977e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003212/0.003242, allocations: 1.485 MB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.00501, allocations: 0.8681 MB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.005088, allocations: 5.719 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.005306, allocations: 39.77 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.005351, allocations: 19.84 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.005958, allocations: 190.4 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.006072, allocations: 55.55 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.006109, allocations: 6.375 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.006216, allocations: 23.97 kB / 0.8135 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.00625, allocations: 11.94 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.006262, allocations: 0 / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004799/0.006742, allocations: 175.7 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.006756, allocations: 3.938 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.006787, allocations: 8.719 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.007096, allocations: 159.4 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.007103, allocations: 8.516 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007104, allocations: 1.656 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.007109, allocations: 0 / 0.8138 GB, free: 15.01 MB / 0.7761 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.0004586/0.007567, allocations: 289.9 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.007609, allocations: 12.03 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.065e-05/0.007689, allocations: 80.83 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.007969, allocations: 197 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/0.008058, allocations: 152.2 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.413e-05/0.008152, allocations: 154.9 kB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.643e-05/0.008249, allocations: 113.5 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.008295, allocations: 76.62 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.623e-05/0.008391, allocations: 150.9 kB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.57e-05/0.008477, allocations: 158.5 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.008561, allocations: 151.9 kB / 0.8153 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.008929, allocations: 413.5 kB / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.009051, allocations: 169.1 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.009105, allocations: 85.89 kB / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.009151, allocations: 75.28 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.99e-05/0.009221, allocations: 105.8 kB / 0.8161 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.009222, allocations: 0 / 0.8161 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001118/0.009334, allocations: 33.69 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.009425, allocations: 143 kB / 0.8163 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.009605, allocations: 138.5 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.009625, allocations: 25.7 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.009694, allocations: 88.14 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.009696, allocations: 4.844 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.009736, allocations: 17.7 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.009914, allocations: 316.6 kB / 0.8168 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.00994, allocations: 4 kB / 0.8168 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.009958, allocations: 8 kB / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.155e-05/0.01, allocations: 12.84 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01, allocations: 0.8125 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001614/0.01016, allocations: 49.69 kB / 0.8169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.01018, allocations: 10.22 kB / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.0102, allocations: 4 kB / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.01023, allocations: 0 / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-06/0.01024, allocations: 7.922 kB / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01024, allocations: 0 / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.01027, allocations: 3.938 kB / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.01028, allocations: 6.062 kB / 0.8169 GB, free: 11.65 MB / 0.7761 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.0002283/0.0105, allocations: 185.1 kB / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.0106, allocations: 108.9 kB / 0.8172 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.348e-05/0.01068, allocations: 112.7 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.885e-05/0.01078, allocations: 180.2 kB / 0.8175 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/0.01088, allocations: 188.8 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/0.01099, allocations: 188.2 kB / 0.8178 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.01129, allocations: 361.4 kB / 0.8182 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.742e-05/0.01135, allocations: 106.8 kB / 0.8183 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.01141, allocations: 105 kB / 0.8184 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.521e-05/0.01151, allocations: 180.3 kB / 0.8186 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.01161, allocations: 184.2 kB / 0.8187 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.243e-05/0.0117, allocations: 176.3 kB / 0.8189 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-05/0.0118, allocations: 185.4 kB / 0.8191 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.012, allocations: 307.7 kB / 0.8194 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.01207, allocations: 112.9 kB / 0.8195 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.01219, allocations: 176.9 kB / 0.8197 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.0123, allocations: 109.2 kB / 0.8198 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.0124, allocations: 188.6 kB / 0.8199 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.01246, allocations: 108.5 kB / 0.82 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.036e-05/0.01255, allocations: 105 kB / 0.8201 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01255, allocations: 0 / 0.8201 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00032/0.01287, allocations: 31.88 kB / 0.8202 GB, free: 8.152 MB / 0.7761 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.0003662/0.01324, allocations: 226.3 kB / 0.8204 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.01334, allocations: 41.73 kB / 0.8204 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01334, allocations: 0 / 0.8204 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.199e-06/0.01335, allocations: 4 kB / 0.8204 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.01388, allocations: 467.7 kB / 0.8209 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.01426, allocations: 211.7 kB / 0.8211 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.849e-05/0.01434, allocations: 76.19 kB / 0.8212 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.921e-05/0.01436, allocations: 1.125 kB / 0.8212 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.01439, allocations: 12.5 kB / 0.8212 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.01439, allocations: 1.031 kB / 0.8212 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.005156/0.01954, allocations: 1.607 MB / 0.8227 GB, free: 5.504 MB / 0.7761 GB " [Timeout remaining time 300] 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/jenkins/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: 8.021773439948447]