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.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.001462/0.001462, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001514/0.001514, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.44/1.44, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 497.2 MB / 0.7811 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 1.134 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.958/0.9599, allocations: 173.9 MB / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001976/0.9619, allocations: 0.562 MB / 1.305 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002835/0.9622, allocations: 110.4 kB / 1.305 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.9622, allocations: 0 / 1.305 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.9623, allocations: 15.25 kB / 1.305 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.9624, allocations: 0 / 1.305 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.9626, allocations: 38.08 kB / 1.305 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.199e-05/0.9627, allocations: 23.22 kB / 1.305 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.9627, allocations: 2.672 kB / 1.305 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.25e-05/0.9627, allocations: 18.23 kB / 1.305 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.9628, allocations: 17.44 kB / 1.305 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.9628, allocations: 1.656 kB / 1.305 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.395e-05/0.9629, allocations: 7.062 kB / 1.305 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.9629, allocations: 1.312 kB / 1.305 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.9629, allocations: 18.44 kB / 1.305 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.963, allocations: 31.34 kB / 1.305 GB, free: 15.17 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.963, allocations: 5.188 kB / 1.305 GB, free: 15.17 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.963, allocations: 0 / 1.305 GB, free: 15.17 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.9631, allocations: 0.5156 kB / 1.305 GB, free: 15.17 MB / 1.014 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.0004375/0.9635, allocations: 353 kB / 1.305 GB, free: 14.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9635, allocations: 9.969 kB / 1.305 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.9636, allocations: 36.47 kB / 1.305 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.9636, allocations: 4.406 kB / 1.305 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.9638, allocations: 163.5 kB / 1.305 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.9638, allocations: 6.594 kB / 1.305 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.9638, allocations: 8.875 kB / 1.305 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.9639, allocations: 55.86 kB / 1.305 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.9639, allocations: 3.938 kB / 1.305 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.9639, allocations: 2.391 kB / 1.305 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.9639, allocations: 1.562 kB / 1.305 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.964, allocations: 9.125 kB / 1.305 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.9641, allocations: 152.6 kB / 1.306 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.998e-05/0.9642, allocations: 33.55 kB / 1.306 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.9642, allocations: 13.55 kB / 1.306 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.9643, allocations: 5.062 kB / 1.306 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.9643, allocations: 32.19 kB / 1.306 GB, free: 14.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.9643, allocations: 0 / 1.306 GB, free: 14.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002414/0.9645, allocations: 115.3 kB / 1.306 GB, free: 14.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.9646, allocations: 79.19 kB / 1.306 GB, free: 14.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.168e-05/0.9647, allocations: 103.2 kB / 1.306 GB, free: 13.94 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.9647, allocations: 26.7 kB / 1.306 GB, free: 13.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.9647, allocations: 81.8 kB / 1.306 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.9648, allocations: 5.125 kB / 1.306 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.9648, allocations: 28.22 kB / 1.306 GB, free: 13.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.965, allocations: 312.2 kB / 1.306 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.965, allocations: 13.34 kB / 1.306 GB, free: 13.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.965, allocations: 17.33 kB / 1.306 GB, free: 13.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.323e-05/0.9651, allocations: 81.05 kB / 1.306 GB, free: 13.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9651, allocations: 0 / 1.306 GB, free: 13.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001471/0.9652, allocations: 98.89 kB / 1.307 GB, free: 13.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.9653, allocations: 37.86 kB / 1.307 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9653, allocations: 0 / 1.307 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.9653, allocations: 3.984 kB / 1.307 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-06/0.9653, allocations: 0.7031 kB / 1.307 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.9653, allocations: 1.156 kB / 1.307 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.9654, allocations: 5.984 kB / 1.307 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.9654, allocations: 8.703 kB / 1.307 GB, free: 13.28 MB / 1.014 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.0001133/0.9656, allocations: 137.9 kB / 1.307 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.9656, allocations: 11.59 kB / 1.307 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.362e-05/0.9656, allocations: 9 kB / 1.307 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9656, allocations: 0.7031 kB / 1.307 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9656, allocations: 4 kB / 1.307 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.9656, allocations: 1.094 kB / 1.307 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.9657, allocations: 153.8 kB / 1.307 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9657, allocations: 1.375 kB / 1.307 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.9657, allocations: 4 kB / 1.307 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.9657, allocations: 8.672 kB / 1.307 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.9657, allocations: 4.484 kB / 1.307 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.9657, allocations: 0 / 1.307 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9657, allocations: 0.9688 kB / 1.307 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.9659, allocations: 122.1 kB / 1.307 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.9659, allocations: 77.11 kB / 1.307 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.966, allocations: 10.39 kB / 1.307 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.9661, allocations: 6.5 kB / 1.307 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.9661, allocations: 3.484 kB / 1.307 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.9661, allocations: 7.203 kB / 1.307 GB, free: 12.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.9661, allocations: 77.81 kB / 1.307 GB, free: 12.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9661, allocations: 3.938 kB / 1.307 GB, free: 12.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001893/0.9663, allocations: 13.38 kB / 1.307 GB, free: 12.62 MB / 1.014 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.0006486/0.967, allocations: 0.6775 MB / 1.308 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.9671, allocations: 80.47 kB / 1.308 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.9671, allocations: 4.094 kB / 1.308 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.9672, allocations: 75.48 kB / 1.308 GB, free: 11.83 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.9674, allocations: 5.562 kB / 1.308 GB, free: 11.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.9678, allocations: 144.3 kB / 1.308 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.9681, allocations: 0.6726 MB / 1.309 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.102e-05/0.9682, allocations: 6.422 kB / 1.309 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.9682, allocations: 7.438 kB / 1.309 GB, free: 10.98 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.9682, allocations: 0 / 1.309 GB, free: 10.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.9928, allocations: 1.888 MB / 1.311 GB, free: 10.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.758, allocations: 9.109 kB / 1.311 GB, free: 10.55 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.88072383403778]