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.000982/0.000982, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001083/0.001083, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 0.96/0.96, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.87/1.87, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.272e-06/1.272e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.183e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001137/0.001149, allocations: 0.6294 MB / 0.7607 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.001313, allocations: 104.3 kB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.001331, allocations: 1.469 kB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.109e-05/0.001402, allocations: 12.58 kB / 0.7608 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.18e-05/0.001444, allocations: 0 / 0.7608 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.303e-05/0.001537, allocations: 37.5 kB / 0.7608 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.092e-05/0.001598, allocations: 22.06 kB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.599e-05/0.001624, allocations: 9.234 kB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.001657, allocations: 15.98 kB / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.001705, allocations: 16.86 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.001719, allocations: 1.094 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.108e-05/0.00175, allocations: 15.92 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-06/0.001759, allocations: 0.9844 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.001784, allocations: 12.89 kB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.302e-05/0.001857, allocations: 29.44 kB / 0.761 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.00186, allocations: 8 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00186, allocations: 0.6875 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.294e-06/0.001862, allocations: 0 / 0.761 GB, free: 5.688 MB / 0.7136 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.0001724/0.002035, allocations: 248.2 kB / 0.7612 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.002062, allocations: 12.03 kB / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.002087, allocations: 8.922 kB / 0.7612 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.479e-05/0.002151, allocations: 110.7 kB / 0.7613 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.002159, allocations: 0.875 kB / 0.7613 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.002166, allocations: 5.094 kB / 0.7613 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.637e-05/0.002232, allocations: 79.92 kB / 0.7614 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-06/0.002236, allocations: 0.9375 kB / 0.7614 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.002243, allocations: 384 / 0.7614 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-06/0.002246, allocations: 1.125 kB / 0.7614 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.002268, allocations: 45.56 kB / 0.7614 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.303e-05/0.002321, allocations: 62.25 kB / 0.7615 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/0.002365, allocations: 54.48 kB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.002388, allocations: 42.61 kB / 0.7616 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-06/0.002392, allocations: 4 kB / 0.7616 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.002409, allocations: 30.56 kB / 0.7616 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.00241, allocations: 0.9844 kB / 0.7616 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001161/0.002526, allocations: 156.3 kB / 0.7618 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.002554, allocations: 81.11 kB / 0.7619 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.002603, allocations: 102.7 kB / 0.762 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.002613, allocations: 28.42 kB / 0.762 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.713e-05/0.00263, allocations: 80.14 kB / 0.7621 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.002652, allocations: 12.23 kB / 0.7621 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.002679, allocations: 21.7 kB / 0.7621 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.002753, allocations: 318.8 kB / 0.7624 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.002775, allocations: 42.56 kB / 0.7624 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.002794, allocations: 33.7 kB / 0.7625 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.002836, allocations: 78.98 kB / 0.7625 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.002838, allocations: 0 / 0.7625 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.701e-05/0.002905, allocations: 113 kB / 0.7627 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.002928, allocations: 33.69 kB / 0.7627 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.002931, allocations: 0 / 0.7627 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.002942, allocations: 4 kB / 0.7627 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.002943, allocations: 1.812 kB / 0.7627 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.002946, allocations: 0 / 0.7627 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.003005, allocations: 8 kB / 0.7627 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.003012, allocations: 4.938 kB / 0.7627 GB, free: 3.664 MB / 0.7136 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 5.691e-05/0.003069, allocations: 148.4 kB / 0.7628 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.003078, allocations: 4 kB / 0.7629 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.197e-05/0.00309, allocations: 7.156 kB / 0.7629 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.003091, allocations: 5.516 kB / 0.7629 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.003093, allocations: 0.6562 kB / 0.7629 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.003095, allocations: 0 / 0.7629 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.242e-05/0.003137, allocations: 69.83 kB / 0.7629 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003138, allocations: 1.312 kB / 0.7629 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-07/0.003139, allocations: 0 / 0.7629 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-07/0.003139, allocations: 0 / 0.7629 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.003146, allocations: 4.984 kB / 0.7629 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.003146, allocations: 0.6562 kB / 0.7629 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.003147, allocations: 0.8438 kB / 0.7629 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.807e-05/0.003225, allocations: 144.4 kB / 0.7631 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-06/0.003229, allocations: 4.5 kB / 0.7631 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.003238, allocations: 3.438 kB / 0.7631 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.748e-05/0.003265, allocations: 4 kB / 0.7631 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.003276, allocations: 7.984 kB / 0.7631 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.00328, allocations: 0 / 0.7631 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.845e-06/0.003288, allocations: 9.516 kB / 0.7631 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.003288, allocations: 0 / 0.7631 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000103/0.003391, allocations: 12 kB / 0.7631 GB, free: 3.188 MB / 0.7136 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.0001163/0.003507, allocations: 93.66 kB / 0.7632 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.409e-05/0.003591, allocations: 139.6 kB / 0.7633 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.003594, allocations: 8 kB / 0.7633 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.003635, allocations: 101.9 kB / 0.7634 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.46e-05/0.00369, allocations: 20.7 kB / 0.7635 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001659/0.003856, allocations: 132 kB / 0.7636 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.371e-05/0.003879, allocations: 59.34 kB / 0.7636 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.003899, allocations: 0 / 0.7636 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.003966, allocations: 75.36 kB / 0.7637 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.003967, allocations: 0.5312 kB / 0.7637 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of Templates: time 0.002331/0.006298, allocations: 1.332 MB / 0.765 GB, free: 1.219 MB / 0.7136 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.572183414828032]