Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 191.9 kB / 22.23 MB, free: 5.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 443.5 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.91 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7328/0.7348, allocations: 160.8 MB / 1.218 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003012/0.7378, allocations: 1.506 MB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.7394, allocations: 0.9189 MB / 1.221 GB, free: 1.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.7395, allocations: 6.5 kB / 1.221 GB, free: 1.727 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.7397, allocations: 42.09 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.7397, allocations: 22.03 kB / 1.221 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.7403, allocations: 189.9 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.7404, allocations: 52.11 kB / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.7405, allocations: 6.062 kB / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.7406, allocations: 25.39 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.18e-05/0.7406, allocations: 14.84 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.7406, allocations: 1 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.741, allocations: 170.7 kB / 1.221 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.7411, allocations: 9.266 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.7411, allocations: 19.94 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.7413, allocations: 123 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7413, allocations: 0 / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7413, allocations: 1.062 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.7413, allocations: 0 / 1.221 GB, free: 1.324 MB / 0.92 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.000445/0.7418, allocations: 374.6 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.7418, allocations: 8.969 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.7419, allocations: 82.48 kB / 1.222 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.7422, allocations: 272.4 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.888e-05/0.7423, allocations: 152.2 kB / 1.222 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.7423, allocations: 150.9 kB / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.68e-05/0.7424, allocations: 106.6 kB / 1.223 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.7424, allocations: 75.28 kB / 1.223 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.187e-05/0.7425, allocations: 155.6 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/0.7426, allocations: 150.6 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.7427, allocations: 155.4 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.743, allocations: 461.5 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.906e-05/0.7431, allocations: 174.3 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.7431, allocations: 84.14 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.7432, allocations: 75.28 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.7432, allocations: 110.6 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.7432, allocations: 1.125 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.429e-05/0.7433, allocations: 35.69 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.7434, allocations: 127.7 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.7435, allocations: 141.6 kB / 1.224 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.7436, allocations: 26.48 kB / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.7436, allocations: 91 kB / 1.224 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.7436, allocations: 3.938 kB / 1.224 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.7437, allocations: 18.44 kB / 1.224 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7438, allocations: 320 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.7438, allocations: 2.844 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.7438, allocations: 2.469 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.7439, allocations: 17.3 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7439, allocations: 1.438 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001199/0.744, allocations: 52.88 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.744, allocations: 5.5 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.744, allocations: 5.875 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.744, allocations: 0 / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.744, allocations: 1.656 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.744, allocations: 0 / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.7441, allocations: 9.578 kB / 1.225 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.7441, allocations: 32 / 1.225 GB, free: 13.83 MB / 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 (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.0001158/0.7442, allocations: 194.7 kB / 1.225 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.7443, allocations: 113.2 kB / 1.225 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.7443, allocations: 114 kB / 1.225 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-05/0.7444, allocations: 177.5 kB / 1.225 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-05/0.7445, allocations: 185.3 kB / 1.226 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.041e-05/0.7445, allocations: 181.5 kB / 1.226 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.7448, allocations: 415.4 kB / 1.226 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.832e-05/0.7449, allocations: 102.7 kB / 1.226 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.7449, allocations: 104.9 kB / 1.226 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-05/0.745, allocations: 185.9 kB / 1.226 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.297e-05/0.7451, allocations: 185.8 kB / 1.227 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.124e-05/0.7452, allocations: 180.2 kB / 1.227 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.307e-05/0.7452, allocations: 181.8 kB / 1.227 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.7454, allocations: 308.9 kB / 1.227 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.682e-05/0.7455, allocations: 187.9 kB / 1.227 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.7456, allocations: 189 kB / 1.228 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.7457, allocations: 101.8 kB / 1.228 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.7458, allocations: 185.3 kB / 1.228 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.7458, allocations: 106.1 kB / 1.228 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.46e-05/0.7459, allocations: 101.1 kB / 1.228 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.7459, allocations: 0 / 1.228 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002807/0.7462, allocations: 37.19 kB / 1.228 GB, free: 10.22 MB / 0.9356 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.0002776/0.7464, allocations: 223 kB / 1.228 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.7465, allocations: 31.55 kB / 1.228 GB, free: 10 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7465, allocations: 1.281 kB / 1.228 GB, free: 10 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.7465, allocations: 0 / 1.228 GB, free: 10 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.747, allocations: 472.8 kB / 1.229 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.7473, allocations: 236.6 kB / 1.229 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.7477, allocations: 0.6849 MB / 1.23 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.7477, allocations: 1.25 kB / 1.23 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.7477, allocations: 13.75 kB / 1.23 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.7477, allocations: 0 / 1.23 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of Templates: time 0.004659/0.7523, allocations: 1.528 MB / 1.231 GB, free: 7.816 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.226805896498263]