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.001605/0.001605, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.00174/0.00174, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.76/2.76, allocations: 0.49 GB / 0.7923 GB, free: 1.445 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.001918/0.001918, allocations: 67.89 kB / 1.15 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8808, allocations: 176.1 MB / 1.321 GB, free: 7.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002871/0.8837, allocations: 1.506 MB / 1.323 GB, free: 6.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.8853, allocations: 0.9469 MB / 1.324 GB, free: 5.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.8853, allocations: 2.094 kB / 1.324 GB, free: 5.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.8855, allocations: 41.75 kB / 1.324 GB, free: 5.402 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.208e-05/0.8856, allocations: 19.2 kB / 1.324 GB, free: 5.387 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.8861, allocations: 195.8 kB / 1.324 GB, free: 5.258 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.8862, allocations: 52.11 kB / 1.324 GB, free: 5.227 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.8863, allocations: 2.188 kB / 1.324 GB, free: 5.227 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.8864, allocations: 21.67 kB / 1.324 GB, free: 5.215 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.858e-05/0.8864, allocations: 10.78 kB / 1.324 GB, free: 5.211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.8864, allocations: 5.062 kB / 1.324 GB, free: 5.207 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.8869, allocations: 183.1 kB / 1.324 GB, free: 5.113 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.8869, allocations: 5.031 kB / 1.324 GB, free: 5.109 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.8869, allocations: 19.44 kB / 1.324 GB, free: 5.098 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.8872, allocations: 135.7 kB / 1.325 GB, free: 5.012 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8872, allocations: 1.188 kB / 1.325 GB, free: 5.012 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8872, allocations: 0 / 1.325 GB, free: 5.012 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.8872, allocations: 0 / 1.325 GB, free: 5.012 MB / 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.000437/0.8876, allocations: 367.1 kB / 1.325 GB, free: 4.625 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.8877, allocations: 17.7 kB / 1.325 GB, free: 4.617 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.029e-05/0.8877, allocations: 80.34 kB / 1.325 GB, free: 4.539 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.8878, allocations: 106 kB / 1.325 GB, free: 4.426 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.8878, allocations: 90.91 kB / 1.325 GB, free: 4.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.8881, allocations: 256.6 kB / 1.325 GB, free: 4.059 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.852e-05/0.8882, allocations: 150.9 kB / 1.326 GB, free: 3.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.411e-05/0.8883, allocations: 156.6 kB / 1.326 GB, free: 3.758 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/0.8884, allocations: 112.9 kB / 1.326 GB, free: 3.641 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.8884, allocations: 75.28 kB / 1.326 GB, free: 3.566 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.8885, allocations: 151.9 kB / 1.326 GB, free: 3.418 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/0.8885, allocations: 158.5 kB / 1.326 GB, free: 3.262 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.485e-05/0.8886, allocations: 150.6 kB / 1.326 GB, free: 3.113 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.8889, allocations: 469.5 kB / 1.327 GB, free: 2.613 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.231e-05/0.889, allocations: 170.3 kB / 1.327 GB, free: 2.438 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/0.8891, allocations: 85.12 kB / 1.327 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.8891, allocations: 79.22 kB / 1.327 GB, free: 2.273 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.8892, allocations: 114.8 kB / 1.327 GB, free: 2.152 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.8892, allocations: 0 / 1.327 GB, free: 2.152 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.041e-05/0.8892, allocations: 33.19 kB / 1.327 GB, free: 2.117 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.8893, allocations: 130.6 kB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.8895, allocations: 134 kB / 1.327 GB, free: 1.859 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.8895, allocations: 29.7 kB / 1.328 GB, free: 1.824 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.8895, allocations: 91.12 kB / 1.328 GB, free: 1.734 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.8895, allocations: 4 kB / 1.328 GB, free: 1.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.8896, allocations: 17.72 kB / 1.328 GB, free: 1.711 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8897, allocations: 313.5 kB / 1.328 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.8897, allocations: 9.328 kB / 1.328 GB, free: 1.391 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.8897, allocations: 3.906 kB / 1.328 GB, free: 1.391 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.8898, allocations: 12.73 kB / 1.328 GB, free: 1.379 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8898, allocations: 0 / 1.328 GB, free: 1.379 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/0.8899, allocations: 54.88 kB / 1.328 GB, free: 1.332 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.8899, allocations: 12.36 kB / 1.328 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.8899, allocations: 6.688 kB / 1.328 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.89, allocations: 0 / 1.328 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.89, allocations: 1.469 kB / 1.328 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.89, allocations: 0 / 1.328 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.89, allocations: 3.938 kB / 1.328 GB, free: 1.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.89, allocations: 5.328 kB / 1.328 GB, free: 1.312 MB / 1.014 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.0001125/0.8901, allocations: 188 kB / 1.328 GB, free: 1.121 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/0.8902, allocations: 115.4 kB / 1.328 GB, free: 1.004 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.487e-05/0.8902, allocations: 114.3 kB / 1.328 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.811e-05/0.8903, allocations: 181.4 kB / 1.329 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.44e-05/0.8904, allocations: 181.7 kB / 1.329 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.762e-05/0.8905, allocations: 181.5 kB / 1.329 GB, free: 340 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.8908, allocations: 415.2 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.993e-05/0.8908, allocations: 114.3 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.8909, allocations: 106.2 kB / 1.33 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-05/0.8909, allocations: 176.3 kB / 1.33 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/0.891, allocations: 181.4 kB / 1.33 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.026e-05/0.8911, allocations: 177.5 kB / 1.33 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.047e-05/0.8912, allocations: 189.7 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.8913, allocations: 309 kB / 1.331 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.8914, allocations: 187.1 kB / 1.331 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.991e-05/0.8915, allocations: 182.6 kB / 1.331 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.8916, allocations: 104.9 kB / 1.331 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.8917, allocations: 181.7 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.8917, allocations: 110.2 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.159e-05/0.8918, allocations: 101.7 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8918, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002977/0.8921, allocations: 38.36 kB / 1.331 GB, free: 13.7 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.0006254/0.8927, allocations: 0.8551 MB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.543e-05/0.8928, allocations: 35.2 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8928, allocations: 3.938 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.8928, allocations: 4.906 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.8933, allocations: 472.5 kB / 1.333 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.8946, allocations: 1.46 MB / 1.334 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.8949, allocations: 0.6798 MB / 1.335 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.065e-05/0.895, allocations: 1.344 kB / 1.335 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.895, allocations: 21.89 kB / 1.335 GB, free: 10.25 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.895, allocations: 4.031 kB / 1.335 GB, free: 10.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.9143, allocations: 2.796 MB / 1.338 GB, free: 8.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.944, allocations: 23.89 kB / 1.338 GB, free: 8.793 MB / 1.029 GB " [Timeout remaining time 291] (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.925061310990714]