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.001852/0.001852, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002359/0.002359, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.306/3.306, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 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.002075/0.002075, allocations: 74.77 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002753/0.3357, allocations: 1.565 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3372, allocations: 0.8656 MB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.3372, allocations: 0 / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.3375, allocations: 55.67 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.3379, allocations: 147.3 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.854e-05/0.338, allocations: 11.98 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.3384, allocations: 370.3 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.3385, allocations: 12.94 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.3387, allocations: 159.3 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.339, allocations: 147.3 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.339, allocations: 19.98 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.339, allocations: 12 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.3391, allocations: 51.72 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.3392, allocations: 103.4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.3396, allocations: 294.7 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3396, allocations: 0 / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3396, allocations: 0 / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3396, allocations: 0 / 1.368 GB, free: 9.805 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.001127/0.3407, allocations: 0.5627 MB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3407, allocations: 12.03 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.3408, allocations: 36.64 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.3414, allocations: 336.7 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.3414, allocations: 4.375 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.3414, allocations: 4.375 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.3415, allocations: 97.39 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3415, allocations: 0 / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3416, allocations: 0 / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.3416, allocations: 7.938 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3417, allocations: 67.92 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.342, allocations: 271.8 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.3422, allocations: 114.4 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.3423, allocations: 63.39 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.3423, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3423, allocations: 46.5 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3423, allocations: 0 / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003585/0.3427, allocations: 181.3 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.3428, allocations: 136.5 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.3434, allocations: 0.5171 MB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3434, allocations: 25.7 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3436, allocations: 160.1 kB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3436, allocations: 12.41 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.3437, allocations: 25.66 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3439, allocations: 346.8 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.3439, allocations: 31.95 kB / 1.37 GB, free: 6.551 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.344, allocations: 67.38 kB / 1.371 GB, free: 6.473 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.3442, allocations: 103.3 kB / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3442, allocations: 0 / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002224/0.3444, allocations: 145.5 kB / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3444, allocations: 8 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3444, allocations: 7.922 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3444, allocations: 0 / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3445, allocations: 11.94 kB / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3445, allocations: 11.97 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.3447, allocations: 7.984 kB / 1.371 GB, free: 6.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3447, allocations: 4 kB / 1.371 GB, free: 6.16 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.0001855/0.3449, allocations: 182.7 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.3449, allocations: 31.81 kB / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.3453, allocations: 191.6 kB / 1.371 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3453, allocations: 0 / 1.371 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3453, allocations: 4 kB / 1.371 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3453, allocations: 0 / 1.371 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.3455, allocations: 229.1 kB / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3455, allocations: 0 / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/0.3456, allocations: 15.98 kB / 1.371 GB, free: 5.473 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3456, allocations: 4 kB / 1.371 GB, free: 5.469 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3456, allocations: 128 / 1.371 GB, free: 5.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3457, allocations: 15.88 kB / 1.371 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3457, allocations: 3.938 kB / 1.371 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3459, allocations: 187.4 kB / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.3461, allocations: 67.72 kB / 1.372 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.3461, allocations: 3.953 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3463, allocations: 15.92 kB / 1.372 GB, free: 5.152 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.3463, allocations: 7.984 kB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3463, allocations: 4 kB / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004983/0.3468, allocations: 395 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3468, allocations: 0 / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002616/0.3471, allocations: 47.94 kB / 1.372 GB, free: 4.711 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.0001125/0.3472, allocations: 103.2 kB / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3474, allocations: 83.86 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3474, allocations: 0 / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.3475, allocations: 43.91 kB / 1.372 GB, free: 4.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3479, allocations: 62.06 kB / 1.372 GB, free: 4.414 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.3489, allocations: 0.5965 MB / 1.373 GB, free: 3.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.3491, allocations: 207.4 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.3492, allocations: 58.34 kB / 1.373 GB, free: 3.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/0.3493, allocations: 23.42 kB / 1.373 GB, free: 3.477 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3493, allocations: 0 / 1.373 GB, free: 3.477 MB / 1.061 GB Notification: Performance of Templates: time 0.00842/0.3577, allocations: 4.181 MB / 1.377 GB, free: 15.41 MB / 1.076 GB " [Timeout remaining time 300] 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 -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/jenkins/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.8669763635844]