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.001262/0.001262, allocations: 106.8 kB / 16.45 MB, free: 6.035 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.001286/0.001286, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.367/1.367, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.91 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7754/0.7773, allocations: 160.7 MB / 1.213 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002293/0.7796, allocations: 0.5522 MB / 1.213 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002939/0.7799, allocations: 110 kB / 1.214 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.7799, allocations: 0 / 1.214 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.78, allocations: 6.062 kB / 1.214 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.7801, allocations: 3.938 kB / 1.214 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.7803, allocations: 37.64 kB / 1.214 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.7804, allocations: 34.03 kB / 1.214 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.7804, allocations: 1.188 kB / 1.214 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.964e-05/0.7805, allocations: 12.83 kB / 1.214 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.7805, allocations: 17.53 kB / 1.214 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.7806, allocations: 6.094 kB / 1.214 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.552e-05/0.7806, allocations: 10 kB / 1.214 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.7806, allocations: 4.75 kB / 1.214 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.7807, allocations: 8.531 kB / 1.214 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.7808, allocations: 28.75 kB / 1.214 GB, free: 3.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7808, allocations: 0 / 1.214 GB, free: 3.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7808, allocations: 1.031 kB / 1.214 GB, free: 3.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.7808, allocations: 0 / 1.214 GB, free: 3.285 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.0004224/0.7812, allocations: 360.1 kB / 1.214 GB, free: 2.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.7812, allocations: 11.19 kB / 1.214 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.7813, allocations: 36.09 kB / 1.214 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.7813, allocations: 3.594 kB / 1.214 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.7815, allocations: 165.7 kB / 1.214 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.7815, allocations: 6 kB / 1.214 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.7815, allocations: 5 kB / 1.214 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.7816, allocations: 50.86 kB / 1.214 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.7816, allocations: 5.031 kB / 1.214 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.7817, allocations: 0.9062 kB / 1.214 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7817, allocations: 1.094 kB / 1.214 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/0.7817, allocations: 27.23 kB / 1.214 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.7819, allocations: 152.7 kB / 1.215 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.094e-05/0.7819, allocations: 30.19 kB / 1.215 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.782, allocations: 12.8 kB / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-06/0.782, allocations: 0 / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.782, allocations: 35.34 kB / 1.215 GB, free: 2.297 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.782, allocations: 4.75 kB / 1.215 GB, free: 2.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002647/0.7823, allocations: 113 kB / 1.215 GB, free: 2.203 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.7823, allocations: 79.3 kB / 1.215 GB, free: 2.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.7824, allocations: 96.05 kB / 1.215 GB, free: 2.008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.7824, allocations: 27.98 kB / 1.215 GB, free: 1.977 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.7825, allocations: 81.11 kB / 1.215 GB, free: 1.895 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.7825, allocations: 10.05 kB / 1.215 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.7826, allocations: 29.27 kB / 1.215 GB, free: 1.859 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7827, allocations: 315.9 kB / 1.215 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.168e-05/0.7827, allocations: 11.3 kB / 1.215 GB, free: 1.539 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.7827, allocations: 11.06 kB / 1.215 GB, free: 1.535 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.7828, allocations: 83.12 kB / 1.215 GB, free: 1.453 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7828, allocations: 0 / 1.215 GB, free: 1.453 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001401/0.783, allocations: 95.05 kB / 1.216 GB, free: 1.375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.783, allocations: 40.25 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.783, allocations: 4.094 kB / 1.216 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.783, allocations: 1.312 kB / 1.216 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.783, allocations: 0 / 1.216 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.783, allocations: 0 / 1.216 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.7832, allocations: 5 kB / 1.216 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.7832, allocations: 7.109 kB / 1.216 GB, free: 1.328 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.0001077/0.7833, allocations: 142.9 kB / 1.216 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.7833, allocations: 7.219 kB / 1.216 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.405e-05/0.7833, allocations: 4.219 kB / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.7833, allocations: 4 kB / 1.216 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7833, allocations: 0 / 1.216 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.7833, allocations: 1.094 kB / 1.216 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.7835, allocations: 153 kB / 1.216 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7835, allocations: 0 / 1.216 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-06/0.7835, allocations: 1.156 kB / 1.216 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.7835, allocations: 11.86 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.7835, allocations: 6.844 kB / 1.216 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7835, allocations: 0 / 1.216 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7835, allocations: 0.9375 kB / 1.216 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.7836, allocations: 129.8 kB / 1.216 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.7837, allocations: 77.11 kB / 1.216 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.7837, allocations: 6.125 kB / 1.216 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.7838, allocations: 8.453 kB / 1.216 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.7838, allocations: 6 kB / 1.216 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.7838, allocations: 7.062 kB / 1.216 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.7839, allocations: 81.59 kB / 1.216 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.7839, allocations: 0 / 1.216 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002012/0.7841, allocations: 12.41 kB / 1.216 GB, free: 0.6445 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.0006273/0.7847, allocations: 0.6845 MB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.7848, allocations: 82.83 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7849, allocations: 0 / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.549e-05/0.7849, allocations: 67.11 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.7851, allocations: 9.656 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.7855, allocations: 149.9 kB / 1.217 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.7858, allocations: 0.6792 MB / 1.218 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.767e-05/0.7859, allocations: 7.219 kB / 1.218 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.7859, allocations: 7.438 kB / 1.218 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.7859, allocations: 0 / 1.218 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.8103, allocations: 1.879 MB / 1.22 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.686, allocations: 12.28 kB / 1.22 GB, free: 13.95 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.321576087269932]