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.0009568/0.0009568, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009372/0.0009372, allocations: 173 kB / 23.49 MB, free: 1.055 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.8928/0.8928, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.091/2.091, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.513e-06/1.513e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.772e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00136/0.001387, allocations: 0.5752 MB / 0.8788 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002312/0.001619, allocations: 113.1 kB / 0.8789 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.00165, allocations: 4 kB / 0.8789 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.001765, allocations: 3.938 kB / 0.8789 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.001829, allocations: 0.875 kB / 0.8789 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.001961, allocations: 39.88 kB / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.002074, allocations: 28.64 kB / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.002123, allocations: 0.9375 kB / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.653e-05/0.00217, allocations: 21.08 kB / 0.879 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.556e-05/0.002245, allocations: 14.09 kB / 0.879 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.002267, allocations: 4 kB / 0.879 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.702e-05/0.002314, allocations: 11.94 kB / 0.879 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.00233, allocations: 5.125 kB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.002364, allocations: 4.984 kB / 0.879 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.002494, allocations: 39.83 kB / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.002499, allocations: 5.109 kB / 0.879 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002499, allocations: 0 / 0.879 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.002504, allocations: 0 / 0.879 GB, free: 5.809 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.0003865/0.002891, allocations: 379.4 kB / 0.8794 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.002933, allocations: 8.031 kB / 0.8794 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.002982, allocations: 13.55 kB / 0.8794 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.003085, allocations: 112.6 kB / 0.8795 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.003096, allocations: 0.9062 kB / 0.8795 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.00311, allocations: 5.5 kB / 0.8795 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.00324, allocations: 83.92 kB / 0.8796 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.003247, allocations: 192 / 0.8796 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.003259, allocations: 1.062 kB / 0.8796 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.003269, allocations: 4.375 kB / 0.8796 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/0.003304, allocations: 50.83 kB / 0.8797 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.003414, allocations: 112.6 kB / 0.8798 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.09e-05/0.003475, allocations: 60.78 kB / 0.8798 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.003511, allocations: 46.22 kB / 0.8799 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.003516, allocations: 8 kB / 0.8799 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.003541, allocations: 33.95 kB / 0.8799 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.003542, allocations: 1.531 kB / 0.8799 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000231/0.003773, allocations: 162.7 kB / 0.8801 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.003821, allocations: 85.09 kB / 0.8802 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.003916, allocations: 154.6 kB / 0.8803 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.003931, allocations: 30.67 kB / 0.8803 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.003972, allocations: 130.9 kB / 0.8805 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.004004, allocations: 3.938 kB / 0.8805 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.004038, allocations: 30.97 kB / 0.8805 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.004182, allocations: 0.4884 MB / 0.881 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.004216, allocations: 33.7 kB / 0.881 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.004246, allocations: 37.69 kB / 0.881 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004745/0.00472, allocations: 83.08 kB / 0.8811 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.004723, allocations: 4 kB / 0.8811 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.004838, allocations: 132.9 kB / 0.8813 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.004872, allocations: 33.7 kB / 0.8813 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.004878, allocations: 0.7188 kB / 0.8813 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.004895, allocations: 0 / 0.8813 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-06/0.004897, allocations: 4.594 kB / 0.8813 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.004905, allocations: 4.344 kB / 0.8813 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.004977, allocations: 11.92 kB / 0.8813 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.004984, allocations: 4 kB / 0.8813 GB, free: 3.199 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 7.749e-05/0.005062, allocations: 186.3 kB / 0.8815 GB, free: 3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.005072, allocations: 4 kB / 0.8815 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.333e-05/0.005086, allocations: 7.156 kB / 0.8815 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005087, allocations: 0 / 0.8815 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.005091, allocations: 0 / 0.8815 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.005097, allocations: 7.922 kB / 0.8815 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.996e-05/0.005157, allocations: 112.6 kB / 0.8816 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005158, allocations: 0 / 0.8816 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.005158, allocations: 4 kB / 0.8816 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.005159, allocations: 0 / 0.8816 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.00517, allocations: 4 kB / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.00517, allocations: 0 / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005171, allocations: 0 / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.005298, allocations: 171.7 kB / 0.8818 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.005304, allocations: 4 kB / 0.8818 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.005315, allocations: 0 / 0.8818 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.005347, allocations: 4 kB / 0.8818 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.005362, allocations: 0 / 0.8818 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.005369, allocations: 11.98 kB / 0.8818 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.005402, allocations: 127.2 kB / 0.8819 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005403, allocations: 0 / 0.8819 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001326/0.005535, allocations: 15.94 kB / 0.8819 GB, free: 2.465 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.0001936/0.005729, allocations: 112.9 kB / 0.882 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.005869, allocations: 150.5 kB / 0.8822 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.005871, allocations: 4.062 kB / 0.8822 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.00592, allocations: 108.7 kB / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.006036, allocations: 7.984 kB / 0.8823 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.006327, allocations: 136.3 kB / 0.8824 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.00636, allocations: 55.34 kB / 0.8825 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.006386, allocations: 7.938 kB / 0.8825 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.006399, allocations: 8.5 kB / 0.8825 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/0.0064, allocations: 0 / 0.8825 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of Templates: time 0.003455/0.009855, allocations: 1.265 MB / 0.8837 GB, free: 0.5391 MB / 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.270151920849457]