Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.001443/0.001443, allocations: 92.22 kB / 19.65 MB, free: 280 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.001639/0.001639, allocations: 169 kB / 23.02 MB, free: 1.555 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.9376/0.9376, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.052/2.052, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.225e-05, allocations: 8.703 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001214/0.001236, allocations: 0.5802 MB / 0.8788 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001847/0.001421, allocations: 109.4 kB / 0.8789 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.001444, allocations: 0.75 kB / 0.8789 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.774e-05/0.001541, allocations: 15.91 kB / 0.8789 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.001593, allocations: 1.547 kB / 0.8789 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.001709, allocations: 33.66 kB / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.14e-05/0.00179, allocations: 24.86 kB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.001841, allocations: 4.781 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.001883, allocations: 20.62 kB / 0.879 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.001943, allocations: 14.39 kB / 0.879 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.001961, allocations: 0 / 0.879 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.11e-05/0.002002, allocations: 15.94 kB / 0.879 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.002013, allocations: 1.031 kB / 0.879 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.002041, allocations: 13.06 kB / 0.879 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.774e-05/0.002139, allocations: 31.91 kB / 0.879 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002141, allocations: 5.062 kB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002142, allocations: 4 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.002147, allocations: 0 / 0.879 GB, free: 5.477 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000274/0.002421, allocations: 379.4 kB / 0.8794 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.002457, allocations: 8.031 kB / 0.8794 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.002499, allocations: 16.89 kB / 0.8794 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.032e-05/0.00258, allocations: 109.7 kB / 0.8795 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.002591, allocations: 4.375 kB / 0.8795 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.002605, allocations: 9.141 kB / 0.8795 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.908e-05/0.002704, allocations: 75.94 kB / 0.8796 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.002712, allocations: 0.8125 kB / 0.8796 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.002724, allocations: 4.375 kB / 0.8796 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.00273, allocations: 2.031 kB / 0.8796 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.806e-05/0.002768, allocations: 45.56 kB / 0.8797 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.459e-05/0.002863, allocations: 112.6 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.797e-05/0.002921, allocations: 64.78 kB / 0.8798 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.002954, allocations: 51.06 kB / 0.8799 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-06/0.002959, allocations: 0 / 0.8799 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.002981, allocations: 37.39 kB / 0.8799 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.002982, allocations: 0 / 0.8799 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001998/0.003182, allocations: 163.9 kB / 0.8801 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.003216, allocations: 81.11 kB / 0.8801 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.761e-05/0.003294, allocations: 158.8 kB / 0.8803 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.003306, allocations: 25.7 kB / 0.8803 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.003336, allocations: 131.5 kB / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.003357, allocations: 9.531 kB / 0.8805 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.003389, allocations: 27.36 kB / 0.8805 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.003506, allocations: 496.1 kB / 0.881 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.595e-05/0.003542, allocations: 37.69 kB / 0.881 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.003571, allocations: 44.69 kB / 0.881 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.003629, allocations: 79.09 kB / 0.8811 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.003631, allocations: 3.938 kB / 0.8811 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001085/0.00374, allocations: 129 kB / 0.8812 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.003765, allocations: 37.64 kB / 0.8813 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.003769, allocations: 0 / 0.8813 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.003785, allocations: 0 / 0.8813 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/0.003787, allocations: 1.531 kB / 0.8813 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.003793, allocations: 3.984 kB / 0.8813 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.003865, allocations: 7.938 kB / 0.8813 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.003873, allocations: 4 kB / 0.8813 GB, free: 2.875 MB / 0.8386 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: 1 * 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 prepare postOptimizeDAE: time 6.9e-05/0.003942, allocations: 186.6 kB / 0.8815 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.003955, allocations: 11.98 kB / 0.8815 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.347e-05/0.003969, allocations: 3.156 kB / 0.8815 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.00397, allocations: 0 / 0.8815 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.003974, allocations: 4 kB / 0.8815 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.003978, allocations: 3.938 kB / 0.8815 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.157e-05/0.004029, allocations: 112.6 kB / 0.8816 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.00403, allocations: 0 / 0.8816 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-06/0.004032, allocations: 4 kB / 0.8816 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.004034, allocations: 3.984 kB / 0.8816 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.004042, allocations: 0 / 0.8816 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.004044, allocations: 11.94 kB / 0.8816 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.004044, allocations: 0 / 0.8816 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.004163, allocations: 163.8 kB / 0.8818 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-06/0.004167, allocations: 0 / 0.8818 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.004179, allocations: 4 kB / 0.8818 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.004213, allocations: 0 / 0.8818 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.00423, allocations: 15.97 kB / 0.8818 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.004235, allocations: 4 kB / 0.8818 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.98e-05/0.004265, allocations: 119.2 kB / 0.8819 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004265, allocations: 128 / 0.8819 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001354/0.0044, allocations: 19.94 kB / 0.8819 GB, free: 2.133 MB / 0.8386 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001649/0.004565, allocations: 113.8 kB / 0.882 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.004693, allocations: 146.4 kB / 0.8822 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.004695, allocations: 0 / 0.8822 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.289e-05/0.004738, allocations: 104.8 kB / 0.8823 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.004845, allocations: 18.12 kB / 0.8823 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.005093, allocations: 140.3 kB / 0.8824 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.646e-05/0.005119, allocations: 51.36 kB / 0.8825 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.005144, allocations: 7.938 kB / 0.8825 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.005157, allocations: 8.5 kB / 0.8825 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/0.005157, allocations: 0 / 0.8825 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of Templates: time 0.002547/0.007705, allocations: 1.256 MB / 0.8837 GB, free: 220 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.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.239765516016632]