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.001691/0.001691, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002163/0.002163, allocations: 189.4 kB / 22.23 MB, free: 5.137 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.653/1.653, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001952/0.001952, allocations: 63.91 kB / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7385/0.7404, allocations: 160.8 MB / 1.218 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002297/0.7427, allocations: 0.5685 MB / 1.219 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003455/0.7431, allocations: 111.6 kB / 1.219 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.7431, allocations: 0 / 1.219 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.7432, allocations: 11.98 kB / 1.219 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.7433, allocations: 0 / 1.219 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.7435, allocations: 43.89 kB / 1.219 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.7436, allocations: 27.92 kB / 1.219 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.7436, allocations: 0 / 1.219 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.62e-05/0.7437, allocations: 15.98 kB / 1.219 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.314e-05/0.7438, allocations: 15.98 kB / 1.219 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.7438, allocations: 0 / 1.219 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.316e-05/0.7438, allocations: 8 kB / 1.219 GB, free: 3.609 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.7438, allocations: 0 / 1.219 GB, free: 3.609 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.7439, allocations: 23.91 kB / 1.219 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.744, allocations: 30.62 kB / 1.219 GB, free: 3.559 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.744, allocations: 0 / 1.219 GB, free: 3.559 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.744, allocations: 0 / 1.219 GB, free: 3.559 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.744, allocations: 0 / 1.219 GB, free: 3.559 MB / 0.92 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.0004889/0.7445, allocations: 360.9 kB / 1.22 GB, free: 3.152 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.7446, allocations: 8.031 kB / 1.22 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.7446, allocations: 4.938 kB / 1.22 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.7448, allocations: 164.3 kB / 1.22 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.7448, allocations: 8.375 kB / 1.22 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.7448, allocations: 8.312 kB / 1.22 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.745, allocations: 54.22 kB / 1.22 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.745, allocations: 192 / 1.22 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.745, allocations: 3.938 kB / 1.22 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.745, allocations: 4 kB / 1.22 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.109e-05/0.745, allocations: 7.984 kB / 1.22 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.7453, allocations: 157.7 kB / 1.22 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.988e-05/0.7453, allocations: 34.55 kB / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.7454, allocations: 24.83 kB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.7454, allocations: 0 / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.7454, allocations: 30.56 kB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.7454, allocations: 0 / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003152/0.7458, allocations: 111.3 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.7458, allocations: 77.11 kB / 1.22 GB, free: 2.324 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.7459, allocations: 106 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.746, allocations: 29.7 kB / 1.22 GB, free: 2.176 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.746, allocations: 84.08 kB / 1.221 GB, free: 2.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.746, allocations: 3.953 kB / 1.221 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.7461, allocations: 21.72 kB / 1.221 GB, free: 2.059 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7462, allocations: 318.8 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.7463, allocations: 4 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.7463, allocations: 16.11 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.595e-05/0.7464, allocations: 80.33 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7464, allocations: 0 / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001482/0.7465, allocations: 99.38 kB / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.7466, allocations: 29.7 kB / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7466, allocations: 3.938 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.7466, allocations: 4 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.7466, allocations: 0 / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.7466, allocations: 3.938 kB / 1.221 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.7467, allocations: 12.02 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.7467, allocations: 4 kB / 1.221 GB, free: 1.453 MB / 0.92 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.0001128/0.7468, allocations: 147 kB / 1.221 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.7469, allocations: 4 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.519e-05/0.7469, allocations: 11.09 kB / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.7469, allocations: 0 / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7469, allocations: 0 / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.7469, allocations: 0 / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.747, allocations: 157.6 kB / 1.221 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.747, allocations: 4 kB / 1.221 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.747, allocations: 4 kB / 1.221 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.747, allocations: 0 / 1.221 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.747, allocations: 11.86 kB / 1.221 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.747, allocations: 4 kB / 1.221 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.747, allocations: 3.938 kB / 1.221 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.7472, allocations: 118.8 kB / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.7473, allocations: 77.11 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.7473, allocations: 11.97 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.7474, allocations: 7.938 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.7474, allocations: 4 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.7474, allocations: 7.984 kB / 1.222 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.259e-05/0.7474, allocations: 79.28 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.7474, allocations: 0 / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002099/0.7476, allocations: 12 kB / 1.222 GB, free: 0.6992 MB / 0.92 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.0002255/0.7479, allocations: 115.7 kB / 1.222 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.748, allocations: 79.38 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.748, allocations: 0 / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.7481, allocations: 71.39 kB / 1.222 GB, free: 416 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.7482, allocations: 4 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.7485, allocations: 121 kB / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.7488, allocations: 0.6767 MB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.455e-05/0.7489, allocations: 4 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.284e-05/0.7489, allocations: 7.438 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.7489, allocations: 0 / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of Templates: time 0.003654/0.7526, allocations: 1.116 MB / 1.224 GB, free: 14.43 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.330793431028724]