Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001911/0.001911, allocations: 79.75 kB / 20.23 MB, free: 4.043 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.002051/0.002051, allocations: 157.4 kB / 23.55 MB, free: 0.7305 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.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.022/3.022, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.545e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001684/0.001709, allocations: 0.5745 MB / 0.8114 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003083/0.002018, allocations: 100.6 kB / 0.8115 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.002045, allocations: 4 kB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.578e-05/0.002141, allocations: 5.625 kB / 0.8115 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.00219, allocations: 0 / 0.8115 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.002347, allocations: 41.41 kB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.002433, allocations: 23.98 kB / 0.8115 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.00247, allocations: 0 / 0.8115 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.002526, allocations: 25.52 kB / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.002594, allocations: 15.97 kB / 0.8116 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.002618, allocations: 4 kB / 0.8116 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.002659, allocations: 4 kB / 0.8116 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.002668, allocations: 0.875 kB / 0.8116 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.002707, allocations: 12 kB / 0.8116 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.002825, allocations: 43.81 kB / 0.8117 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002828, allocations: 0.7812 kB / 0.8117 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002828, allocations: 0 / 0.8117 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002832, allocations: 0.5625 kB / 0.8117 GB, free: 1.281 MB / 0.7605 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.0004262/0.003258, allocations: 378.7 kB / 0.812 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.003296, allocations: 8.031 kB / 0.812 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.003344, allocations: 13.66 kB / 0.812 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.00347, allocations: 113.8 kB / 0.8121 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.003482, allocations: 384 / 0.8121 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.003498, allocations: 8.359 kB / 0.8122 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.003656, allocations: 89.3 kB / 0.8122 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.003664, allocations: 192 / 0.8122 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.003679, allocations: 4.375 kB / 0.8122 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.003683, allocations: 384 / 0.8122 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/0.00375, allocations: 47.31 kB / 0.8123 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.003898, allocations: 112.6 kB / 0.8124 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.004118, allocations: 68.78 kB / 0.8125 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.004188, allocations: 57.44 kB / 0.8125 GB, free: 260 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.004196, allocations: 0.7812 kB / 0.8125 GB, free: 260 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.004232, allocations: 37.39 kB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.004233, allocations: 0.75 kB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.000313/0.004546, allocations: 171.3 kB / 0.8127 GB, free: 16 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.004668, allocations: 81.09 kB / 0.8128 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.004794, allocations: 159 kB / 0.8129 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.004822, allocations: 29.7 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.00489, allocations: 132.2 kB / 0.8131 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.004912, allocations: 3.953 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.004966, allocations: 27.36 kB / 0.8131 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002545/0.00522, allocations: 0.4884 MB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.005272, allocations: 36.27 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.005328, allocations: 45.69 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.005432, allocations: 83.08 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005434, allocations: 0 / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001986/0.005632, allocations: 133 kB / 0.8139 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.005673, allocations: 34.23 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.005677, allocations: 0.7188 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.005688, allocations: 0 / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.005689, allocations: 0.5312 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.005693, allocations: 1.656 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.005805, allocations: 11.92 kB / 0.8139 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.00582, allocations: 4 kB / 0.8139 GB, free: 14.65 MB / 0.7761 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.0001398/0.005959, allocations: 182.3 kB / 0.8141 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.005982, allocations: 12.62 kB / 0.8141 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.716e-06/0.005991, allocations: 3.156 kB / 0.8141 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.005995, allocations: 5.062 kB / 0.8141 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.006, allocations: 3.984 kB / 0.8141 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.006004, allocations: 3.938 kB / 0.8141 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.006115, allocations: 113.7 kB / 0.8142 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.006116, allocations: 0 / 0.8142 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.006116, allocations: 0 / 0.8142 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.006118, allocations: 0.8438 kB / 0.8142 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.00613, allocations: 4 kB / 0.8143 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006131, allocations: 2.219 kB / 0.8143 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.006134, allocations: 3.984 kB / 0.8143 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.006368, allocations: 175.7 kB / 0.8144 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.006377, allocations: 7.891 kB / 0.8144 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.006395, allocations: 4 kB / 0.8144 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-05/0.006484, allocations: 10.78 kB / 0.8144 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.0065, allocations: 0 / 0.8144 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.006515, allocations: 7.984 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.759e-05/0.006582, allocations: 119.2 kB / 0.8146 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006582, allocations: 0 / 0.8146 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001954/0.006778, allocations: 19.94 kB / 0.8146 GB, free: 13.91 MB / 0.7761 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.0002481/0.007026, allocations: 117.4 kB / 0.8147 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.007255, allocations: 159 kB / 0.8149 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007256, allocations: 1.031 kB / 0.8149 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.007381, allocations: 112.8 kB / 0.815 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.007523, allocations: 10.36 kB / 0.815 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.007862, allocations: 146.1 kB / 0.8151 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.546e-05/0.007927, allocations: 63.2 kB / 0.8152 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.007954, allocations: 4 kB / 0.8152 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.007968, allocations: 8.5 kB / 0.8152 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.007969, allocations: 1.344 kB / 0.8152 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.004217/0.01219, allocations: 1.26 MB / 0.8164 GB, free: 11.98 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.983758572023362]