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.001806/0.001806, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002367/0.002367, allocations: 219.8 kB / 22.25 MB, free: 5.102 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.793 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.016/3.016, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.001938/0.001938, allocations: 66.83 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3187, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003085/0.3218, allocations: 1.487 MB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3233, allocations: 0.8529 MB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.936e-05/0.3234, allocations: 3.938 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3236, allocations: 39.83 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.3236, allocations: 15.84 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.3242, allocations: 195.7 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.3243, allocations: 51.66 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.3244, allocations: 15.89 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.152e-05/0.3244, allocations: 11.94 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.005e-05/0.3245, allocations: 19.88 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.3245, allocations: 4 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.3249, allocations: 183.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.3249, allocations: 3.938 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.325, allocations: 19.91 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3252, allocations: 131.8 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3252, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3252, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3252, allocations: 4 kB / 1.329 GB, free: 14.45 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.0003741/0.3256, allocations: 297.9 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3256, allocations: 8.031 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.3257, allocations: 114 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.303e-05/0.3258, allocations: 84.17 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.326, allocations: 197.8 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.3261, allocations: 150.9 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.3262, allocations: 154.9 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.286e-05/0.3263, allocations: 113 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.3263, allocations: 75.28 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.3264, allocations: 150.6 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/0.3264, allocations: 154.6 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.302e-05/0.3265, allocations: 150.6 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.3268, allocations: 440.9 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3269, allocations: 181 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.327, allocations: 84.14 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.327, allocations: 75.28 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.3271, allocations: 109.8 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3271, allocations: 0 / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.065e-05/0.3271, allocations: 33.66 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.3272, allocations: 134.6 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3274, allocations: 135.9 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3274, allocations: 25.7 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.3275, allocations: 88.14 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.3275, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3275, allocations: 17.72 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3276, allocations: 318.8 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.3277, allocations: 4 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.3277, allocations: 4 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.3277, allocations: 12.86 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3277, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001272/0.3278, allocations: 57.52 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3279, allocations: 4 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.3279, allocations: 4.062 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3279, allocations: 7.938 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3279, allocations: 0 / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3279, allocations: 0 / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.3279, allocations: 0 / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3279, allocations: 4 kB / 1.332 GB, free: 10.92 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.0001146/0.328, allocations: 189.1 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.3281, allocations: 112.9 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.377e-05/0.3282, allocations: 116.7 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.76e-05/0.3283, allocations: 176.3 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.663e-05/0.3283, allocations: 180.2 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.35e-05/0.3284, allocations: 188.2 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3287, allocations: 384.3 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/0.3287, allocations: 108.9 kB / 1.333 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.3288, allocations: 101 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.453e-05/0.3289, allocations: 180.2 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/0.3289, allocations: 188.2 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.89e-05/0.329, allocations: 184.2 kB / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.378e-05/0.3291, allocations: 188.2 kB / 1.334 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.3293, allocations: 303.8 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.3293, allocations: 120.8 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-05/0.3294, allocations: 180.3 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.3295, allocations: 108.9 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3296, allocations: 180.2 kB / 1.335 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.3297, allocations: 101 kB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.952e-05/0.3298, allocations: 109.1 kB / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3298, allocations: 0 / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003054/0.3301, allocations: 31.88 kB / 1.335 GB, free: 7.359 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.0006152/0.3307, allocations: 0.8554 MB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.613e-05/0.3308, allocations: 33.7 kB / 1.336 GB, free: 6.438 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3308, allocations: 4.062 kB / 1.336 GB, free: 6.434 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.3308, allocations: 3.938 kB / 1.336 GB, free: 6.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.3312, allocations: 459.7 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3326, allocations: 1.461 MB / 1.338 GB, free: 4.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.08e-05/0.3327, allocations: 71.33 kB / 1.338 GB, free: 4.348 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.3327, allocations: 8.062 kB / 1.338 GB, free: 4.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.3327, allocations: 15.44 kB / 1.338 GB, free: 4.324 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/0.3327, allocations: 0 / 1.338 GB, free: 4.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.3622, allocations: 3.317 MB / 1.341 GB, free: 1.164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.19, allocations: 13.05 kB / 1.341 GB, free: 1.156 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable x in file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.60276342299767]