Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001503/0.001503, allocations: 104.4 kB / 16.45 MB, free: 6.395 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.001642/0.001642, allocations: 218.3 kB / 19.43 MB, free: 3.727 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: 8.969 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.05/3.05, allocations: 0.49 GB / 0.7916 GB, free: 33.44 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.SingleUTubeResistances,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.001939/0.001939, allocations: 72.61 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3382, allocations: 176.1 MB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002715/0.3409, allocations: 1.5 MB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.3423, allocations: 0.9502 MB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.3424, allocations: 0 / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.3426, allocations: 39.77 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.46e-05/0.3426, allocations: 23.84 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.3432, allocations: 194.1 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3433, allocations: 47.73 kB / 1.324 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.3433, allocations: 7.984 kB / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.3434, allocations: 27.86 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.3434, allocations: 15.86 kB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3435, allocations: 4 kB / 1.324 GB, free: 488 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.3439, allocations: 175.8 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.3439, allocations: 7.938 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.3439, allocations: 23.88 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3441, allocations: 123.8 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3441, allocations: 0 / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3441, allocations: 0 / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3441, allocations: 4 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004326/0.3446, allocations: 375 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3446, allocations: 11.98 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/0.3447, allocations: 110 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.134e-05/0.3448, allocations: 84.17 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.345, allocations: 273.7 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/0.3451, allocations: 150.9 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.3452, allocations: 150.9 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.927e-05/0.3452, allocations: 105.1 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.3453, allocations: 79.22 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.3453, allocations: 158.5 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-05/0.3454, allocations: 158.6 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.242e-05/0.3455, allocations: 150.6 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.3459, allocations: 465.9 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.346, allocations: 169.1 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.346, allocations: 80.14 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.3461, allocations: 79.22 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.98e-05/0.3461, allocations: 109.8 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.3461, allocations: 0 / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.615e-05/0.3462, allocations: 37.64 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.3463, allocations: 130.7 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3464, allocations: 133.8 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3464, allocations: 25.7 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.3465, allocations: 88.14 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.3465, allocations: 0 / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.3465, allocations: 21.7 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3467, allocations: 314.8 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.3467, allocations: 4 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-05/0.3467, allocations: 11.94 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.3467, allocations: 16.84 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3467, allocations: 0 / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000132/0.3469, allocations: 49.59 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3469, allocations: 6.188 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.3469, allocations: 0 / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3469, allocations: 4 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.3469, allocations: 48 / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3469, allocations: 3.984 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.3469, allocations: 7.984 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3469, allocations: 4.062 kB / 1.327 GB, free: 12.41 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001082/0.347, allocations: 192 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/0.3471, allocations: 120.9 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.3472, allocations: 104.9 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.583e-05/0.3472, allocations: 184.2 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.738e-05/0.3473, allocations: 184.3 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.081e-05/0.3474, allocations: 180.3 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.3477, allocations: 421 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-05/0.3477, allocations: 104.9 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.3477, allocations: 108.9 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.49e-05/0.3478, allocations: 176.3 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.3479, allocations: 188.3 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.148e-05/0.348, allocations: 180.2 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.932e-05/0.348, allocations: 176.3 kB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3482, allocations: 311.7 kB / 1.33 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.3483, allocations: 197.9 kB / 1.33 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.3484, allocations: 176.3 kB / 1.33 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.3485, allocations: 109 kB / 1.33 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.3485, allocations: 184.2 kB / 1.33 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.3486, allocations: 101 kB / 1.331 GB, free: 8.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.554e-05/0.3487, allocations: 99.27 kB / 1.331 GB, free: 8.766 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3487, allocations: 0 / 1.331 GB, free: 8.766 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002942/0.349, allocations: 43.86 kB / 1.331 GB, free: 8.723 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 (0): * Single equations (assignments): 0 * 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.000606/0.3496, allocations: 0.8592 MB / 1.332 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.575e-05/0.3497, allocations: 33.7 kB / 1.332 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3497, allocations: 4.062 kB / 1.332 GB, free: 7.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.3497, allocations: 0 / 1.332 GB, free: 7.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.3501, allocations: 465.7 kB / 1.332 GB, free: 7.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3514, allocations: 1.455 MB / 1.333 GB, free: 5.805 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.3517, allocations: 0.6846 MB / 1.334 GB, free: 5.094 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.3517, allocations: 7.906 kB / 1.334 GB, free: 5.086 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.3518, allocations: 15.42 kB / 1.334 GB, free: 5.07 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3518, allocations: 0 / 1.334 GB, free: 5.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.3788, allocations: 2.765 MB / 1.337 GB, free: 2.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.431, allocations: 15.89 kB / 1.337 GB, free: 2.445 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.85463295597583]