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.001233/0.001233, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00136/0.00136, allocations: 217.5 kB / 23.03 MB, free: 4.918 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 2.964/2.964, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_12_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.001939/0.001939, allocations: 69.53 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3146, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002551/0.3172, allocations: 1.487 MB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3185, allocations: 0.8491 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.3186, allocations: 7.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.3188, allocations: 35.77 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.046e-05/0.3188, allocations: 23.84 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.3193, allocations: 192.4 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.3194, allocations: 51.67 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.3195, allocations: 3.906 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.3195, allocations: 27.86 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.886e-05/0.3196, allocations: 11.88 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.3196, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.32, allocations: 179.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.32, allocations: 11.98 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.32, allocations: 19.81 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3202, allocations: 131.8 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3203, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3203, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3203, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 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.0003564/0.3206, allocations: 293.9 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3207, allocations: 15.97 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.887e-05/0.3207, allocations: 83.39 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.3208, allocations: 106 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.3208, allocations: 84.17 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.321, allocations: 199.6 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.3211, allocations: 154.9 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.3212, allocations: 150.9 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.891e-05/0.3213, allocations: 112.9 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.3213, allocations: 75.28 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/0.3214, allocations: 150.6 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.907e-05/0.3214, allocations: 150.6 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.55e-05/0.3215, allocations: 158.5 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.3218, allocations: 436.9 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.701e-05/0.3219, allocations: 165.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.3219, allocations: 92.14 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.322, allocations: 79.22 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.322, allocations: 113.8 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.322, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.349e-05/0.3221, allocations: 33.66 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.3222, allocations: 126.7 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.3223, allocations: 132 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3223, allocations: 25.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.3224, allocations: 92.12 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.3224, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3224, allocations: 21.72 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3226, allocations: 322.8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.3226, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/0.3226, allocations: 4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.3226, allocations: 20.83 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3226, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000159/0.3228, allocations: 53.58 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3228, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.3228, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3228, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3228, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3228, allocations: 4.062 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.3228, allocations: 7.875 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3229, allocations: 0 / 1.333 GB, free: 10.86 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.0001191/0.323, allocations: 189.1 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.323, allocations: 120.8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.3231, allocations: 108.8 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.53e-05/0.3232, allocations: 184.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.938e-05/0.3233, allocations: 176.3 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/0.3234, allocations: 180.2 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.3236, allocations: 392.2 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-05/0.3237, allocations: 109 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.3237, allocations: 104.9 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.708e-05/0.3238, allocations: 176.3 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-05/0.3239, allocations: 184.2 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.316e-05/0.3239, allocations: 184.2 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.217e-05/0.324, allocations: 180.2 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.3241, allocations: 315.7 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.3242, allocations: 112.9 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.3243, allocations: 184.2 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.3244, allocations: 101 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.3244, allocations: 184.2 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.3245, allocations: 105 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.3246, allocations: 103.2 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3246, allocations: 0 / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002585/0.3248, allocations: 35.88 kB / 1.336 GB, free: 7.293 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.0005731/0.3254, allocations: 0.8554 MB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.3255, allocations: 33.69 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3255, allocations: 0 / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.3255, allocations: 0 / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3259, allocations: 473.3 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.3272, allocations: 1.462 MB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.155e-05/0.3273, allocations: 79.2 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.563e-05/0.3273, allocations: 0 / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.3273, allocations: 15.44 kB / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3273, allocations: 0 / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.3498, allocations: 2.954 MB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.96, allocations: 11.81 kB / 1.342 GB, free: 1.461 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.245463207014836]