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.001757/0.001757, allocations: 108 kB / 16.45 MB, free: 6.5 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.002061/0.002061, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.394/1.394, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.013/3.013, allocations: 0.49 GB / 0.7916 GB, free: 33.24 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.002082/0.002082, allocations: 67.67 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003347/0.3366, allocations: 1.504 MB / 1.322 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3383, allocations: 0.9463 MB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.3384, allocations: 7.938 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.3386, allocations: 31.83 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.3386, allocations: 27.78 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.3393, allocations: 196.8 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.3394, allocations: 47.73 kB / 1.324 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.3394, allocations: 0 / 1.324 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.3395, allocations: 23.92 kB / 1.324 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.345e-05/0.3396, allocations: 15.88 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.3396, allocations: 0 / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.34, allocations: 187.7 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.34, allocations: 7.938 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.3401, allocations: 19.88 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.3404, allocations: 131.8 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3404, allocations: 0 / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3404, allocations: 3.938 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3404, allocations: 0 / 1.324 GB, free: 188 kB / 1.014 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.0004916/0.3409, allocations: 375 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3409, allocations: 11.98 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.765e-05/0.341, allocations: 106 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.3411, allocations: 88.17 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.3414, allocations: 259.5 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.3415, allocations: 154.9 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.3416, allocations: 158.9 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.97e-05/0.3416, allocations: 113 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.3417, allocations: 75.28 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.3418, allocations: 154.6 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.42e-05/0.3418, allocations: 150.6 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.3419, allocations: 150.6 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.3423, allocations: 465.9 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3424, allocations: 173.1 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.3424, allocations: 84.12 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.3425, allocations: 79.28 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.419e-05/0.3425, allocations: 109.8 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3425, allocations: 0 / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.605e-05/0.3426, allocations: 41.59 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.3427, allocations: 130.7 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3429, allocations: 128 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3429, allocations: 25.7 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.343, allocations: 96.12 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.343, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.343, allocations: 13.72 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3432, allocations: 318.8 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.3432, allocations: 12 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.3432, allocations: 4 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.3433, allocations: 8.859 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3433, allocations: 0 / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/0.3434, allocations: 57.52 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3434, allocations: 4 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.3434, allocations: 4 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3434, allocations: 0 / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3434, allocations: 0 / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3434, allocations: 3.984 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.3435, allocations: 4.062 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3435, allocations: 4 kB / 1.327 GB, free: 12.45 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.0001232/0.3436, allocations: 185.1 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.3437, allocations: 120.9 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.3438, allocations: 112.7 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.733e-05/0.3438, allocations: 180.3 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-05/0.3439, allocations: 188.2 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.723e-05/0.344, allocations: 184.2 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.3443, allocations: 409.2 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.807e-05/0.3444, allocations: 108.9 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.3444, allocations: 101 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.235e-05/0.3445, allocations: 188.2 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/0.3446, allocations: 188.2 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.322e-05/0.3447, allocations: 176.3 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.819e-05/0.3448, allocations: 180.2 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3449, allocations: 311.7 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3451, allocations: 194 kB / 1.33 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.3451, allocations: 180.3 kB / 1.33 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3453, allocations: 108.9 kB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.3453, allocations: 176.3 kB / 1.33 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.3454, allocations: 108.9 kB / 1.331 GB, free: 8.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.498e-05/0.3455, allocations: 105.4 kB / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3455, allocations: 4 kB / 1.331 GB, free: 8.793 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003061/0.3458, allocations: 31.88 kB / 1.331 GB, free: 8.762 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.0006628/0.3464, allocations: 0.8515 MB / 1.332 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.59e-05/0.3465, allocations: 45.62 kB / 1.332 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3465, allocations: 4.062 kB / 1.332 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3465, allocations: 0 / 1.332 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.347, allocations: 459.7 kB / 1.332 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.3484, allocations: 1.459 MB / 1.333 GB, free: 5.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3488, allocations: 0.6885 MB / 1.334 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.3488, allocations: 3.953 kB / 1.334 GB, free: 5.121 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.3488, allocations: 19.44 kB / 1.334 GB, free: 5.102 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3488, allocations: 0 / 1.334 GB, free: 5.102 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.3763, allocations: 2.765 MB / 1.337 GB, free: 2.492 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/8.151, allocations: 13.94 kB / 1.337 GB, free: 2.48 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.5048060240224]