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.001216/0.001216, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001357/0.001357, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.349/1.349, allocations: 230.6 MB / 256.8 MB, free: 8 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.943/2.943, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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.001968/0.001968, allocations: 69.62 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3077, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002662/0.3103, allocations: 1.51 MB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3117, allocations: 0.9541 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.3118, allocations: 3.938 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.312, allocations: 39.81 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.312, allocations: 19.8 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.3125, allocations: 189.2 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.3126, allocations: 47.73 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.3127, allocations: 7.984 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.3128, allocations: 23.86 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.107e-05/0.3128, allocations: 15.88 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.3128, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.3132, allocations: 187.7 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.3132, allocations: 3.938 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.3133, allocations: 19.88 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.3135, allocations: 131.8 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3135, allocations: 0 / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3135, allocations: 0 / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3135, allocations: 0 / 1.33 GB, free: 14.82 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.000363/0.3139, allocations: 297.9 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3139, allocations: 12.03 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.954e-05/0.314, allocations: 79.47 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.314, allocations: 110 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.3141, allocations: 84.17 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.3143, allocations: 207.6 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/0.3144, allocations: 150.9 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.3145, allocations: 150.9 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.057e-05/0.3145, allocations: 112.9 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.3146, allocations: 75.28 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.3146, allocations: 154.6 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/0.3147, allocations: 150.6 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.3147, allocations: 154.5 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.3151, allocations: 440.9 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.3151, allocations: 169.1 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.3152, allocations: 84.14 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.3152, allocations: 79.22 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.3153, allocations: 117.8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3153, allocations: 3.938 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.548e-05/0.3154, allocations: 29.66 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.3154, allocations: 126.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3156, allocations: 137.7 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.3156, allocations: 25.7 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.3156, allocations: 88.14 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.3156, allocations: 0 / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.3157, allocations: 25.7 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3158, allocations: 314.8 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.3158, allocations: 4 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.3158, allocations: 7.984 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.3159, allocations: 20.83 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3159, allocations: 0 / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001128/0.316, allocations: 49.59 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.316, allocations: 5.406 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.316, allocations: 8.047 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.316, allocations: 4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.316, allocations: 3.938 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.316, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.3161, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3161, allocations: 0 / 1.333 GB, free: 11.21 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.0001019/0.3162, allocations: 189.1 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.3162, allocations: 116.8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.3163, allocations: 120.7 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.778e-05/0.3164, allocations: 180.3 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.93e-05/0.3164, allocations: 180.2 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-05/0.3165, allocations: 176.3 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.3168, allocations: 392.2 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-05/0.3168, allocations: 105 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.3168, allocations: 105 kB / 1.335 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.237e-05/0.3169, allocations: 184.2 kB / 1.335 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/0.317, allocations: 180.3 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.886e-05/0.317, allocations: 180.2 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.828e-05/0.3171, allocations: 180.3 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.3173, allocations: 319.6 kB / 1.336 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.3173, allocations: 108.9 kB / 1.336 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.3174, allocations: 184.2 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.3175, allocations: 105 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.3176, allocations: 184.2 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.3176, allocations: 101 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.444e-05/0.3177, allocations: 104.8 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3177, allocations: 0 / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002974/0.318, allocations: 35.86 kB / 1.336 GB, free: 7.645 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.0005914/0.3186, allocations: 0.8631 MB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.3187, allocations: 29.7 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3187, allocations: 0 / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.3187, allocations: 0 / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.3191, allocations: 475.6 kB / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3204, allocations: 1.462 MB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3207, allocations: 0.6845 MB / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.3207, allocations: 0 / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3207, allocations: 19.42 kB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.3207, allocations: 0 / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.3431, allocations: 2.863 MB / 1.343 GB, free: 1.277 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.79, allocations: 7.531 kB / 1.343 GB, free: 1.273 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: 16.962980111013167]