Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.001253/0.001253, allocations: 105.6 kB / 16.45 MB, free: 6.504 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.00124/0.00124, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.392/1.392, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.622/2.622, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 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.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.91 kB / 1.104 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8775/0.8794, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002678/0.882, allocations: 1.292 MB / 1.27 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004956/0.887, allocations: 3.783 MB / 1.274 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.887, allocations: 0 / 1.274 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.8871, allocations: 0 / 1.274 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.8876, allocations: 103.4 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.8879, allocations: 147.5 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.888, allocations: 23.92 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.8881, allocations: 4 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.8882, allocations: 27.84 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.8883, allocations: 35.91 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.8883, allocations: 3.984 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005744/0.8889, allocations: 307.6 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.8889, allocations: 0 / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.8889, allocations: 11.94 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.8892, allocations: 125.5 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8892, allocations: 0 / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8892, allocations: 0 / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.8892, allocations: 3.938 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004992/0.8897, allocations: 363.1 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8897, allocations: 12.02 kB / 1.275 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.8898, allocations: 34.75 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.8898, allocations: 0.9375 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.8899, allocations: 168.3 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.8899, allocations: 384 / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.89, allocations: 4.375 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.8901, allocations: 37.62 kB / 1.275 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.8901, allocations: 0 / 1.275 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.8901, allocations: 4 kB / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8901, allocations: 0 / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.8901, allocations: 7.938 kB / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.8903, allocations: 153.7 kB / 1.275 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.631e-05/0.8904, allocations: 22.58 kB / 1.275 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.8904, allocations: 8.922 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.8907, allocations: 105 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.8907, allocations: 38.55 kB / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8907, allocations: 0 / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001547/0.8908, allocations: 45.59 kB / 1.275 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.8909, allocations: 51.41 kB / 1.275 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.891, allocations: 109.8 kB / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.891, allocations: 25.7 kB / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.8911, allocations: 84.14 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.8911, allocations: 7.953 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.8911, allocations: 9.719 kB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8913, allocations: 327 kB / 1.276 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.8913, allocations: 0 / 1.276 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.8913, allocations: 4 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.8913, allocations: 8.859 kB / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8913, allocations: 0 / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.92e-05/0.8914, allocations: 49.58 kB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.8914, allocations: 4 kB / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.8914, allocations: 0 / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.8914, allocations: 96 / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.8915, allocations: 12.23 kB / 1.276 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.8915, allocations: 0 / 1.276 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.8915, allocations: 4 kB / 1.276 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.8915, allocations: 0 / 1.276 GB, free: 13.37 MB / 0.9825 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.245e-05/0.8916, allocations: 110.4 kB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.8916, allocations: 3.938 kB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.8917, allocations: 60.69 kB / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.8917, allocations: 4.031 kB / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.8917, allocations: 0 / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8917, allocations: 0 / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.8919, allocations: 153.6 kB / 1.276 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8919, allocations: 3.938 kB / 1.276 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.8919, allocations: 4 kB / 1.276 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.8919, allocations: 0 / 1.276 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.8919, allocations: 0 / 1.276 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.8919, allocations: 0 / 1.276 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8919, allocations: 4 kB / 1.276 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.892, allocations: 69.12 kB / 1.276 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.8921, allocations: 88.98 kB / 1.277 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.8921, allocations: 0 / 1.277 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.564e-05/0.8921, allocations: 3.984 kB / 1.277 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.8921, allocations: 3.938 kB / 1.277 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.8921, allocations: 0 / 1.277 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.8922, allocations: 79.28 kB / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8922, allocations: 0 / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002155/0.8924, allocations: 35.91 kB / 1.277 GB, free: 12.66 MB / 0.9825 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0005022/0.8929, allocations: 0.6319 MB / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.686e-05/0.893, allocations: 7.938 kB / 1.277 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.893, allocations: 4 kB / 1.277 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.893, allocations: 12.09 kB / 1.277 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.8932, allocations: 2.234 kB / 1.277 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.8936, allocations: 165.2 kB / 1.277 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.894, allocations: 0.6806 MB / 1.278 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.894, allocations: 8.062 kB / 1.278 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.894, allocations: 11.38 kB / 1.278 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.894, allocations: 0 / 1.278 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.9189, allocations: 1.671 MB / 1.28 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.985, allocations: 2.062 kB / 1.28 GB, free: 9.523 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.897254408802837]