Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001321/0.001321, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001394/0.001394, allocations: 212 kB / 20.13 MB, free: 2.949 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.997/2.997, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_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.001945/0.001945, allocations: 67.89 kB / 1.165 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9551/0.957, allocations: 179 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002578/0.9596, allocations: 1.604 MB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.9608, allocations: 0.9605 MB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.9609, allocations: 2.031 kB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.9611, allocations: 63.12 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.9615, allocations: 143.2 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.589e-05/0.9616, allocations: 7.734 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.962, allocations: 378.6 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.783e-05/0.962, allocations: 32.53 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.9623, allocations: 158.8 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.9624, allocations: 130.4 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.9625, allocations: 15.75 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.355e-05/0.9625, allocations: 15 kB / 1.344 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.9626, allocations: 54.53 kB / 1.344 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.9627, allocations: 132 kB / 1.344 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.963, allocations: 291.5 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.963, allocations: 0 / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.963, allocations: 5.375 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.963, allocations: 0 / 1.344 GB, free: 13.82 MB / 1.061 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.000957/0.964, allocations: 0.6342 MB / 1.345 GB, free: 13.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.964, allocations: 10.14 kB / 1.345 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.357e-05/0.964, allocations: 5.562 kB / 1.345 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.264e-05/0.964, allocations: 32.78 kB / 1.345 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.9641, allocations: 30.5 kB / 1.345 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.9646, allocations: 395.8 kB / 1.345 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.9646, allocations: 384 / 1.345 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.9646, allocations: 7.125 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.9647, allocations: 104.2 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.9647, allocations: 0 / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.9647, allocations: 1.375 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.9648, allocations: 0 / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.9649, allocations: 71.78 kB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.9652, allocations: 344.8 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.711e-05/0.9653, allocations: 109.9 kB / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.12e-05/0.9653, allocations: 58.34 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.9654, allocations: 9.406 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.9654, allocations: 40.58 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.9654, allocations: 0.6875 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003471/0.9657, allocations: 189.6 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.9658, allocations: 132.1 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/0.9663, allocations: 0.5152 MB / 1.347 GB, free: 11.9 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.9664, allocations: 33.64 kB / 1.347 GB, free: 11.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.9664, allocations: 164.1 kB / 1.347 GB, free: 11.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.9665, allocations: 16.39 kB / 1.347 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.9665, allocations: 21.39 kB / 1.347 GB, free: 11.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.032e-05/0.9666, allocations: 341.8 kB / 1.347 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.9667, allocations: 34.69 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.83e-05/0.9667, allocations: 56.41 kB / 1.347 GB, free: 11.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.9668, allocations: 104.6 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9668, allocations: 0 / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002043/0.9671, allocations: 155.8 kB / 1.347 GB, free: 11.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.9671, allocations: 10.55 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.9671, allocations: 0 / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9671, allocations: 1.625 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.9672, allocations: 10.33 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.9672, allocations: 1.922 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.9674, allocations: 15.61 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.9674, allocations: 2.016 kB / 1.347 GB, free: 11.18 MB / 1.061 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.000129/0.9675, allocations: 174.2 kB / 1.348 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.9676, allocations: 40.41 kB / 1.348 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.9679, allocations: 193 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9679, allocations: 1.625 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9679, allocations: 1.469 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.9679, allocations: 2.016 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.9682, allocations: 308.5 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.9682, allocations: 5.312 kB / 1.348 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.9683, allocations: 22.83 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.9683, allocations: 5.625 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.9683, allocations: 2.109 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9683, allocations: 0.8125 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.9683, allocations: 2.062 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.9685, allocations: 186 kB / 1.348 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.9686, allocations: 144.6 kB / 1.349 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.9687, allocations: 2.984 kB / 1.349 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.9688, allocations: 14.22 kB / 1.349 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.9688, allocations: 9.797 kB / 1.349 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.9688, allocations: 2.719 kB / 1.349 GB, free: 10.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000434/0.9693, allocations: 401 kB / 1.349 GB, free: 10.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9693, allocations: 0 / 1.349 GB, free: 10.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002619/0.9695, allocations: 37.28 kB / 1.349 GB, free: 10.24 MB / 1.061 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.0003679/0.9699, allocations: 0.7394 MB / 1.35 GB, free: 9.562 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.9701, allocations: 88.06 kB / 1.35 GB, free: 9.539 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9701, allocations: 0 / 1.35 GB, free: 9.539 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.981e-05/0.9702, allocations: 45.72 kB / 1.35 GB, free: 9.527 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.9706, allocations: 63.44 kB / 1.35 GB, free: 9.504 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.9741, allocations: 3.177 MB / 1.353 GB, free: 7.684 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.9743, allocations: 0.817 MB / 1.354 GB, free: 6.969 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.9745, allocations: 56.61 kB / 1.354 GB, free: 6.961 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.9746, allocations: 77.47 kB / 1.354 GB, free: 6.906 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.9746, allocations: 0 / 1.354 GB, free: 6.906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/1.002, allocations: 6.745 MB / 1.361 GB, free: 6.254 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.046/10.05, allocations: 11.38 kB / 1.361 GB, free: 6.25 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.43675027997233]