Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008314/0.0008314, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008003/0.0008003, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8992/0.8992, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.801/1.801, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.146e-05, allocations: 6.219 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00113/0.001152, allocations: 0.5599 MB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.00135, allocations: 103.7 kB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.001375, allocations: 0 / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.399e-05/0.001469, allocations: 7.938 kB / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.001523, allocations: 3.938 kB / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.001642, allocations: 39.84 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.001728, allocations: 23.98 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.00177, allocations: 3.984 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.125e-05/0.001811, allocations: 23.97 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.001869, allocations: 11.98 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.001887, allocations: 4 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.716e-05/0.001924, allocations: 4 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.001936, allocations: 0 / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.001964, allocations: 19.92 kB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.002064, allocations: 35.89 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002066, allocations: 0 / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002068, allocations: 4 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.002071, allocations: 0 / 1.002 GB, free: 12.15 MB / 0.9636 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.0002855/0.002357, allocations: 280.1 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.002395, allocations: 9.344 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.002431, allocations: 4.938 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.002514, allocations: 105.8 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.002525, allocations: 4.375 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.002536, allocations: 4.375 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.00264, allocations: 83.92 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.002647, allocations: 192 / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.002658, allocations: 4.375 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.002662, allocations: 4.312 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.002698, allocations: 37.64 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.347e-05/0.002792, allocations: 105.3 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.563e-05/0.002848, allocations: 52.3 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.002879, allocations: 42.62 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-06/0.002886, allocations: 4 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.002905, allocations: 34.55 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.002906, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0002021/0.003108, allocations: 162.8 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.003148, allocations: 81.14 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.003205, allocations: 105.7 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.003222, allocations: 29.7 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.003248, allocations: 88.08 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.00327, allocations: 3.938 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.003298, allocations: 17.72 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.003376, allocations: 318.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.003407, allocations: 37.69 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.003434, allocations: 41.69 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.003492, allocations: 84.38 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.003494, allocations: 0 / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.385e-05/0.003588, allocations: 117.1 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.003615, allocations: 39.41 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.00362, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.003631, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.003632, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.003638, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.292e-05/0.003731, allocations: 15.94 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.003741, allocations: 7.984 kB / 1.004 GB, free: 9.992 MB / 0.9636 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.067e-05/0.003802, allocations: 139.6 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-06/0.003808, allocations: 4 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.235e-05/0.003821, allocations: 7.156 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.003822, allocations: 0 / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.003826, allocations: 0 / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.003832, allocations: 3.938 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.855e-05/0.00389, allocations: 105.3 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.003891, allocations: 0 / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-07/0.003891, allocations: 0 / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.003892, allocations: 0 / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.003902, allocations: 8 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.003903, allocations: 3.938 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.003904, allocations: 0 / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.004022, allocations: 156.4 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.004028, allocations: 7.969 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.004041, allocations: 4 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.004085, allocations: 4 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.004099, allocations: 4 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.004103, allocations: 3.984 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.382e-05/0.004127, allocations: 83.31 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004127, allocations: 3.938 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001352/0.004262, allocations: 15.94 kB / 1.004 GB, free: 9.367 MB / 0.9636 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.0001604/0.004423, allocations: 119 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.004563, allocations: 142.7 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.004564, allocations: 160 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.00461, allocations: 101.1 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.004717, allocations: 4 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.004953, allocations: 164.2 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.509e-05/0.004988, allocations: 59.34 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.005002, allocations: 8.5 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.005002, allocations: 0 / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of Templates: time 0.001729/0.006731, allocations: 0.8982 MB / 1.006 GB, free: 7.785 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.626994865946472]