Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.001321/0.001321, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001613/0.001613, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.411/1.411, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.083/3.083, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 66.66 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3537, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002687/0.3564, allocations: 1.313 MB / 1.322 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005234/0.3616, allocations: 3.842 MB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.3616, allocations: 0 / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.3617, allocations: 3.938 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005311/0.3622, allocations: 99.48 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.3626, allocations: 145.3 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.896e-05/0.3627, allocations: 23.92 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.3627, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.3629, allocations: 23.86 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.363, allocations: 39.89 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.363, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.3636, allocations: 307.6 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.3636, allocations: 7.922 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.3637, allocations: 4 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.3639, allocations: 131.8 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3639, allocations: 0 / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3639, allocations: 0 / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3639, allocations: 0 / 1.327 GB, free: 13.38 MB / 1.029 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.0004769/0.3644, allocations: 359.1 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3645, allocations: 11.98 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.3645, allocations: 42.67 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.3645, allocations: 8.891 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3647, allocations: 164.4 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.3647, allocations: 384 / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.3647, allocations: 384 / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.32e-05/0.3648, allocations: 41.58 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.3648, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3648, allocations: 3.984 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3648, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.3648, allocations: 4 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.365, allocations: 157.7 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.945e-05/0.3651, allocations: 26.55 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.3651, allocations: 8.859 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.3654, allocations: 101.1 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3654, allocations: 38.55 kB / 1.328 GB, free: 12.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.3654, allocations: 0 / 1.328 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001522/0.3655, allocations: 49.58 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.3656, allocations: 51.41 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.3657, allocations: 105.8 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3657, allocations: 25.7 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.3657, allocations: 80.14 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.3658, allocations: 3.953 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.3658, allocations: 13.84 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3659, allocations: 318.8 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.366, allocations: 7.984 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.366, allocations: 0 / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.366, allocations: 16.86 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.366, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.174e-05/0.3661, allocations: 45.53 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3661, allocations: 4 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3661, allocations: 8.094 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3661, allocations: 0 / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.3662, allocations: 7.984 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3662, allocations: 0 / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.3662, allocations: 0 / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3662, allocations: 0 / 1.328 GB, free: 11.45 MB / 1.029 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 9.921e-05/0.3663, allocations: 109.8 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.3663, allocations: 7.938 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.3665, allocations: 48.81 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3665, allocations: 0 / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3665, allocations: 7.938 kB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3665, allocations: 3.984 kB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.3666, allocations: 161.8 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3666, allocations: 7.938 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.3666, allocations: 4 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3666, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3666, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3666, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3666, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.3667, allocations: 69.16 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.3668, allocations: 85 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.3668, allocations: 0 / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.3668, allocations: 0 / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.3668, allocations: 11.92 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3668, allocations: 0 / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.3669, allocations: 83.28 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3669, allocations: 4.031 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002363/0.3671, allocations: 19.94 kB / 1.329 GB, free: 10.73 MB / 1.029 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.0005223/0.3677, allocations: 0.6357 MB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.952e-05/0.3677, allocations: 12.03 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3677, allocations: 4.062 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.669e-05/0.3678, allocations: 7.938 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.368, allocations: 5.875 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.3684, allocations: 169.2 kB / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3687, allocations: 0.6768 MB / 1.33 GB, free: 9.133 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.3688, allocations: 8.062 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.3688, allocations: 7.438 kB / 1.33 GB, free: 9.117 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3688, allocations: 0 / 1.33 GB, free: 9.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.3946, allocations: 1.676 MB / 1.332 GB, free: 7.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.057, allocations: 12.02 kB / 1.332 GB, free: 7.582 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.449760698946193]