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.001756/0.001756, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002068/0.002068, allocations: 221 kB / 22.25 MB, free: 5.215 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 8.023 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.014/3.014, allocations: 0.49 GB / 0.7951 GB, free: 33.35 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.002002/0.002002, allocations: 68.33 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3445, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002804/0.3473, allocations: 1.513 MB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.349, allocations: 0.9541 MB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.3491, allocations: 7.938 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.3493, allocations: 39.75 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.894e-05/0.3494, allocations: 23.84 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.3499, allocations: 193.4 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.917e-05/0.35, allocations: 47.73 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.35, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.3501, allocations: 27.86 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.292e-05/0.3501, allocations: 15.88 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.3501, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.3506, allocations: 183.8 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.3506, allocations: 3.938 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.3506, allocations: 19.88 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.3508, allocations: 135.8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3508, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3508, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3508, allocations: 0 / 1.329 GB, free: 14.81 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.0003625/0.3512, allocations: 293.9 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3513, allocations: 12.02 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.945e-05/0.3513, allocations: 110 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/0.3514, allocations: 84.11 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3516, allocations: 197.8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.3517, allocations: 162.9 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.3518, allocations: 150.9 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.024e-05/0.3518, allocations: 109.1 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.3519, allocations: 79.22 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.3519, allocations: 150.6 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-05/0.352, allocations: 154.6 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.3521, allocations: 154.5 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.3524, allocations: 436.9 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.473e-05/0.3525, allocations: 169.1 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.3525, allocations: 88.14 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.3525, allocations: 75.28 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.3526, allocations: 109.8 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3526, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.119e-05/0.3527, allocations: 41.58 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.3527, allocations: 126.7 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3529, allocations: 139.6 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3529, allocations: 25.7 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.353, allocations: 92.12 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.353, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.353, allocations: 21.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3531, allocations: 318.8 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.3532, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.3532, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.078e-05/0.3532, allocations: 28.84 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3532, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001117/0.3533, allocations: 49.59 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3533, allocations: 8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.3533, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3534, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3534, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3534, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.3534, allocations: 3.984 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3534, allocations: 4 kB / 1.332 GB, free: 11.28 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.0001039/0.3535, allocations: 193.1 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.3536, allocations: 112.8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.3536, allocations: 112.8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.131e-05/0.3537, allocations: 184.2 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.156e-05/0.3538, allocations: 180.2 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.068e-05/0.3538, allocations: 184.3 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.3541, allocations: 384.2 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.744e-05/0.3541, allocations: 108.9 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.3542, allocations: 105 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.342e-05/0.3543, allocations: 180.2 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/0.3543, allocations: 180.3 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-05/0.3544, allocations: 188.2 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.546e-05/0.3545, allocations: 180.2 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.3546, allocations: 311.7 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.3547, allocations: 112.9 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/0.3548, allocations: 188.2 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.3548, allocations: 101 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.3549, allocations: 184.2 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.355, allocations: 104.9 kB / 1.335 GB, free: 7.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.715e-05/0.355, allocations: 101 kB / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.355, allocations: 0 / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002756/0.3553, allocations: 35.88 kB / 1.336 GB, free: 7.715 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.0005848/0.3559, allocations: 0.8515 MB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.547e-05/0.356, allocations: 37.64 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.356, allocations: 0 / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.356, allocations: 0 / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.3565, allocations: 469 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3577, allocations: 1.459 MB / 1.338 GB, free: 4.793 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.358, allocations: 0.6846 MB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.358, allocations: 8.031 kB / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.3581, allocations: 11.44 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3581, allocations: 0 / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.3885, allocations: 2.831 MB / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.59, allocations: 15.2 kB / 1.342 GB, free: 1.371 MB / 1.029 GB " [Timeout remaining time 288] (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.99143483606167]