Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.001772/0.001772, allocations: 101.5 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.002162/0.002162, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.638/2.638, allocations: 476.8 MB / 0.7715 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.001994/0.001994, allocations: 63.09 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.296, allocations: 170 MB / 1.284 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002995/0.299, allocations: 1.607 MB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3007, allocations: 0.9596 MB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.3007, allocations: 7.938 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.301, allocations: 63.7 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.3015, allocations: 147.2 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.025e-05/0.3015, allocations: 11.98 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000475/0.302, allocations: 369.7 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.35e-05/0.302, allocations: 12.94 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.3023, allocations: 151.3 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.3026, allocations: 147.3 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.3026, allocations: 16 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.13e-05/0.3026, allocations: 16 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.3027, allocations: 47.77 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3029, allocations: 123.2 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.3032, allocations: 302.2 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3032, allocations: 0 / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3032, allocations: 0 / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.3032, allocations: 4 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001149/0.3043, allocations: 0.5627 MB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3044, allocations: 8.031 kB / 1.289 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.733e-05/0.3044, allocations: 8.188 kB / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.3044, allocations: 30.75 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.3045, allocations: 32.75 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.305, allocations: 336.7 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-06/0.305, allocations: 384 / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.3051, allocations: 4.375 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.3052, allocations: 104.9 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3052, allocations: 4 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3052, allocations: 0 / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3052, allocations: 0 / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3054, allocations: 71.86 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.3058, allocations: 319.2 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3059, allocations: 110.4 kB / 1.29 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.306, allocations: 63.39 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.306, allocations: 11.92 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.306, allocations: 42.5 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.306, allocations: 0 / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003446/0.3064, allocations: 185.2 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.3065, allocations: 132.5 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006296/0.3071, allocations: 0.5137 MB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3071, allocations: 25.7 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.3073, allocations: 164.1 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.3073, allocations: 19.89 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.3073, allocations: 17.72 kB / 1.291 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3075, allocations: 342.8 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.3076, allocations: 35.97 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.3076, allocations: 59.33 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3078, allocations: 103.4 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3078, allocations: 0 / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002202/0.308, allocations: 153.2 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.308, allocations: 8 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.308, allocations: 4.125 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.308, allocations: 0 / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3082, allocations: 11.98 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3082, allocations: 0 / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3083, allocations: 15.92 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.3083, allocations: 3.938 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001676/0.3085, allocations: 183 kB / 1.292 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.3085, allocations: 39.7 kB / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.3089, allocations: 187.8 kB / 1.292 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3089, allocations: 0 / 1.292 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3089, allocations: 0 / 1.292 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3089, allocations: 7.984 kB / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.3092, allocations: 268.6 kB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3092, allocations: 3.938 kB / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3093, allocations: 23.92 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3093, allocations: 4 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3093, allocations: 8.125 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3093, allocations: 0 / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3093, allocations: 4 kB / 1.292 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.3096, allocations: 199.3 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.3097, allocations: 67.61 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.3097, allocations: 8 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.3099, allocations: 11.98 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.3099, allocations: 7.984 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3099, allocations: 4 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004696/0.3104, allocations: 395 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3104, allocations: 0 / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002474/0.3106, allocations: 36 kB / 1.293 GB, free: 2.398 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.0005483/0.3112, allocations: 0.738 MB / 1.293 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.3114, allocations: 83.88 kB / 1.294 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3114, allocations: 4.25 kB / 1.294 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.3114, allocations: 47.89 kB / 1.294 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3118, allocations: 57.56 kB / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.3157, allocations: 3.182 MB / 1.297 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.3162, allocations: 0.8143 MB / 1.298 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.3163, allocations: 54.25 kB / 1.298 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.3165, allocations: 83.39 kB / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.3165, allocations: 0 / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.3445, allocations: 6.827 MB / 1.304 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.55, allocations: 7.609 kB / 1.304 GB, free: 6.531 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.920732198981568]