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.001736/0.001736, allocations: 113.8 kB / 17.13 MB, free: 6.008 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.001895/0.001895, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.994/2.994, allocations: 0.49 GB / 0.7923 GB, free: 1.438 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002068/0.002068, allocations: 71.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001862/1.097, allocations: 0.5625 MB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002297/1.097, allocations: 104.7 kB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/1.097, allocations: 0 / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/1.097, allocations: 10.59 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/1.097, allocations: 3.938 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/1.097, allocations: 33.73 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.716e-05/1.097, allocations: 28.17 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/1.097, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/1.097, allocations: 19.39 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/1.097, allocations: 12.78 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/1.097, allocations: 6.938 kB / 1.323 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.159e-05/1.097, allocations: 13.59 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/1.097, allocations: 0 / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/1.097, allocations: 8.609 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/1.098, allocations: 32.64 kB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.098, allocations: 2.812 kB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/1.098, allocations: 4 kB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.098, allocations: 0 / 1.323 GB, free: 24.58 MB / 1.061 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.0002852/1.098, allocations: 353.4 kB / 1.323 GB, free: 24.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/1.098, allocations: 14.23 kB / 1.323 GB, free: 24.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/1.098, allocations: 11.17 kB / 1.323 GB, free: 24.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.117e-05/1.098, allocations: 164.3 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.098, allocations: 3.906 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/1.098, allocations: 3.25 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/1.098, allocations: 58.31 kB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/1.098, allocations: 192 / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/1.098, allocations: 6.406 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.098, allocations: 0 / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/1.098, allocations: 16.86 kB / 1.323 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/1.098, allocations: 150.3 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.977e-05/1.098, allocations: 30.14 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/1.098, allocations: 18.23 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/1.098, allocations: 7.984 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/1.098, allocations: 33.78 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/1.098, allocations: 0 / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0002112/1.099, allocations: 106.7 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/1.099, allocations: 87.48 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/1.099, allocations: 92.77 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/1.099, allocations: 25.95 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.651e-05/1.099, allocations: 84.14 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/1.099, allocations: 2.938 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/1.099, allocations: 29.58 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.694e-05/1.099, allocations: 310.8 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/1.099, allocations: 15.12 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/1.099, allocations: 6.156 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/1.099, allocations: 82.94 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.099, allocations: 12 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001108/1.099, allocations: 95.23 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.099, allocations: 34.58 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.099, allocations: 3.938 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.099, allocations: 0 / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/1.099, allocations: 0 / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/1.099, allocations: 6.344 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/1.099, allocations: 6.672 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/1.099, allocations: 5.219 kB / 1.325 GB, free: 22.73 MB / 1.061 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.771e-05/1.099, allocations: 149.1 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/1.099, allocations: 2.656 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.108e-05/1.099, allocations: 7.062 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/1.099, allocations: 0 / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.099, allocations: 0 / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.099, allocations: 2.875 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.012e-05/1.099, allocations: 155 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.099, allocations: 3.938 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/1.099, allocations: 0 / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/1.099, allocations: 0 / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/1.099, allocations: 14.69 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.099, allocations: 0 / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.099, allocations: 10.27 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/1.1, allocations: 118.3 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/1.1, allocations: 77.11 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/1.1, allocations: 6.906 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/1.1, allocations: 9.266 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/1.1, allocations: 4.031 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/1.1, allocations: 2.969 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.148e-05/1.1, allocations: 78.19 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.1, allocations: 0 / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001923/1.1, allocations: 11.81 kB / 1.325 GB, free: 22.07 MB / 1.061 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.000232/1.1, allocations: 119.2 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001339/1.1, allocations: 89.58 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.1, allocations: 0 / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/1.1, allocations: 67.36 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/1.101, allocations: 5.75 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/1.101, allocations: 126.1 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/1.101, allocations: 0.6691 MB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.151e-05/1.101, allocations: 14.16 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.101, allocations: 3.938 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of Templates: time 0.002535/1.104, allocations: 0.8926 MB / 1.327 GB, free: 20.9 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 12.115135679996456]