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.001481/0.001481, allocations: 116.9 kB / 17.17 MB, free: 5.906 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.001578/0.001578, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.4/1.4, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.74/2.74, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="cs",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.001911/0.001911, allocations: 71.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8713/0.8733, allocations: 176.1 MB / 1.321 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002025/0.8753, allocations: 1.311 MB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.8787, allocations: 3.837 MB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.8787, allocations: 0 / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.8787, allocations: 0 / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.8792, allocations: 105.3 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.8795, allocations: 145.3 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.8795, allocations: 26.5 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.8796, allocations: 6.891 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.8797, allocations: 29.89 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.8798, allocations: 34.58 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.8798, allocations: 4 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.8802, allocations: 311.1 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.8802, allocations: 7.875 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.8802, allocations: 6.812 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.8804, allocations: 118.5 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8804, allocations: 0 / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8804, allocations: 3.031 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.8804, allocations: 0 / 1.327 GB, free: 20.72 MB / 1.061 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.0003097/0.8807, allocations: 360.2 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.8807, allocations: 16.27 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.35e-05/0.8808, allocations: 2.844 kB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.602e-05/0.8808, allocations: 30.75 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.843e-05/0.8808, allocations: 8.891 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.8809, allocations: 170.5 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.8809, allocations: 384 / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.8809, allocations: 14.75 kB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.209e-05/0.881, allocations: 28.92 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.881, allocations: 0 / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.881, allocations: 4 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.881, allocations: 0 / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.881, allocations: 6.562 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.8811, allocations: 151.1 kB / 1.328 GB, free: 19.85 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.8812, allocations: 27.11 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.8812, allocations: 15.58 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.8814, allocations: 100.9 kB / 1.328 GB, free: 19.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.8814, allocations: 33.16 kB / 1.328 GB, free: 19.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.8814, allocations: 0 / 1.328 GB, free: 19.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001291/0.8816, allocations: 40.17 kB / 1.328 GB, free: 19.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.8816, allocations: 51.41 kB / 1.328 GB, free: 19.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.673e-05/0.8816, allocations: 106.9 kB / 1.328 GB, free: 19.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-06/0.8816, allocations: 25.7 kB / 1.328 GB, free: 19.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.893e-05/0.8817, allocations: 86.8 kB / 1.328 GB, free: 19.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.8817, allocations: 15.27 kB / 1.329 GB, free: 19.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.8817, allocations: 12.5 kB / 1.329 GB, free: 19.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.8818, allocations: 313.8 kB / 1.329 GB, free: 19.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.8818, allocations: 3.938 kB / 1.329 GB, free: 19.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.8818, allocations: 2.812 kB / 1.329 GB, free: 19.01 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.645e-05/0.8818, allocations: 14.98 kB / 1.329 GB, free: 19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8818, allocations: 4.062 kB / 1.329 GB, free: 18.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.038e-05/0.8819, allocations: 49.78 kB / 1.329 GB, free: 18.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.8819, allocations: 5.062 kB / 1.329 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.8819, allocations: 0.7812 kB / 1.329 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.8819, allocations: 0 / 1.329 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/0.882, allocations: 7.312 kB / 1.329 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.882, allocations: 0.8125 kB / 1.329 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.882, allocations: 4.031 kB / 1.329 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.882, allocations: 4.656 kB / 1.329 GB, free: 18.94 MB / 1.061 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 4.689e-05/0.882, allocations: 111 kB / 1.329 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-06/0.882, allocations: 5.5 kB / 1.329 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.509e-05/0.8821, allocations: 46.55 kB / 1.329 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8821, allocations: 4.562 kB / 1.329 GB, free: 18.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.8821, allocations: 0.5625 kB / 1.329 GB, free: 18.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8821, allocations: 0.7812 kB / 1.329 GB, free: 18.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.376e-05/0.8822, allocations: 156.9 kB / 1.329 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.8822, allocations: 0 / 1.329 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.8822, allocations: 8.188 kB / 1.329 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.8822, allocations: 0 / 1.329 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.8822, allocations: 0.75 kB / 1.329 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8822, allocations: 4.391 kB / 1.329 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8822, allocations: 0 / 1.329 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.014e-05/0.8823, allocations: 67.77 kB / 1.329 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.8823, allocations: 85.94 kB / 1.329 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.8823, allocations: 1.125 kB / 1.329 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.8824, allocations: 4.031 kB / 1.329 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.8824, allocations: 1.625 kB / 1.329 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.8824, allocations: 5.406 kB / 1.329 GB, free: 18.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.48e-05/0.8824, allocations: 86.61 kB / 1.329 GB, free: 18.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8824, allocations: 0 / 1.329 GB, free: 18.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000209/0.8826, allocations: 25.34 kB / 1.33 GB, free: 18.31 MB / 1.061 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.0003239/0.8829, allocations: 0.6366 MB / 1.33 GB, free: 17.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.582e-05/0.883, allocations: 8.094 kB / 1.33 GB, free: 17.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.883, allocations: 0 / 1.33 GB, free: 17.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.883, allocations: 3.688 kB / 1.33 GB, free: 17.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.8833, allocations: 6.016 kB / 1.33 GB, free: 17.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.8836, allocations: 190.9 kB / 1.33 GB, free: 17.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.783e-05/0.8837, allocations: 0.6762 MB / 1.331 GB, free: 16.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.8838, allocations: 5.844 kB / 1.331 GB, free: 16.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.8838, allocations: 9.281 kB / 1.331 GB, free: 16.8 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.8838, allocations: 0.5938 kB / 1.331 GB, free: 16.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.9026, allocations: 1.711 MB / 1.333 GB, free: 16.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.763, allocations: 7.594 kB / 1.333 GB, free: 16.43 MB / 1.061 GB " [Timeout remaining time 291] (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.772630311024841]