Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001478/0.001478, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001651/0.001651, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.969/2.969, allocations: 0.5003 GB / 0.8061 GB, free: 26.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_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.001862/0.001862, allocations: 68.14 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3203, allocations: 179 MB / 1.345 GB, free: 432 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002344/0.3226, allocations: 1.314 MB / 1.347 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004491/0.3271, allocations: 3.865 MB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.3271, allocations: 0 / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.3272, allocations: 0 / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.3276, allocations: 103.5 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.3279, allocations: 141.3 kB / 1.351 GB, free: 10.97 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.328, allocations: 27.92 kB / 1.351 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.328, allocations: 0 / 1.351 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3281, allocations: 31.84 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.683e-05/0.3282, allocations: 35.91 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.3282, allocations: 0 / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.3287, allocations: 311.6 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.3287, allocations: 7.938 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.3288, allocations: 7.938 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.329, allocations: 127.8 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.329, allocations: 0 / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.329, allocations: 0 / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.329, allocations: 0 / 1.351 GB, free: 10.43 MB / 1.045 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.0003712/0.3294, allocations: 286 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3294, allocations: 12.03 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.435e-05/0.3294, allocations: 192 / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.3294, allocations: 34.75 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.3295, allocations: 4.891 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.622e-05/0.3296, allocations: 114.5 kB / 1.352 GB, free: 9.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.3296, allocations: 384 / 1.352 GB, free: 9.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.3296, allocations: 4.125 kB / 1.352 GB, free: 9.926 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.802e-05/0.3297, allocations: 33.7 kB / 1.352 GB, free: 9.887 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.3297, allocations: 3.938 kB / 1.352 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3297, allocations: 0 / 1.352 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3297, allocations: 0 / 1.352 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.764e-05/0.3297, allocations: 15.92 kB / 1.352 GB, free: 9.867 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.3299, allocations: 124.8 kB / 1.352 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.3299, allocations: 22.56 kB / 1.352 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.3299, allocations: 12.86 kB / 1.352 GB, free: 9.656 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.3301, allocations: 19.98 kB / 1.352 GB, free: 9.637 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3302, allocations: 34.56 kB / 1.352 GB, free: 9.594 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.3302, allocations: 0 / 1.352 GB, free: 9.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.3303, allocations: 53.58 kB / 1.352 GB, free: 9.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.3303, allocations: 51.41 kB / 1.352 GB, free: 9.473 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.3304, allocations: 105.9 kB / 1.352 GB, free: 9.359 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3304, allocations: 25.7 kB / 1.352 GB, free: 9.328 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.3305, allocations: 80.14 kB / 1.352 GB, free: 9.246 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.3305, allocations: 3.984 kB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.3305, allocations: 21.8 kB / 1.352 GB, free: 9.215 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3306, allocations: 314.8 kB / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.3307, allocations: 4 kB / 1.352 GB, free: 8.895 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-06/0.3307, allocations: 0 / 1.352 GB, free: 8.895 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.3307, allocations: 16.86 kB / 1.352 GB, free: 8.875 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3307, allocations: 0 / 1.352 GB, free: 8.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.625e-05/0.3308, allocations: 45.56 kB / 1.353 GB, free: 8.824 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3308, allocations: 12.09 kB / 1.353 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3308, allocations: 0 / 1.353 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3308, allocations: 0 / 1.353 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.705e-05/0.3308, allocations: 4 kB / 1.353 GB, free: 8.809 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.3309, allocations: 0 / 1.353 GB, free: 8.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.3309, allocations: 3.984 kB / 1.353 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.3309, allocations: 0 / 1.353 GB, free: 8.805 MB / 1.045 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 7.494e-05/0.3309, allocations: 117.8 kB / 1.353 GB, free: 8.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.331, allocations: 7.875 kB / 1.353 GB, free: 8.672 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.3311, allocations: 52.95 kB / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3311, allocations: 0 / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3311, allocations: 3.984 kB / 1.353 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3311, allocations: 0 / 1.353 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.89e-05/0.3312, allocations: 128.6 kB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3312, allocations: 3.938 kB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.3312, allocations: 7.984 kB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3312, allocations: 0 / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.3312, allocations: 0 / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3312, allocations: 0 / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3312, allocations: 4.031 kB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.44e-05/0.3313, allocations: 73.02 kB / 1.353 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.3313, allocations: 4 kB / 1.353 GB, free: 8.332 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.3313, allocations: 3.938 kB / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.3313, allocations: 0 / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-06/0.3313, allocations: 0 / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.3313, allocations: 256 / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.655e-05/0.3314, allocations: 95.3 kB / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3314, allocations: 0 / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00021/0.3316, allocations: 23.94 kB / 1.353 GB, free: 8.211 MB / 1.045 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.0004448/0.332, allocations: 0.6279 MB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.3321, allocations: 19.97 kB / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3321, allocations: 0 / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.3321, allocations: 7.984 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.3323, allocations: 3.984 kB / 1.354 GB, free: 7.52 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.3327, allocations: 161.8 kB / 1.354 GB, free: 7.324 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.333, allocations: 0.6808 MB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.274e-05/0.333, allocations: 11.84 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.3331, allocations: 15.44 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3331, allocations: 0 / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.3541, allocations: 1.774 MB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.81, allocations: 11.88 kB / 1.356 GB, free: 4.957 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.0168604060309]