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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002587/0.002587, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.886/2.886, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.97 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3117, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002318/0.314, allocations: 1.298 MB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003874/0.3179, allocations: 3.756 MB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.318, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.318, allocations: 3.984 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.3185, allocations: 103.4 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.3188, allocations: 131.6 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.008e-05/0.3189, allocations: 31.86 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.3189, allocations: 3.984 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.319, allocations: 19.92 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.448e-05/0.3191, allocations: 39.89 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.3191, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.3195, allocations: 307.6 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.3195, allocations: 0 / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.3196, allocations: 11.94 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.3198, allocations: 128 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3198, allocations: 0 / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3198, allocations: 0 / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3198, allocations: 0 / 1.069 GB, free: 8.656 MB / 0.8262 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.0003608/0.3202, allocations: 355.4 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3202, allocations: 8.031 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.3203, allocations: 30.75 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.3203, allocations: 4.922 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.683e-05/0.3204, allocations: 176.3 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3204, allocations: 4.375 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.3204, allocations: 384 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.48e-05/0.3205, allocations: 37.58 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.3205, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.3205, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3205, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.3206, allocations: 7.984 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.3207, allocations: 149.7 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.87e-05/0.3208, allocations: 34.59 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.3208, allocations: 8.922 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.321, allocations: 101 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3211, allocations: 38.44 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3211, allocations: 0 / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.3212, allocations: 49.78 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.3213, allocations: 51.41 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.3213, allocations: 105.8 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.3213, allocations: 25.7 kB / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.3214, allocations: 80.14 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.3214, allocations: 3.906 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.3214, allocations: 17.72 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.3215, allocations: 310.8 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.3216, allocations: 8.031 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.3216, allocations: 3.984 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/0.3216, allocations: 21.05 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3216, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.046e-05/0.3217, allocations: 45.64 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3217, allocations: 8 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3217, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.3217, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.058e-05/0.3218, allocations: 4 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3218, allocations: 8.078 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.3218, allocations: 0 / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.3218, allocations: 0 / 1.071 GB, free: 6.742 MB / 0.8262 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 6.135e-05/0.3219, allocations: 110.4 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.3219, allocations: 3.938 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.322, allocations: 52.69 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.322, allocations: 4 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.322, allocations: 4.031 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.322, allocations: 0 / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.854e-05/0.3221, allocations: 161.6 kB / 1.071 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3222, allocations: 3.938 kB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.3222, allocations: 4 kB / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3222, allocations: 0 / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.3222, allocations: 0 / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3222, allocations: 0 / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3222, allocations: 0 / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.5e-05/0.3223, allocations: 77 kB / 1.071 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.3223, allocations: 84.98 kB / 1.071 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.3224, allocations: 4 kB / 1.071 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.3224, allocations: 0 / 1.071 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.3224, allocations: 3.984 kB / 1.071 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.3224, allocations: 0 / 1.071 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.3224, allocations: 83.28 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3224, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002052/0.3227, allocations: 24 kB / 1.072 GB, free: 6.031 MB / 0.8262 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.000387/0.323, allocations: 0.6358 MB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.739e-05/0.3231, allocations: 8 kB / 1.072 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3231, allocations: 0 / 1.072 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.3232, allocations: 4.094 kB / 1.072 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.3234, allocations: 13.88 kB / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.3237, allocations: 165.3 kB / 1.072 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.324, allocations: 0.6729 MB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.324, allocations: 11.98 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.324, allocations: 7.438 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.324, allocations: 0 / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.3428, allocations: 1.63 MB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/7.991, allocations: 15.09 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/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) Reference file matches