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.001891/0.001891, allocations: 85.48 kB / 19.44 MB, free: 344 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.002082/0.002082, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.378/3.378, allocations: 429.5 MB / 0.6729 GB, free: 3.98 MB / 0.6355 GB " [Timeout remaining time 176] 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.693e-06/1.693e-06, allocations: 4.922 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.211e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00174/0.001772, allocations: 0.5744 MB / 0.878 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002801/0.002052, allocations: 106.7 kB / 0.8781 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.00208, allocations: 0 / 0.8781 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.436e-05/0.002174, allocations: 7.875 kB / 0.8781 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.002222, allocations: 1.062 kB / 0.8781 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.002376, allocations: 41.3 kB / 0.8782 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.002458, allocations: 21.73 kB / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.002496, allocations: 5.234 kB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.00255, allocations: 20.53 kB / 0.8782 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.002619, allocations: 12.86 kB / 0.8782 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.002642, allocations: 4.938 kB / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.244e-05/0.002684, allocations: 4 kB / 0.8782 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.002695, allocations: 4 kB / 0.8782 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.002732, allocations: 14.64 kB / 0.8783 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.002853, allocations: 35.89 kB / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.002858, allocations: 4.203 kB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002858, allocations: 1.062 kB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.002862, allocations: 3.938 kB / 0.8783 GB, free: 5.812 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.0004406/0.003303, allocations: 378.1 kB / 0.8787 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.003345, allocations: 12.69 kB / 0.8787 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.003399, allocations: 4.938 kB / 0.8787 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.003547, allocations: 113.9 kB / 0.8788 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.003564, allocations: 4.312 kB / 0.8788 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.003579, allocations: 4.375 kB / 0.8788 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.003739, allocations: 88.95 kB / 0.8789 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.003753, allocations: 192 / 0.8789 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.003767, allocations: 11.77 kB / 0.8789 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.003772, allocations: 384 / 0.8789 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.674e-05/0.003849, allocations: 45.62 kB / 0.8789 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.004, allocations: 112.6 kB / 0.879 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.004115, allocations: 72.72 kB / 0.8791 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.004188, allocations: 53.44 kB / 0.8792 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.004196, allocations: 0 / 0.8792 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.004237, allocations: 37.39 kB / 0.8792 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.004238, allocations: 0 / 0.8792 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0003323/0.00457, allocations: 167.4 kB / 0.8794 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.004635, allocations: 82.62 kB / 0.8794 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.004773, allocations: 157.9 kB / 0.8796 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.004799, allocations: 29.7 kB / 0.8796 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.004871, allocations: 131.1 kB / 0.8797 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.004891, allocations: 4 kB / 0.8797 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.00494, allocations: 27.31 kB / 0.8798 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002602/0.0052, allocations: 0.4923 MB / 0.8803 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-05/0.005254, allocations: 33.7 kB / 0.8803 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.005312, allocations: 45.69 kB / 0.8803 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.005419, allocations: 83.08 kB / 0.8804 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005421, allocations: 0 / 0.8804 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001904/0.005612, allocations: 129.1 kB / 0.8805 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.005661, allocations: 36.36 kB / 0.8806 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.005666, allocations: 4.094 kB / 0.8806 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.005681, allocations: 3.938 kB / 0.8806 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.005682, allocations: 0 / 0.8806 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.005691, allocations: 7.938 kB / 0.8806 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.005804, allocations: 11.88 kB / 0.8806 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.00582, allocations: 4 kB / 0.8806 GB, free: 3.168 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 0.0001408/0.005961, allocations: 186.3 kB / 0.8808 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.005983, allocations: 4 kB / 0.8808 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.41e-05/0.005997, allocations: 7.156 kB / 0.8808 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.005998, allocations: 0 / 0.8808 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.006001, allocations: 4 kB / 0.8808 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.006006, allocations: 3.938 kB / 0.8808 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.00612, allocations: 120.6 kB / 0.8809 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.00612, allocations: 0 / 0.8809 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.006121, allocations: 0 / 0.8809 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006122, allocations: 0 / 0.8809 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.006135, allocations: 4 kB / 0.8809 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006135, allocations: 0 / 0.8809 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006136, allocations: 0 / 0.8809 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.006372, allocations: 175.8 kB / 0.8811 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/0.006378, allocations: 7.969 kB / 0.8811 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.006396, allocations: 7.938 kB / 0.8811 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.006475, allocations: 4 kB / 0.8811 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.006494, allocations: 0 / 0.8811 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.006504, allocations: 4 kB / 0.8811 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.052e-05/0.006585, allocations: 123.2 kB / 0.8812 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.006585, allocations: 4 kB / 0.8812 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001976/0.006783, allocations: 15.94 kB / 0.8812 GB, free: 2.422 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.0002626/0.007045, allocations: 114.2 kB / 0.8813 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.007272, allocations: 154.5 kB / 0.8815 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.007274, allocations: 0 / 0.8815 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.00739, allocations: 112.8 kB / 0.8816 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.007552, allocations: 7.984 kB / 0.8816 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.00791, allocations: 140.2 kB / 0.8817 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.574e-05/0.007976, allocations: 67.27 kB / 0.8818 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.008006, allocations: 8 kB / 0.8818 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.008023, allocations: 8.5 kB / 0.8818 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of SimCode: time 7.22e-07/0.008024, allocations: 0 / 0.8818 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of Templates: time 0.004391/0.01242, allocations: 1.261 MB / 0.8831 GB, free: 492 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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: 8.492231428972445]