Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001425/0.001425, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.0014/0.0014, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.494/2.494, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 63.89 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.7655, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001516/0.767, allocations: 0.5823 MB / 1.272 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002066/0.7672, allocations: 113.8 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.7672, allocations: 0.9375 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.816e-05/0.7673, allocations: 5.844 kB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.777e-05/0.7673, allocations: 0 / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.7674, allocations: 38.56 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.779e-05/0.7675, allocations: 27.39 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.7676, allocations: 5.422 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.792e-05/0.7676, allocations: 15.17 kB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.547e-05/0.7676, allocations: 17.05 kB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.7677, allocations: 1.531 kB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.891e-05/0.7677, allocations: 11.72 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.437e-06/0.7677, allocations: 1.062 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.7677, allocations: 10 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.859e-05/0.7678, allocations: 35.72 kB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7678, allocations: 0.7188 kB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7678, allocations: 0 / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7678, allocations: 4.781 kB / 1.272 GB, free: 7.238 MB / 0.9981 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.0002209/0.7681, allocations: 357.2 kB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.7681, allocations: 9.766 kB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.7681, allocations: 32.66 kB / 1.273 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.7681, allocations: 4.562 kB / 1.273 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.964e-05/0.7682, allocations: 163.1 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.7682, allocations: 2.094 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.7682, allocations: 4.688 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.7683, allocations: 57.92 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.7683, allocations: 3.938 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.7684, allocations: 9.531 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.7684, allocations: 0 / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.7684, allocations: 14.36 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.054e-05/0.7685, allocations: 152.7 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.982e-05/0.7685, allocations: 29.55 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.7686, allocations: 18.23 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-06/0.7686, allocations: 4 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.7686, allocations: 33.33 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.7686, allocations: 0 / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001957/0.7688, allocations: 113.3 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.7688, allocations: 80.97 kB / 1.273 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.959e-05/0.7688, allocations: 93.95 kB / 1.273 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.7688, allocations: 27.23 kB / 1.273 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.016e-05/0.7688, allocations: 85.05 kB / 1.273 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.7689, allocations: 10.69 kB / 1.273 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.7689, allocations: 23.53 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.083e-05/0.7689, allocations: 312.5 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.769, allocations: 13.03 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/0.769, allocations: 9.359 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.064e-05/0.7691, allocations: 80.97 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7691, allocations: 0.8125 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001138/0.7692, allocations: 102 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.7692, allocations: 36.55 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.7692, allocations: 1.734 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.7692, allocations: 3.938 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.7692, allocations: 0.9062 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.7692, allocations: 0 / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.7693, allocations: 6.875 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.7693, allocations: 7.938 kB / 1.274 GB, free: 5.352 MB / 0.9981 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 4.828e-05/0.7694, allocations: 143.2 kB / 1.274 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.7694, allocations: 7.438 kB / 1.274 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.7694, allocations: 4.922 kB / 1.274 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.7694, allocations: 0.9375 kB / 1.274 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.7694, allocations: 0 / 1.274 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7694, allocations: 5.391 kB / 1.274 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.896e-05/0.7695, allocations: 153.8 kB / 1.274 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.7695, allocations: 0 / 1.274 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-07/0.7695, allocations: 1.266 kB / 1.274 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7695, allocations: 4.844 kB / 1.274 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.7695, allocations: 7.703 kB / 1.274 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.7695, allocations: 0.7969 kB / 1.274 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7695, allocations: 0.9062 kB / 1.274 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.7696, allocations: 128.4 kB / 1.274 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.7696, allocations: 82.67 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.7696, allocations: 7.328 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.7697, allocations: 5.141 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.7698, allocations: 10.94 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.7698, allocations: 3.328 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.591e-05/0.7698, allocations: 77.64 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.7698, allocations: 0.8125 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001847/0.77, allocations: 16.75 kB / 1.275 GB, free: 4.691 MB / 0.9981 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.0003413/0.7703, allocations: 0.6774 MB / 1.275 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.7704, allocations: 81.34 kB / 1.275 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7704, allocations: 0 / 1.275 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.7705, allocations: 70.8 kB / 1.275 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.7706, allocations: 4.5 kB / 1.275 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.7709, allocations: 144.7 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.771, allocations: 0.6727 MB / 1.276 GB, free: 19.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.985e-05/0.7711, allocations: 5.656 kB / 1.276 GB, free: 19.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.7711, allocations: 8.047 kB / 1.276 GB, free: 19.06 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7711, allocations: 0 / 1.276 GB, free: 19.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.7938, allocations: 1.866 MB / 1.278 GB, free: 18.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.862, allocations: 4.141 kB / 1.278 GB, free: 18.62 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.101250538000386]