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.001031/0.001031, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.00153/0.00153, allocations: 173 kB / 23.28 MB, free: 1.219 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.9212/0.9212, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.237/2.237, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.312e-06/1.312e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.215e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001272/0.001294, allocations: 0.5896 MB / 0.8903 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.001466, allocations: 107.7 kB / 0.8904 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.00149, allocations: 0 / 0.8904 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.565e-05/0.001576, allocations: 11.92 kB / 0.8904 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.625e-05/0.001622, allocations: 0 / 0.8904 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 9.449e-05/0.001716, allocations: 31.91 kB / 0.8905 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.001786, allocations: 27.92 kB / 0.8905 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.001819, allocations: 3.984 kB / 0.8905 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.001856, allocations: 19.98 kB / 0.8905 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.001907, allocations: 15.98 kB / 0.8905 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.001924, allocations: 0 / 0.8905 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.001958, allocations: 11.94 kB / 0.8905 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.001969, allocations: 3.984 kB / 0.8906 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.001989, allocations: 11.98 kB / 0.8906 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.465e-05/0.002074, allocations: 35.95 kB / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002076, allocations: 3.938 kB / 0.8906 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002077, allocations: 0 / 0.8906 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.00208, allocations: 3.938 kB / 0.8906 GB, free: 8.883 MB / 0.8542 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.0002394/0.002319, allocations: 386.4 kB / 0.891 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.002351, allocations: 12.03 kB / 0.891 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.002381, allocations: 12.92 kB / 0.891 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.259e-05/0.002444, allocations: 104.6 kB / 0.8911 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.002454, allocations: 8.359 kB / 0.8911 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.002462, allocations: 4.375 kB / 0.8911 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.328e-05/0.002535, allocations: 75.94 kB / 0.8912 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.002541, allocations: 4.188 kB / 0.8912 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.002547, allocations: 384 / 0.8912 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.002552, allocations: 384 / 0.8912 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.002575, allocations: 41.62 kB / 0.8912 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.335e-05/0.002648, allocations: 97.27 kB / 0.8913 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.976e-05/0.002698, allocations: 68.72 kB / 0.8914 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.00272, allocations: 45.44 kB / 0.8914 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-06/0.002726, allocations: 4 kB / 0.8914 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.002744, allocations: 33.39 kB / 0.8915 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.002745, allocations: 0 / 0.8915 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.002899, allocations: 166.7 kB / 0.8916 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.002924, allocations: 77.11 kB / 0.8917 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.002982, allocations: 158 kB / 0.8918 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.002992, allocations: 29.83 kB / 0.8919 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.003019, allocations: 126.9 kB / 0.892 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.003038, allocations: 11.89 kB / 0.892 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.003067, allocations: 31.36 kB / 0.892 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.003168, allocations: 496.1 kB / 0.8925 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.003192, allocations: 37.69 kB / 0.8925 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.003213, allocations: 33.7 kB / 0.8926 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.535e-05/0.003259, allocations: 79.08 kB / 0.8927 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00326, allocations: 0 / 0.8927 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.8e-05/0.003348, allocations: 133.1 kB / 0.8928 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.003371, allocations: 37.64 kB / 0.8928 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.003377, allocations: 4 kB / 0.8928 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.003385, allocations: 0 / 0.8928 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.003386, allocations: 0 / 0.8928 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.003388, allocations: 0 / 0.8928 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.003453, allocations: 7.984 kB / 0.8928 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.003462, allocations: 7.938 kB / 0.8928 GB, free: 6.301 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: 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.135e-05/0.003523, allocations: 182.3 kB / 0.893 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.003533, allocations: 8 kB / 0.893 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.358e-05/0.003547, allocations: 11.17 kB / 0.893 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.003548, allocations: 0 / 0.893 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.00355, allocations: 0 / 0.893 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.003552, allocations: 4 kB / 0.893 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.356e-05/0.003606, allocations: 105.2 kB / 0.8931 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.003607, allocations: 0 / 0.8931 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.003607, allocations: 0 / 0.8931 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.003608, allocations: 0 / 0.8931 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.003615, allocations: 4 kB / 0.8931 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.003616, allocations: 3.984 kB / 0.8931 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.003617, allocations: 0 / 0.8931 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.003722, allocations: 167.7 kB / 0.8933 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.003727, allocations: 4 kB / 0.8933 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-06/0.003736, allocations: 0 / 0.8933 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.00377, allocations: 4 kB / 0.8933 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-06/0.00378, allocations: 4 kB / 0.8933 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.003785, allocations: 7.984 kB / 0.8933 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.003814, allocations: 119.2 kB / 0.8934 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003814, allocations: 0 / 0.8934 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001178/0.003932, allocations: 12 kB / 0.8934 GB, free: 5.598 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 (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.0001622/0.004094, allocations: 111.3 kB / 0.8935 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.004196, allocations: 146.5 kB / 0.8937 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.004198, allocations: 0 / 0.8937 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.004238, allocations: 104.7 kB / 0.8938 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.00434, allocations: 15.86 kB / 0.8938 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.004539, allocations: 148.4 kB / 0.8939 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.45e-05/0.004564, allocations: 55.34 kB / 0.894 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.004584, allocations: 4 kB / 0.894 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.004656, allocations: 94.19 kB / 0.8941 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.004657, allocations: 0 / 0.8941 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of Templates: time 0.002352/0.007008, allocations: 1.343 MB / 0.8954 GB, free: 3.492 MB / 0.8542 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: 4.955026335082948]