Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001777/0.001777, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002345/0.002345, allocations: 218.3 kB / 23.01 MB, free: 4.605 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.996 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 3.172/3.172, allocations: 0.49 GB / 0.7958 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_12_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_12_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.002057/0.002057, allocations: 67.47 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3525, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003187/0.3557, allocations: 1.607 MB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3574, allocations: 0.9696 MB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.3575, allocations: 3.938 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.3577, allocations: 63.67 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.3582, allocations: 143.3 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.828e-05/0.3582, allocations: 11.97 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.3587, allocations: 366.3 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.3588, allocations: 12.94 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.3591, allocations: 163.3 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.3593, allocations: 135.3 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.3593, allocations: 16 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.217e-05/0.3594, allocations: 16 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.3594, allocations: 51.75 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.3596, allocations: 135.2 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.36, allocations: 290.7 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.36, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.36, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.36, allocations: 4 kB / 1.331 GB, free: 13.48 MB / 1.029 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.001205/0.3612, allocations: 0.5627 MB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3612, allocations: 8.031 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.3613, allocations: 32.75 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.3618, allocations: 336.7 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3618, allocations: 384 / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.3618, allocations: 4.375 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.362, allocations: 105.3 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.362, allocations: 0 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.362, allocations: 0 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.362, allocations: 8 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3621, allocations: 67.86 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.3626, allocations: 319.2 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.3627, allocations: 114.4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.3628, allocations: 63.39 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3629, allocations: 4 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3629, allocations: 38.5 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3629, allocations: 4 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003618/0.3633, allocations: 185.2 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.3633, allocations: 132.5 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/0.364, allocations: 0.5171 MB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.364, allocations: 25.7 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3642, allocations: 160.6 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.3642, allocations: 15.84 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3642, allocations: 25.7 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3644, allocations: 346.8 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.3645, allocations: 31.91 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.3646, allocations: 67.33 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3647, allocations: 99.36 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3647, allocations: 3.938 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002268/0.3649, allocations: 149.4 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3649, allocations: 7.938 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.365, allocations: 0 / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.365, allocations: 4 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3651, allocations: 12.11 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3651, allocations: 4 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.3652, allocations: 7.984 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3652, allocations: 4 kB / 1.334 GB, free: 9.785 MB / 1.029 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.0001858/0.3654, allocations: 182.2 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.3655, allocations: 43.7 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.3658, allocations: 183.7 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3658, allocations: 4 kB / 1.335 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3658, allocations: 0 / 1.335 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3658, allocations: 3.984 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.3661, allocations: 276.5 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3661, allocations: 3.938 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.963e-05/0.3662, allocations: 15.98 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.3662, allocations: 3.938 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3663, allocations: 8 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3663, allocations: 0 / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3663, allocations: 96 / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.3665, allocations: 195.3 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.3667, allocations: 71.61 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.3668, allocations: 0 / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.3669, allocations: 15.98 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.367, allocations: 11.98 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.367, allocations: 0 / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004811/0.3674, allocations: 391 kB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3674, allocations: 0 / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002622/0.3677, allocations: 43.94 kB / 1.336 GB, free: 8.277 MB / 1.029 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.0001151/0.3678, allocations: 103.2 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.368, allocations: 84.05 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.368, allocations: 4.062 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.3681, allocations: 47.91 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.3685, allocations: 70.95 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.3697, allocations: 0.606 MB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.3702, allocations: 0.8104 MB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.3703, allocations: 23.44 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/0.3703, allocations: 3.938 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of Templates: time 0.006618/0.3769, allocations: 3.729 MB / 1.341 GB, free: 2.746 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.411431340005947]