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.001588/0.001588, allocations: 108.3 kB / 19.7 MB, free: 2.145 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.001888/0.001888, allocations: 218.1 kB / 22.99 MB, free: 4.965 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.159/3.159, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.002884/0.002884, allocations: 65.64 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3348, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002851/0.3376, allocations: 1.562 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3392, allocations: 0.8762 MB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.3393, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3395, allocations: 51.69 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005196/0.3401, allocations: 143.3 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.105e-05/0.3401, allocations: 15.98 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.3406, allocations: 374.2 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.3406, allocations: 12.94 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.3409, allocations: 159.3 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.3411, allocations: 135.4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.3412, allocations: 16 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.028e-05/0.3412, allocations: 20 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.3413, allocations: 47.72 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3414, allocations: 107.4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.3418, allocations: 286.7 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3418, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3418, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.3418, allocations: 0 / 1.331 GB, free: 13.22 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.001173/0.3429, allocations: 0.5743 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.343, allocations: 8.031 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.343, allocations: 32.75 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.3436, allocations: 336.7 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.3436, allocations: 4.375 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.3436, allocations: 4.312 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.3438, allocations: 97.39 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3438, allocations: 8 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3438, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3438, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3439, allocations: 71.86 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.3443, allocations: 271.9 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3444, allocations: 110.3 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.406e-05/0.3445, allocations: 59.45 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3445, allocations: 4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3446, allocations: 34.5 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3446, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003681/0.3449, allocations: 193.2 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.345, allocations: 132.5 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.3457, allocations: 0.5132 MB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3457, allocations: 25.7 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3459, allocations: 168.1 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.3459, allocations: 11.91 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.346, allocations: 21.7 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3461, allocations: 347.3 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.3462, allocations: 31.97 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.3463, allocations: 63.39 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.3464, allocations: 103.3 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3464, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002339/0.3467, allocations: 145.4 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3467, allocations: 4 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3467, allocations: 12 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3467, allocations: 4 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3468, allocations: 15.92 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3468, allocations: 0 / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.347, allocations: 7.984 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.347, allocations: 8 kB / 1.334 GB, free: 9.574 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.0001822/0.3472, allocations: 178.2 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.3472, allocations: 35.77 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.3476, allocations: 195.7 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3476, allocations: 4 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3476, allocations: 0 / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3476, allocations: 3.984 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.3479, allocations: 213.2 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3479, allocations: 4 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/0.3479, allocations: 23.98 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3479, allocations: 0 / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.348, allocations: 7.938 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.348, allocations: 3.938 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.348, allocations: 4.031 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.3482, allocations: 203.4 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.3484, allocations: 63.67 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.3484, allocations: 8 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3486, allocations: 11.92 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.3486, allocations: 7.984 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3486, allocations: 4 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004882/0.3491, allocations: 399 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3491, allocations: 0 / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002554/0.3494, allocations: 36 kB / 1.335 GB, free: 8.125 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.0001215/0.3495, allocations: 103.2 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3497, allocations: 87.86 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3497, allocations: 0 / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.298e-05/0.3498, allocations: 47.91 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.3501, allocations: 70.45 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3512, allocations: 0.5848 MB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.3514, allocations: 215.4 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.3515, allocations: 54.25 kB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.3516, allocations: 23.42 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3516, allocations: 4 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of Templates: time 0.008466/0.3601, allocations: 4.202 MB / 1.341 GB, free: 2.766 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 -s cvode -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: 8.55196932097897]