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.00127/0.00127, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001437/0.001437, allocations: 215.7 kB / 23.04 MB, free: 5.078 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.947/2.947, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 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.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.001874/0.001874, allocations: 62.33 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3293, allocations: 179 MB / 1.345 GB, free: 404 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002587/0.3319, allocations: 1.52 MB / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3333, allocations: 0.9501 MB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.3334, allocations: 3.938 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.3335, allocations: 47.75 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.831e-05/0.3336, allocations: 15.86 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.3341, allocations: 194.4 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.3342, allocations: 47.73 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.3342, allocations: 4 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.3343, allocations: 23.88 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.3343, allocations: 19.84 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3343, allocations: 4 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.3347, allocations: 171.8 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.3348, allocations: 7.984 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.3348, allocations: 19.88 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.335, allocations: 127.8 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.335, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/0.335, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.335, allocations: 0 / 1.348 GB, free: 13.23 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.0003583/0.3354, allocations: 305.8 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3354, allocations: 8.031 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.137e-05/0.3355, allocations: 79.47 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.3355, allocations: 110 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.3356, allocations: 84.17 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3358, allocations: 201.7 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.3359, allocations: 150.9 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.336, allocations: 154.9 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.356e-05/0.336, allocations: 116.9 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.3361, allocations: 79.28 kB / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/0.3361, allocations: 150.6 kB / 1.35 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.585e-05/0.3362, allocations: 154.5 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.039e-05/0.3362, allocations: 154.5 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.3365, allocations: 440.9 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.3366, allocations: 165.1 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.3367, allocations: 80.14 kB / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.3367, allocations: 91.16 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.3368, allocations: 105.8 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 4.489e-06/0.3368, allocations: 7.984 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.696e-05/0.3368, allocations: 33.66 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.3369, allocations: 126.7 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.337, allocations: 135.3 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3371, allocations: 25.7 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.3371, allocations: 92.12 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.3371, allocations: 3.938 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.3371, allocations: 17.72 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3373, allocations: 318.8 kB / 1.352 GB, free: 9.719 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.3373, allocations: 8 kB / 1.352 GB, free: 9.711 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.3373, allocations: 7.938 kB / 1.352 GB, free: 9.703 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.3373, allocations: 12.86 kB / 1.352 GB, free: 9.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3373, allocations: 0 / 1.352 GB, free: 9.688 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/0.3375, allocations: 53.58 kB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3375, allocations: 4 kB / 1.352 GB, free: 9.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.3375, allocations: 4 kB / 1.352 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3375, allocations: 0 / 1.352 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.3375, allocations: 64 / 1.352 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3375, allocations: 4 kB / 1.352 GB, free: 9.617 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.3375, allocations: 3.953 kB / 1.352 GB, free: 9.613 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.3375, allocations: 4 kB / 1.352 GB, free: 9.609 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.0001025/0.3376, allocations: 181.1 kB / 1.352 GB, free: 9.422 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.3377, allocations: 112.9 kB / 1.352 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.3378, allocations: 120.6 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.3e-05/0.3378, allocations: 184.2 kB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.021e-05/0.3379, allocations: 176.3 kB / 1.352 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.839e-05/0.338, allocations: 180.3 kB / 1.353 GB, free: 8.621 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.3382, allocations: 396.2 kB / 1.353 GB, free: 8.184 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.317e-05/0.3383, allocations: 101 kB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.3383, allocations: 108.9 kB / 1.353 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.137e-05/0.3384, allocations: 184.2 kB / 1.353 GB, free: 7.777 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.3385, allocations: 180.3 kB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.05e-05/0.3385, allocations: 184.2 kB / 1.354 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.995e-05/0.3386, allocations: 180.3 kB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.3388, allocations: 315.7 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.3388, allocations: 112.9 kB / 1.354 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/0.3389, allocations: 180.2 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.339, allocations: 105 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.339, allocations: 180.2 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.3391, allocations: 105 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.689e-05/0.3392, allocations: 104.8 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3392, allocations: 0 / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002752/0.3394, allocations: 35.88 kB / 1.355 GB, free: 6.051 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 (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.0005674/0.34, allocations: 0.8553 MB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.318e-05/0.3401, allocations: 41.69 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3401, allocations: 0 / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3401, allocations: 3.938 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.3405, allocations: 463.7 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.3418, allocations: 1.467 MB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3421, allocations: 0.6883 MB / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.3421, allocations: 3.984 kB / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.3421, allocations: 15.44 kB / 1.358 GB, free: 2.379 MB / 1.045 GB Notification: Performance of SimCode: time 2.71e-07/0.3421, allocations: 0 / 1.358 GB, free: 2.379 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.3641, allocations: 2.87 MB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.76, allocations: 4.062 kB / 1.361 GB, free: 15.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.97180540097179]