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.001457/0.001457, allocations: 118.6 kB / 17.16 MB, free: 5.914 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.001576/0.001576, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.387/1.387, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.818/2.818, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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.00206/0.00206, allocations: 71.88 kB / 1.165 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9103, allocations: 179 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003021/0.9133, allocations: 1.5 MB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.9148, allocations: 0.9422 MB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.9149, allocations: 6.188 kB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.9152, allocations: 39.36 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.9152, allocations: 21.64 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.9159, allocations: 192.2 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.9161, allocations: 47.42 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.9161, allocations: 2.047 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.353e-05/0.9162, allocations: 24.66 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.9162, allocations: 16.98 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.9162, allocations: 5.375 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.9168, allocations: 179 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.9168, allocations: 5.688 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.9168, allocations: 23.58 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.9171, allocations: 128.2 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.9171, allocations: 3.938 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9171, allocations: 0.9375 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.9171, allocations: 0 / 1.343 GB, free: 14.29 MB / 1.061 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.0003492/0.9175, allocations: 367.8 kB / 1.344 GB, free: 13.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.9175, allocations: 14.38 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.04e-05/0.9175, allocations: 79.41 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.34e-05/0.9175, allocations: 110 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.9176, allocations: 87.53 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.9178, allocations: 267.4 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.9178, allocations: 150.9 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.9179, allocations: 157 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.077e-05/0.9179, allocations: 108.9 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.9179, allocations: 75.28 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.918, allocations: 156.5 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.918, allocations: 150.6 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.918, allocations: 158.5 kB / 1.345 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.9182, allocations: 465.7 kB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.9183, allocations: 166.5 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.9183, allocations: 80.94 kB / 1.346 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.9183, allocations: 79.22 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.9183, allocations: 115.8 kB / 1.346 GB, free: 11.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.9183, allocations: 0 / 1.346 GB, free: 11.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.634e-05/0.9184, allocations: 33.06 kB / 1.346 GB, free: 11.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.9184, allocations: 132.1 kB / 1.346 GB, free: 11.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.9185, allocations: 128.8 kB / 1.346 GB, free: 11.17 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.9186, allocations: 25.7 kB / 1.346 GB, free: 11.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.9186, allocations: 101.3 kB / 1.346 GB, free: 11.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.9186, allocations: 0 / 1.346 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.9186, allocations: 14.95 kB / 1.346 GB, free: 11.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.9187, allocations: 319.7 kB / 1.347 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.9187, allocations: 2.234 kB / 1.347 GB, free: 10.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.9187, allocations: 7.438 kB / 1.347 GB, free: 10.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/0.9187, allocations: 14.47 kB / 1.347 GB, free: 10.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9187, allocations: 0 / 1.347 GB, free: 10.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001191/0.9189, allocations: 52.84 kB / 1.347 GB, free: 10.65 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.9189, allocations: 9.641 kB / 1.347 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.9189, allocations: 1.25 kB / 1.347 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9189, allocations: 1.891 kB / 1.347 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.9189, allocations: 0 / 1.347 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.9189, allocations: 1.656 kB / 1.347 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.9189, allocations: 8.688 kB / 1.347 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.919, allocations: 1.406 kB / 1.347 GB, free: 10.64 MB / 1.061 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 5.386e-05/0.919, allocations: 191.2 kB / 1.347 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.919, allocations: 116.9 kB / 1.347 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.9191, allocations: 108.1 kB / 1.347 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.9191, allocations: 185.9 kB / 1.347 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/0.9191, allocations: 177.8 kB / 1.347 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.9192, allocations: 185.6 kB / 1.348 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.9193, allocations: 422.5 kB / 1.348 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.9193, allocations: 101.7 kB / 1.348 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.9193, allocations: 106.8 kB / 1.348 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.681e-05/0.9194, allocations: 182.2 kB / 1.348 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.9194, allocations: 178 kB / 1.349 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-05/0.9194, allocations: 186.9 kB / 1.349 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.673e-05/0.9195, allocations: 181 kB / 1.349 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.739e-05/0.9195, allocations: 314.5 kB / 1.349 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.9196, allocations: 189.5 kB / 1.349 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.9196, allocations: 182.6 kB / 1.35 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.9197, allocations: 103.1 kB / 1.35 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.9197, allocations: 185.3 kB / 1.35 GB, free: 7.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.9197, allocations: 107.2 kB / 1.35 GB, free: 7.137 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.315e-05/0.9198, allocations: 103.1 kB / 1.35 GB, free: 7.055 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9198, allocations: 0 / 1.35 GB, free: 7.055 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003281/0.9201, allocations: 35.83 kB / 1.35 GB, free: 7.047 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.0004437/0.9205, allocations: 0.8585 MB / 1.351 GB, free: 6.219 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.223e-05/0.9206, allocations: 36.53 kB / 1.351 GB, free: 6.184 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9206, allocations: 0 / 1.351 GB, free: 6.184 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-06/0.9206, allocations: 1.062 kB / 1.351 GB, free: 6.184 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.921, allocations: 467.3 kB / 1.351 GB, free: 5.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.922, allocations: 1.463 MB / 1.353 GB, free: 4.359 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.762e-05/0.9221, allocations: 0.6832 MB / 1.353 GB, free: 3.664 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.9221, allocations: 6.266 kB / 1.353 GB, free: 3.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.9221, allocations: 18.17 kB / 1.354 GB, free: 3.648 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.9221, allocations: 4.031 kB / 1.354 GB, free: 3.645 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.9421, allocations: 2.818 MB / 1.356 GB, free: 3.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.836, allocations: 7.938 kB / 1.356 GB, free: 3.23 MB / 1.061 GB " [Timeout remaining time 291] (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: 14.929984245041851]