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.001423/0.001423, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001551/0.001551, allocations: 155.8 kB / 23.01 MB, free: 4.602 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.489/1.489, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.88/2.88, allocations: 394.2 MB / 0.6386 GB, free: 11.9 MB / 0.6075 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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") [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.00328/0.00328, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.032, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002686/1.034, allocations: 1.57 MB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001256/1.036, allocations: 0.8569 MB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/1.036, allocations: 6.281 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002414/1.036, allocations: 55.25 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005158/1.037, allocations: 151.9 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.191e-05/1.037, allocations: 4.344 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004695/1.037, allocations: 375.5 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.248e-05/1.037, allocations: 21.92 kB / 1.19 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/1.037, allocations: 160.2 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/1.038, allocations: 143 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/1.038, allocations: 14.62 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-05/1.038, allocations: 15.75 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/1.038, allocations: 51.16 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/1.038, allocations: 107.5 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/1.038, allocations: 281.1 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.038, allocations: 3.938 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.393e-06/1.038, allocations: 0 / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.038, allocations: 1.188 kB / 1.19 GB, free: 13.96 MB / 1.076 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.0009823/1.039, allocations: 0.5661 MB / 1.191 GB, free: 13.53 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/1.039, allocations: 9.281 kB / 1.191 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/1.039, allocations: 35.53 kB / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/1.04, allocations: 334.8 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/1.04, allocations: 9.625 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/1.04, allocations: 1.875 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/1.04, allocations: 106.2 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.04, allocations: 0.6094 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/1.04, allocations: 1.469 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.04, allocations: 0 / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/1.04, allocations: 70.59 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/1.04, allocations: 269.7 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/1.041, allocations: 106.5 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/1.041, allocations: 62.77 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/1.041, allocations: 5.125 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/1.041, allocations: 42.39 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/1.041, allocations: 0 / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.00034/1.041, allocations: 186.4 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/1.041, allocations: 131.3 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005923/1.042, allocations: 0.5155 MB / 1.193 GB, free: 12.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/1.042, allocations: 25.7 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/1.042, allocations: 161.1 kB / 1.193 GB, free: 12.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/1.042, allocations: 23.22 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/1.042, allocations: 22.08 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.452e-05/1.042, allocations: 346.8 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/1.042, allocations: 30.59 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/1.042, allocations: 61.16 kB / 1.193 GB, free: 11.74 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/1.042, allocations: 101.2 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.042, allocations: 5.031 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002048/1.042, allocations: 154.2 kB / 1.194 GB, free: 11.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.042, allocations: 6.328 kB / 1.194 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.042, allocations: 9 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.042, allocations: 1.062 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/1.042, allocations: 11.25 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/1.042, allocations: 1.125 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/1.043, allocations: 10.47 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/1.043, allocations: 7.828 kB / 1.194 GB, free: 11.6 MB / 1.076 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.0001274/1.043, allocations: 174.5 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/1.043, allocations: 35.03 kB / 1.194 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/1.043, allocations: 189.1 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/1.043, allocations: 3.141 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.043, allocations: 0.875 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.043, allocations: 1.734 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/1.043, allocations: 232.2 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.043, allocations: 1.625 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-05/1.043, allocations: 18.61 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.043, allocations: 6.375 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/1.043, allocations: 1.766 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.043, allocations: 5.062 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.043, allocations: 2.156 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/1.044, allocations: 188.3 kB / 1.194 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/1.044, allocations: 69.45 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/1.044, allocations: 6.969 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/1.044, allocations: 13.5 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/1.044, allocations: 6.25 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/1.044, allocations: 3.125 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004396/1.044, allocations: 401.5 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.044, allocations: 0 / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002622/1.045, allocations: 37.19 kB / 1.195 GB, free: 10.84 MB / 1.076 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 7.457e-05/1.045, allocations: 100.5 kB / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001761/1.045, allocations: 83.89 kB / 1.195 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.045, allocations: 0 / 1.195 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/1.045, allocations: 45.98 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/1.045, allocations: 73.91 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000878/1.046, allocations: 0.6005 MB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/1.046, allocations: 214.8 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001256/1.047, allocations: 53.69 kB / 1.196 GB, free: 10.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/1.047, allocations: 22.56 kB / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/1.047, allocations: 0 / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of Templates: time 0.008489/1.055, allocations: 3.855 MB / 1.2 GB, free: 9.832 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 800] 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: 8.906396045931615]