Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001461/0.001461, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001424/0.001424, allocations: 186 kB / 20.71 MB, free: 1.484 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.328/1.328, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 443.5 MB / 0.7304 GB, free: 14.15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.91 kB / 1.059 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2588, allocations: 160.7 MB / 1.216 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002334/0.2611, allocations: 1.3 MB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004405/0.2655, allocations: 3.826 MB / 1.221 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.2656, allocations: 0 / 1.221 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.2656, allocations: 0 / 1.221 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.266, allocations: 111.4 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.2664, allocations: 135.5 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.2664, allocations: 27.86 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.031e-05/0.2665, allocations: 0 / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.822e-05/0.2665, allocations: 31.84 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.847e-05/0.2666, allocations: 31.97 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.2666, allocations: 0 / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.2671, allocations: 319.5 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.2671, allocations: 3.984 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.2672, allocations: 7.938 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.2674, allocations: 119.9 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2674, allocations: 0 / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2674, allocations: 0 / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2674, allocations: 0 / 1.221 GB, free: 10.04 MB / 0.9669 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.0003991/0.2678, allocations: 359.1 kB / 1.222 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2678, allocations: 11.97 kB / 1.222 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.2678, allocations: 34.75 kB / 1.222 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.2679, allocations: 8.891 kB / 1.222 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.268, allocations: 160.4 kB / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.268, allocations: 384 / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.268, allocations: 4.375 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.2681, allocations: 41.5 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2681, allocations: 0 / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.2681, allocations: 4 kB / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.2681, allocations: 4 kB / 1.222 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.2681, allocations: 8 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.2683, allocations: 149.7 kB / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.941e-05/0.2684, allocations: 22.58 kB / 1.222 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.2684, allocations: 8.922 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.2686, allocations: 105 kB / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.2686, allocations: 34.5 kB / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2686, allocations: 0 / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.2688, allocations: 45.66 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.2688, allocations: 51.41 kB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.2689, allocations: 105.8 kB / 1.222 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.2689, allocations: 25.7 kB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.2689, allocations: 84.27 kB / 1.223 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.269, allocations: 7.953 kB / 1.223 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.269, allocations: 17.7 kB / 1.223 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2691, allocations: 310.8 kB / 1.223 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.2691, allocations: 4 kB / 1.223 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.2691, allocations: 4 kB / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.2692, allocations: 16.8 kB / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2692, allocations: 0 / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.564e-05/0.2692, allocations: 49.69 kB / 1.223 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2693, allocations: 10.19 kB / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2693, allocations: 0 / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2693, allocations: 0 / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-05/0.2693, allocations: 4 kB / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2693, allocations: 0 / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.2693, allocations: 3.938 kB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.2694, allocations: 0 / 1.223 GB, free: 8.129 MB / 0.9669 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.463e-05/0.2694, allocations: 109.8 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.2694, allocations: 7.969 kB / 1.223 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.2695, allocations: 53 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2695, allocations: 3.984 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2695, allocations: 4 kB / 1.223 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2696, allocations: 0 / 1.223 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.2697, allocations: 157.6 kB / 1.223 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2697, allocations: 3.938 kB / 1.223 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.2697, allocations: 4 kB / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2697, allocations: 3.984 kB / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.2697, allocations: 4.031 kB / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2697, allocations: 0 / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2697, allocations: 0 / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.59e-05/0.2698, allocations: 69.03 kB / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.2698, allocations: 88.97 kB / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.2699, allocations: 4 kB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.651e-05/0.2699, allocations: 4 kB / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-06/0.2699, allocations: 4.031 kB / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.2699, allocations: 0 / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.2699, allocations: 79.28 kB / 1.224 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.2699, allocations: 0 / 1.224 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000201/0.2701, allocations: 27.92 kB / 1.224 GB, free: 7.406 MB / 0.9669 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.0004635/0.2706, allocations: 0.6435 MB / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.427e-05/0.2707, allocations: 4 kB / 1.224 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2707, allocations: 0 / 1.224 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.2707, allocations: 4 kB / 1.224 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.2709, allocations: 14.39 kB / 1.224 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.2713, allocations: 161.3 kB / 1.224 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.2715, allocations: 0.6807 MB / 1.225 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.478e-05/0.2716, allocations: 4 kB / 1.225 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.2716, allocations: 11.38 kB / 1.225 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.2716, allocations: 0 / 1.225 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.2961, allocations: 1.62 MB / 1.227 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.317, allocations: 16.06 kB / 1.227 GB, free: 4.246 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.596981183996832]