Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001279/0.001279, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001955/0.001955, allocations: 218.6 kB / 22.26 MB, free: 5.125 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.98 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 3.208/3.208, allocations: 0.505 GB / 0.8101 GB, free: 21.96 MB / 0.6231 GB " [Timeout remaining time 176] 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.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_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.00221/0.00221, allocations: 70.42 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3461, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002932/0.349, allocations: 1.513 MB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3505, allocations: 0.9623 MB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.3505, allocations: 0 / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.3507, allocations: 43.77 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.769e-05/0.3508, allocations: 15.86 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.3513, allocations: 196.7 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.842e-05/0.3514, allocations: 47.73 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.3514, allocations: 8 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.3515, allocations: 19.88 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.3515, allocations: 19.86 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.3515, allocations: 0 / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.3519, allocations: 183.8 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.352, allocations: 0 / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.352, allocations: 23.81 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.3522, allocations: 127.8 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3522, allocations: 4 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3522, allocations: 0 / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.3522, allocations: 7.984 kB / 1.356 GB, free: 5.25 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000363/0.3526, allocations: 293.9 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3526, allocations: 12.03 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.804e-05/0.3527, allocations: 106 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.3528, allocations: 80.17 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.353, allocations: 203.1 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/0.3531, allocations: 154.9 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.3531, allocations: 158.9 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.052e-05/0.3532, allocations: 105.1 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.3532, allocations: 75.28 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.3533, allocations: 158.5 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.3534, allocations: 154.6 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.3534, allocations: 154.6 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.3537, allocations: 440.9 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3539, allocations: 169.1 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.354, allocations: 84.08 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.99e-05/0.3541, allocations: 83.27 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.3542, allocations: 113.8 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3542, allocations: 3.938 kB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.969e-05/0.3543, allocations: 33.66 kB / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.3543, allocations: 126.7 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3545, allocations: 135.9 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3545, allocations: 25.7 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.3546, allocations: 92.12 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.3546, allocations: 0 / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3546, allocations: 21.72 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3547, allocations: 314.8 kB / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.3547, allocations: 8 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.3548, allocations: 3.938 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.3548, allocations: 16.86 kB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3548, allocations: 0 / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001232/0.3549, allocations: 53.61 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3549, allocations: 4 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.3549, allocations: 0 / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.355, allocations: 4 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.355, allocations: 0 / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.355, allocations: 0 / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.355, allocations: 7.953 kB / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.355, allocations: 0 / 1.359 GB, free: 1.723 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 (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.0001074/0.3551, allocations: 196.9 kB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.3552, allocations: 116.9 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.3552, allocations: 104.8 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.542e-05/0.3553, allocations: 184.2 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.96e-05/0.3554, allocations: 180.3 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.426e-05/0.3554, allocations: 176.3 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.3557, allocations: 392.2 kB / 1.36 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-05/0.3558, allocations: 108.9 kB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.3558, allocations: 104.9 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.995e-05/0.3559, allocations: 176.3 kB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-05/0.356, allocations: 192.2 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.866e-05/0.356, allocations: 184.2 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.927e-05/0.3561, allocations: 180.3 kB / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.3563, allocations: 307.7 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.3563, allocations: 120.8 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.3564, allocations: 176.3 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.3565, allocations: 109 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.3566, allocations: 184.2 kB / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.3566, allocations: 101 kB / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.909e-05/0.3567, allocations: 105 kB / 1.362 GB, free: 14.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3567, allocations: 0 / 1.362 GB, free: 14.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000318/0.357, allocations: 35.81 kB / 1.362 GB, free: 14.16 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 (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.0005815/0.3576, allocations: 0.8553 MB / 1.363 GB, free: 13.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.3577, allocations: 41.69 kB / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3577, allocations: 0 / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.3577, allocations: 0 / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.3582, allocations: 463.8 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3595, allocations: 1.468 MB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3598, allocations: 0.6807 MB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.3598, allocations: 7.984 kB / 1.366 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.3598, allocations: 11.44 kB / 1.366 GB, free: 10.5 MB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/0.3598, allocations: 4.031 kB / 1.366 GB, free: 10.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3893, allocations: 2.838 MB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.16, allocations: 5.219 kB / 1.369 GB, free: 7.824 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.902166802000465]