Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008997/0.0008997, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008874/0.0008874, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.9145/0.9145, allocations: 177.1 MB / 203.5 MB, free: 5.41 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.672/1.672, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.85e-05, allocations: 5.234 kB / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001977/0.002005, allocations: 1.489 MB / 0.9532 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003086, allocations: 0.8687 MB / 0.954 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.003148, allocations: 3.938 kB / 0.954 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.003332, allocations: 39.78 kB / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.867e-05/0.00335, allocations: 19.84 kB / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.003751, allocations: 196.9 kB / 0.9543 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.003839, allocations: 47.67 kB / 0.9543 GB, free: 296 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.003877, allocations: 8 kB / 0.9543 GB, free: 288 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.782e-05/0.003955, allocations: 27.91 kB / 0.9544 GB, free: 260 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.061e-05/0.003975, allocations: 8 kB / 0.9544 GB, free: 252 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.003987, allocations: 4 kB / 0.9544 GB, free: 248 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.004277, allocations: 179.6 kB / 0.9546 GB, free: 68 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.004289, allocations: 0 / 0.9546 GB, free: 68 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.004312, allocations: 15.88 kB / 0.9546 GB, free: 52 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.004529, allocations: 155.5 kB / 0.9547 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.004532, allocations: 4 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004534, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.004537, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 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.0002806/0.004818, allocations: 297.9 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.004858, allocations: 8.031 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.00491, allocations: 92.11 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.005239, allocations: 200.9 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.005279, allocations: 154.9 kB / 0.9554 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.005324, allocations: 150.9 kB / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.892e-05/0.005383, allocations: 105.5 kB / 0.9557 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.005403, allocations: 75.47 kB / 0.9558 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.005449, allocations: 154.9 kB / 0.9559 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.005484, allocations: 154.5 kB / 0.956 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.961e-05/0.005524, allocations: 154.5 kB / 0.9562 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.005723, allocations: 409.6 kB / 0.9566 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.488e-05/0.005788, allocations: 173.1 kB / 0.9568 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.005813, allocations: 80.14 kB / 0.9568 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.005838, allocations: 75.28 kB / 0.9569 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.005875, allocations: 113.8 kB / 0.957 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.005875, allocations: 0 / 0.957 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.312e-05/0.005938, allocations: 33.66 kB / 0.957 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.005985, allocations: 134.6 kB / 0.9572 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006088, allocations: 132.2 kB / 0.9573 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.006098, allocations: 25.7 kB / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.006137, allocations: 96.09 kB / 0.9574 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.006139, allocations: 4 kB / 0.9574 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.006164, allocations: 17.7 kB / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.693e-05/0.006241, allocations: 314.8 kB / 0.9577 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.868e-05/0.00626, allocations: 4 kB / 0.9577 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.006273, allocations: 15.97 kB / 0.9578 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.006305, allocations: 12.8 kB / 0.9578 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006307, allocations: 0 / 0.9578 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.006412, allocations: 41.7 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.006426, allocations: 4 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.006447, allocations: 7.984 kB / 0.9578 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.006458, allocations: 64 / 0.9578 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/0.00646, allocations: 7.938 kB / 0.9578 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.006465, allocations: 0 / 0.9578 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.00648, allocations: 7.891 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.006487, allocations: 8 kB / 0.9578 GB, free: 12.52 MB / 0.9167 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.771e-05/0.006555, allocations: 185.1 kB / 0.958 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.006593, allocations: 108.9 kB / 0.9581 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.006629, allocations: 116.7 kB / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.00667, allocations: 180.2 kB / 0.9584 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.063e-05/0.006711, allocations: 184.2 kB / 0.9586 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003907/0.007102, allocations: 184.3 kB / 0.9588 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.007238, allocations: 368.8 kB / 0.9591 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/0.007265, allocations: 108.9 kB / 0.9592 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.00729, allocations: 104.9 kB / 0.9593 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-05/0.00733, allocations: 180.3 kB / 0.9595 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.007379, allocations: 180.3 kB / 0.9597 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.995e-05/0.007419, allocations: 180.2 kB / 0.9598 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.874e-05/0.007457, allocations: 180.3 kB / 0.96 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.497e-05/0.007552, allocations: 311.6 kB / 0.9603 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.007586, allocations: 112.9 kB / 0.9604 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.007638, allocations: 180.2 kB / 0.9606 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.035e-05/0.007689, allocations: 113.3 kB / 0.9607 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.007737, allocations: 184.1 kB / 0.9609 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.00776, allocations: 101 kB / 0.961 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.00781, allocations: 105.8 kB / 0.9611 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.00781, allocations: 0 / 0.9611 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001772/0.007988, allocations: 35.86 kB / 0.9611 GB, free: 9 MB / 0.9167 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.0002203/0.008208, allocations: 226.3 kB / 0.9613 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.606e-05/0.008294, allocations: 45.67 kB / 0.9613 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008296, allocations: 0 / 0.9613 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-06/0.008299, allocations: 8.062 kB / 0.9614 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.008578, allocations: 459.7 kB / 0.9618 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.00883, allocations: 245.7 kB / 0.962 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.202e-05/0.008872, allocations: 67.28 kB / 0.9621 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.008886, allocations: 8.5 kB / 0.9621 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.008886, allocations: 0 / 0.9621 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of Templates: time 0.001985/0.01087, allocations: 1.324 MB / 0.9634 GB, free: 6.574 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.560693534091115]