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.001608/0.001608, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001696/0.001696, allocations: 212.3 kB / 22.25 MB, free: 4.855 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.797 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.335/3.335, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 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.002049/0.002049, allocations: 63.06 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 176.1 MB / 1.325 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003378/0.3442, allocations: 1.558 MB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.346, allocations: 0.8724 MB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.3461, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.3464, allocations: 55.67 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.3469, allocations: 139.3 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.761e-05/0.347, allocations: 11.98 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.3475, allocations: 378.2 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.443e-05/0.3475, allocations: 12.94 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.3479, allocations: 163.3 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.3481, allocations: 143.3 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.3482, allocations: 16 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.707e-05/0.3482, allocations: 12 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.3483, allocations: 59.69 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.3485, allocations: 99.41 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.3488, allocations: 298.7 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3488, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3488, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.3488, allocations: 0 / 1.329 GB, free: 14.07 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.001223/0.35, allocations: 0.5626 MB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.3501, allocations: 12.03 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.3502, allocations: 36.75 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.3508, allocations: 340.7 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3508, allocations: 384 / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3508, allocations: 4.375 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.351, allocations: 101.4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.351, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.351, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.351, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3511, allocations: 63.88 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.3515, allocations: 275.9 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3517, allocations: 110.3 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.3518, allocations: 59.45 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3518, allocations: 4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.3519, allocations: 34.56 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3519, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003662/0.3522, allocations: 193.1 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.3523, allocations: 133 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006886/0.353, allocations: 0.5171 MB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.353, allocations: 29.64 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.3532, allocations: 168 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.3532, allocations: 11.89 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.3532, allocations: 21.72 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3534, allocations: 342.8 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.3535, allocations: 31.97 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.3536, allocations: 59.39 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3537, allocations: 107.3 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3537, allocations: 0 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002309/0.354, allocations: 145.4 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.354, allocations: 8 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.354, allocations: 3.938 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.354, allocations: 0 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3541, allocations: 15.92 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3541, allocations: 7.938 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.3543, allocations: 12.11 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3543, allocations: 4 kB / 1.332 GB, free: 10.43 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.0001753/0.3545, allocations: 178.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.3545, allocations: 35.77 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.3549, allocations: 191.7 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3549, allocations: 7.984 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3549, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3549, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.3552, allocations: 229.3 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3552, allocations: 0 / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.3553, allocations: 12 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3553, allocations: 4 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3553, allocations: 0 / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3553, allocations: 7.938 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3553, allocations: 3.984 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.3556, allocations: 191.4 kB / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.3558, allocations: 71.67 kB / 1.333 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.3558, allocations: 0 / 1.333 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.356, allocations: 19.92 kB / 1.333 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.356, allocations: 11.98 kB / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.356, allocations: 0 / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005252/0.3566, allocations: 399 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3566, allocations: 0 / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002645/0.3568, allocations: 44 kB / 1.334 GB, free: 8.984 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.0001107/0.3569, allocations: 99.19 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3571, allocations: 83.86 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3571, allocations: 256 / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.031e-05/0.3572, allocations: 47.91 kB / 1.334 GB, free: 8.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3576, allocations: 61.56 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3587, allocations: 0.5928 MB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.3589, allocations: 211.4 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.3591, allocations: 54.25 kB / 1.335 GB, free: 7.777 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.3592, allocations: 19.44 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3592, allocations: 0 / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of Templates: time 0.00928/0.3684, allocations: 4.19 MB / 1.339 GB, free: 3.656 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/jenkins/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: 8.989526065066457]