Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001419/0.001419, allocations: 77.7 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001574/0.001574, allocations: 158.1 kB / 23.01 MB, free: 4.945 MB / 14.72 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.446/1.446, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.652/2.652, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 63.89 kB / 0.9515 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8506, allocations: 169.9 MB / 1.117 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00234/0.853, allocations: 0.5715 MB / 1.118 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002935/0.8533, allocations: 98.56 kB / 1.118 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.8533, allocations: 0 / 1.118 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.726e-05/0.8534, allocations: 11.67 kB / 1.118 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.8534, allocations: 0 / 1.118 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.8536, allocations: 41.84 kB / 1.118 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.8538, allocations: 22.62 kB / 1.118 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.8538, allocations: 1.938 kB / 1.118 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.8538, allocations: 18.03 kB / 1.118 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.8539, allocations: 14.08 kB / 1.118 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.8539, allocations: 1.188 kB / 1.118 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.587e-05/0.854, allocations: 7 kB / 1.118 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.854, allocations: 1.094 kB / 1.118 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.8541, allocations: 18.31 kB / 1.118 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.8542, allocations: 34.31 kB / 1.118 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8542, allocations: 4 kB / 1.118 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8542, allocations: 0 / 1.118 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.8542, allocations: 0 / 1.118 GB, free: 2.609 MB / 0.9981 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.0002815/0.8545, allocations: 278.2 kB / 1.119 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.8545, allocations: 9.312 kB / 1.119 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.8546, allocations: 4.984 kB / 1.119 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.815e-05/0.8546, allocations: 112.4 kB / 1.119 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.8546, allocations: 3.359 kB / 1.119 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.8547, allocations: 4.5 kB / 1.119 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.8548, allocations: 79.48 kB / 1.119 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.8548, allocations: 9.219 kB / 1.119 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.8548, allocations: 5 kB / 1.119 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.8548, allocations: 1.156 kB / 1.119 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.8549, allocations: 36.61 kB / 1.119 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.558e-05/0.855, allocations: 111 kB / 1.119 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.8551, allocations: 59.95 kB / 1.119 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.8551, allocations: 41.31 kB / 1.119 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.8551, allocations: 1.125 kB / 1.119 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.8552, allocations: 32.47 kB / 1.119 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.8552, allocations: 0 / 1.119 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002999/0.8555, allocations: 175.4 kB / 1.119 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.8555, allocations: 80.83 kB / 1.119 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/0.8555, allocations: 98.39 kB / 1.119 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.8556, allocations: 27.92 kB / 1.119 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.409e-05/0.8556, allocations: 80.14 kB / 1.119 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.8556, allocations: 3.219 kB / 1.119 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.8556, allocations: 24.44 kB / 1.119 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.8557, allocations: 311.5 kB / 1.12 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.8557, allocations: 36.75 kB / 1.12 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.81e-05/0.8558, allocations: 45.36 kB / 1.12 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.8559, allocations: 80.2 kB / 1.12 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8559, allocations: 0 / 1.12 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001856/0.8561, allocations: 125 kB / 1.12 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.8561, allocations: 33.61 kB / 1.12 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8561, allocations: 0 / 1.12 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.8561, allocations: 5.094 kB / 1.12 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.8561, allocations: 0.6094 kB / 1.12 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8561, allocations: 0 / 1.12 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.8563, allocations: 7.594 kB / 1.12 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.8563, allocations: 6.969 kB / 1.12 GB, free: 0.7188 MB / 0.9981 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.378e-05/0.8564, allocations: 139 kB / 1.12 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.8564, allocations: 8.266 kB / 1.12 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.228e-05/0.8564, allocations: 9.031 kB / 1.12 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8564, allocations: 3.938 kB / 1.12 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.8564, allocations: 0 / 1.12 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8564, allocations: 1.688 kB / 1.12 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.927e-05/0.8565, allocations: 102.5 kB / 1.12 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8565, allocations: 4 kB / 1.12 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-06/0.8565, allocations: 1.828 kB / 1.12 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8565, allocations: 4 kB / 1.12 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.8565, allocations: 7.5 kB / 1.12 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8565, allocations: 0.75 kB / 1.12 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8565, allocations: 8.625 kB / 1.12 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.8567, allocations: 153.2 kB / 1.121 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.8567, allocations: 1.75 kB / 1.121 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.8567, allocations: 2.547 kB / 1.121 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.8569, allocations: 5.875 kB / 1.121 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.8569, allocations: 7.391 kB / 1.121 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.8569, allocations: 11.45 kB / 1.121 GB, free: 272 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.011e-05/0.8569, allocations: 77.73 kB / 1.121 GB, free: 196 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8569, allocations: 0.75 kB / 1.121 GB, free: 196 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003516/0.8573, allocations: 12.5 kB / 1.121 GB, free: 196 kB / 0.9981 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.0002195/0.8575, allocations: 112.8 kB / 1.121 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.8577, allocations: 139 kB / 1.121 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8577, allocations: 0 / 1.121 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.8579, allocations: 101.6 kB / 1.121 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.8581, allocations: 3.438 kB / 1.121 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.8586, allocations: 136 kB / 1.121 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.807e-05/0.8586, allocations: 56.89 kB / 1.121 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.901e-05/0.8587, allocations: 5.484 kB / 1.121 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.8587, allocations: 8.5 kB / 1.121 GB, free: 15.65 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/0.8587, allocations: 0 / 1.121 GB, free: 15.65 MB / 1.014 GB Notification: Performance of Templates: time 0.005126/0.8639, allocations: 1.23 MB / 1.122 GB, free: 15.44 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.336335747968405]