Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 112.5 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 198 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.88 kB / 1.057 GB, free: 1.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3731, allocations: 160.7 MB / 1.214 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002065/0.3752, allocations: 0.555 MB / 1.215 GB, free: 376 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002882/0.3755, allocations: 107.7 kB / 1.215 GB, free: 268 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.3755, allocations: 0 / 1.215 GB, free: 268 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.3756, allocations: 4 kB / 1.215 GB, free: 264 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.3757, allocations: 4 kB / 1.215 GB, free: 260 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.3758, allocations: 43.88 kB / 1.215 GB, free: 216 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.376, allocations: 23.98 kB / 1.215 GB, free: 192 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.376, allocations: 0 / 1.215 GB, free: 192 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.376, allocations: 19.98 kB / 1.215 GB, free: 172 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.3761, allocations: 15.91 kB / 1.215 GB, free: 156 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3761, allocations: 0 / 1.215 GB, free: 156 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.3762, allocations: 12 kB / 1.215 GB, free: 144 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.3762, allocations: 7.938 kB / 1.215 GB, free: 136 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.3762, allocations: 11.98 kB / 1.215 GB, free: 124 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3763, allocations: 31.84 kB / 1.215 GB, free: 92 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3763, allocations: 0 / 1.215 GB, free: 92 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3764, allocations: 0 / 1.215 GB, free: 92 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.3764, allocations: 3.938 kB / 1.215 GB, free: 88 kB / 0.9512 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.0004398/0.3768, allocations: 357.2 kB / 1.215 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3768, allocations: 12.03 kB / 1.215 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.3769, allocations: 0.9375 kB / 1.215 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3771, allocations: 172.4 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3771, allocations: 384 / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3771, allocations: 4.375 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3772, allocations: 50.23 kB / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3772, allocations: 192 / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3772, allocations: 7.938 kB / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3773, allocations: 0 / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.626e-05/0.3773, allocations: 19.92 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.3775, allocations: 153.7 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.3775, allocations: 34.59 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.3776, allocations: 12.92 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3776, allocations: 4 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3776, allocations: 30.56 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3776, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002691/0.3779, allocations: 111.2 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.378, allocations: 89.23 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.3781, allocations: 93.86 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3781, allocations: 25.7 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.3781, allocations: 80.14 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.3781, allocations: 7.953 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3782, allocations: 25.7 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3783, allocations: 314.8 kB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.3784, allocations: 12 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.3784, allocations: 16.11 kB / 1.216 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/0.3785, allocations: 80.25 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3785, allocations: 0 / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001474/0.3786, allocations: 95.33 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.3787, allocations: 37.69 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3787, allocations: 3.938 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3787, allocations: 3.984 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.3787, allocations: 0 / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3787, allocations: 96 / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.3789, allocations: 8 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3789, allocations: 4 kB / 1.217 GB, free: 13.99 MB / 0.9669 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.0001206/0.379, allocations: 147.5 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.379, allocations: 0 / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.426e-05/0.379, allocations: 11.06 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.379, allocations: 0 / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.379, allocations: 3.938 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.379, allocations: 0 / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.3792, allocations: 157.7 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3792, allocations: 0 / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3792, allocations: 0 / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.3792, allocations: 0 / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.3792, allocations: 15.94 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3792, allocations: 0 / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3792, allocations: 0 / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.3794, allocations: 126.8 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.3794, allocations: 81.14 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3794, allocations: 7.938 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3795, allocations: 7.984 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.3796, allocations: 0 / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3796, allocations: 4 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.543e-05/0.3796, allocations: 75.28 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3796, allocations: 0 / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001977/0.3798, allocations: 12 kB / 1.217 GB, free: 13.24 MB / 0.9669 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.0002653/0.3801, allocations: 126.8 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.3802, allocations: 83.39 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3802, allocations: 0 / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.3803, allocations: 75.33 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.3805, allocations: 4 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.3808, allocations: 142.7 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.3811, allocations: 0.669 MB / 1.218 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.3811, allocations: 11.44 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3811, allocations: 0 / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of Templates: time 0.002902/0.384, allocations: 0.8898 MB / 1.219 GB, free: 11.16 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.85773107316345]