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.001581/0.001581, allocations: 88.72 kB / 19.44 MB, free: 356 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.001798/0.001798, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.241/3.241, allocations: 429.6 MB / 0.673 GB, free: 3.855 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.763e-06/1.763e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.202e-05, allocations: 3.562 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002122/0.002154, allocations: 0.5646 MB / 0.8782 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.002467, allocations: 104.5 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.0025, allocations: 0 / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.002628, allocations: 4.562 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.002676, allocations: 0.9688 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.002862, allocations: 45.55 kB / 0.8783 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.002964, allocations: 26.72 kB / 0.8783 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.003006, allocations: 0 / 0.8783 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.003059, allocations: 17.52 kB / 0.8784 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.00314, allocations: 19.97 kB / 0.8784 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.003159, allocations: 1.031 kB / 0.8784 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-05/0.003209, allocations: 8 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.003223, allocations: 0 / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.003263, allocations: 13.11 kB / 0.8784 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.003398, allocations: 43.77 kB / 0.8784 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.0034, allocations: 4.719 kB / 0.8784 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003401, allocations: 0 / 0.8784 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003406, allocations: 3.438 kB / 0.8785 GB, free: 5.629 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.0004319/0.003838, allocations: 276.1 kB / 0.8787 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.003883, allocations: 8.031 kB / 0.8787 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.003944, allocations: 8.938 kB / 0.8787 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.004095, allocations: 109.7 kB / 0.8788 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.004114, allocations: 4.375 kB / 0.8788 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.004132, allocations: 8.359 kB / 0.8788 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.004291, allocations: 75.94 kB / 0.8789 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.004298, allocations: 4.188 kB / 0.8789 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.004313, allocations: 4.375 kB / 0.8789 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.004318, allocations: 384 / 0.8789 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.004391, allocations: 49.56 kB / 0.879 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.004561, allocations: 97.33 kB / 0.8791 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.004665, allocations: 56.3 kB / 0.8791 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.004729, allocations: 46.61 kB / 0.8792 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.00474, allocations: 0 / 0.8792 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.004792, allocations: 38.56 kB / 0.8792 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.004793, allocations: 0 / 0.8792 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0003556/0.005149, allocations: 170.7 kB / 0.8794 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.005218, allocations: 81.11 kB / 0.8794 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.005322, allocations: 97.8 kB / 0.8795 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.005346, allocations: 25.7 kB / 0.8796 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.005408, allocations: 80.14 kB / 0.8796 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.005436, allocations: 4 kB / 0.8796 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.005489, allocations: 29.64 kB / 0.8797 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.005672, allocations: 310.8 kB / 0.88 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.005729, allocations: 41.69 kB / 0.88 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.005779, allocations: 37.94 kB / 0.88 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.005889, allocations: 84.33 kB / 0.8801 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005891, allocations: 0 / 0.8801 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001985/0.00609, allocations: 129 kB / 0.8802 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.00613, allocations: 29.7 kB / 0.8803 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006135, allocations: 0 / 0.8803 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.006154, allocations: 0 / 0.8803 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-06/0.006157, allocations: 3.984 kB / 0.8803 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.006162, allocations: 0 / 0.8803 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.006306, allocations: 15.89 kB / 0.8803 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.006316, allocations: 4.031 kB / 0.8803 GB, free: 3.465 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.0001295/0.006446, allocations: 147.5 kB / 0.8804 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.006474, allocations: 8 kB / 0.8804 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.263e-05/0.006486, allocations: 3.156 kB / 0.8804 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.006488, allocations: 0 / 0.8804 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.006492, allocations: 0 / 0.8804 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.006497, allocations: 3.938 kB / 0.8805 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.006601, allocations: 101.3 kB / 0.8805 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.006602, allocations: 0 / 0.8805 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.006602, allocations: 0 / 0.8805 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006604, allocations: 4 kB / 0.8806 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.006621, allocations: 8 kB / 0.8806 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006622, allocations: 0 / 0.8806 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006623, allocations: 0 / 0.8806 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.006848, allocations: 156.4 kB / 0.8807 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.006859, allocations: 8 kB / 0.8807 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.006874, allocations: 0 / 0.8807 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.006986, allocations: 7.984 kB / 0.8807 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.007008, allocations: 4 kB / 0.8807 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.007021, allocations: 8 kB / 0.8807 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.00707, allocations: 79.31 kB / 0.8808 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.00707, allocations: 0 / 0.8808 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00022/0.00729, allocations: 15.94 kB / 0.8808 GB, free: 2.844 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.0002676/0.007557, allocations: 123.8 kB / 0.8809 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.007775, allocations: 142.7 kB / 0.8811 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007777, allocations: 4.156 kB / 0.8811 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.831e-05/0.007875, allocations: 93.09 kB / 0.8812 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.008045, allocations: 15.92 kB / 0.8812 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.008432, allocations: 130.6 kB / 0.8813 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.934e-05/0.008491, allocations: 59.22 kB / 0.8814 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.678e-05/0.008578, allocations: 7.984 kB / 0.8814 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.008598, allocations: 8.5 kB / 0.8814 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.008598, allocations: 0 / 0.8814 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of Templates: time 0.004542/0.01314, allocations: 1.264 MB / 0.8826 GB, free: 0.9297 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 800] 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.28066205396317]