Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009634/0.0009634, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009685/0.0009685, allocations: 169 kB / 23.02 MB, free: 1.543 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.9693/0.9693, allocations: 177.1 MB / 203.4 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.026/2.026, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.091e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003583/0.003614, allocations: 1.548 MB / 0.8797 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.005267, allocations: 0.9218 MB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.842e-05/0.005346, allocations: 3.938 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.00559, allocations: 44.83 kB / 0.8807 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.068e-05/0.005631, allocations: 23.78 kB / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.006267, allocations: 190.4 kB / 0.8809 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.006377, allocations: 47.67 kB / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.006421, allocations: 4.594 kB / 0.8809 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.006531, allocations: 33.28 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.089e-05/0.006562, allocations: 11.94 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.006577, allocations: 0 / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.007045, allocations: 176.5 kB / 0.8811 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.007058, allocations: 0 / 0.8811 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.007087, allocations: 11.94 kB / 0.8811 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.007366, allocations: 152.1 kB / 0.8813 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007369, allocations: 5.031 kB / 0.8813 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.51e-07/0.00737, allocations: 3.938 kB / 0.8813 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.007375, allocations: 0 / 0.8813 GB, free: 3.141 MB / 0.8386 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.0003807/0.007756, allocations: 400.7 kB / 0.8817 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.0078, allocations: 13.19 kB / 0.8817 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.007872, allocations: 128.1 kB / 0.8818 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.008088, allocations: 243.8 kB / 0.882 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/0.008161, allocations: 242.2 kB / 0.8823 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.008241, allocations: 242.8 kB / 0.8825 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.008311, allocations: 145.5 kB / 0.8826 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.008346, allocations: 119.4 kB / 0.8827 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.008419, allocations: 246.7 kB / 0.883 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/0.008492, allocations: 242.3 kB / 0.8832 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.084e-05/0.008563, allocations: 246.3 kB / 0.8834 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.008892, allocations: 0.5798 MB / 0.884 GB, free: 244 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.009018, allocations: 265.4 kB / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.009062, allocations: 127.8 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.009096, allocations: 119.2 kB / 0.8845 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/0.009153, allocations: 157.1 kB / 0.8847 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.009154, allocations: 0 / 0.8847 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 8.384e-05/0.009238, allocations: 42.98 kB / 0.8847 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.009302, allocations: 174.5 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.009476, allocations: 200.2 kB / 0.8851 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.00949, allocations: 29.7 kB / 0.8851 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.009551, allocations: 138.9 kB / 0.8852 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.009554, allocations: 0 / 0.8852 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.009595, allocations: 27.36 kB / 0.8852 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.009741, allocations: 0.4884 MB / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.009762, allocations: 0 / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.0098, allocations: 4 kB / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.153e-05/0.009842, allocations: 19.61 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.009844, allocations: 0 / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/0.009986, allocations: 45.66 kB / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.01, allocations: 4 kB / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.01002, allocations: 8.047 kB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.01004, allocations: 11.97 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-06/0.01005, allocations: 0 / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01005, allocations: 3.938 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.01008, allocations: 0 / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.01009, allocations: 4 kB / 0.8858 GB, free: 14.29 MB / 0.8542 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.0001051/0.01019, allocations: 275.8 kB / 0.8861 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.01026, allocations: 152.8 kB / 0.8862 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.01032, allocations: 160.7 kB / 0.8864 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/0.01043, allocations: 272 kB / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.245e-05/0.0105, allocations: 276 kB / 0.8869 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.866e-05/0.01057, allocations: 264.1 kB / 0.8871 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.01081, allocations: 0.4998 MB / 0.8876 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.142e-05/0.01085, allocations: 148.9 kB / 0.8878 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.01089, allocations: 152.8 kB / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.248e-05/0.01096, allocations: 264.1 kB / 0.8882 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.01111, allocations: 268.1 kB / 0.8884 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.021e-05/0.01118, allocations: 268 kB / 0.8887 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.745e-05/0.01124, allocations: 264.1 kB / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.0114, allocations: 459.8 kB / 0.8894 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.01146, allocations: 153.1 kB / 0.8895 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/0.01154, allocations: 272 kB / 0.8898 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.01163, allocations: 152.9 kB / 0.8899 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.01171, allocations: 276 kB / 0.8902 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.01175, allocations: 148.8 kB / 0.8903 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.01182, allocations: 141.5 kB / 0.8905 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01182, allocations: 0 / 0.8905 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003508/0.01217, allocations: 39.86 kB / 0.8905 GB, free: 9.285 MB / 0.8542 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.0003069/0.01248, allocations: 258.3 kB / 0.8908 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.01259, allocations: 49.31 kB / 0.8908 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01259, allocations: 4.062 kB / 0.8908 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.01259, allocations: 0 / 0.8908 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.01311, allocations: 0.7101 MB / 0.8915 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.01346, allocations: 269.3 kB / 0.8918 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.194e-05/0.01351, allocations: 59.3 kB / 0.8918 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.01353, allocations: 4 kB / 0.8918 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.01355, allocations: 12.5 kB / 0.8918 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.01355, allocations: 0 / 0.8918 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of Templates: time 0.004788/0.01834, allocations: 1.615 MB / 0.8934 GB, free: 6.293 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.316702815238386]