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.001833/0.001833, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002308/0.002308, allocations: 162.4 kB / 23.01 MB, free: 4.949 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.773/2.773, allocations: 378 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002138/0.002138, allocations: 63.91 kB / 0.9819 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.828/0.8301, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002128/0.8323, allocations: 1.566 MB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.8333, allocations: 0.864 MB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.8334, allocations: 3.938 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.8336, allocations: 53.52 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.834, allocations: 145.2 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.228e-05/0.834, allocations: 18.09 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.8343, allocations: 374.3 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.8344, allocations: 12.81 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.8346, allocations: 162 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.8348, allocations: 138.7 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.8348, allocations: 14.22 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.8349, allocations: 17.28 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.8349, allocations: 53.7 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.379e-05/0.835, allocations: 107.7 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.8352, allocations: 288.3 kB / 1.158 GB, free: 31.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.8352, allocations: 3.938 kB / 1.158 GB, free: 31.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8352, allocations: 2.844 kB / 1.158 GB, free: 31.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8352, allocations: 0 / 1.158 GB, free: 31.11 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.0008611/0.8361, allocations: 0.5658 MB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.8361, allocations: 12.53 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.8362, allocations: 30.5 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.8366, allocations: 338.4 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.8366, allocations: 384 / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.8366, allocations: 384 / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.8367, allocations: 96.95 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.8367, allocations: 6.562 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.8367, allocations: 4 kB / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.8367, allocations: 0 / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.965e-05/0.8368, allocations: 73.25 kB / 1.159 GB, free: 30.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.8371, allocations: 271.6 kB / 1.159 GB, free: 30.13 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.8371, allocations: 102.6 kB / 1.159 GB, free: 30.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.8372, allocations: 63.8 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.8372, allocations: 6.531 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.8372, allocations: 41.44 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.8372, allocations: 0 / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002695/0.8375, allocations: 195.1 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.8375, allocations: 132.5 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.838, allocations: 0.517 MB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.838, allocations: 25.7 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.8381, allocations: 165.1 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.8381, allocations: 15.31 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.8381, allocations: 22.78 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.8382, allocations: 341.4 kB / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-05/0.8382, allocations: 34.72 kB / 1.161 GB, free: 28.92 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.8383, allocations: 61.67 kB / 1.161 GB, free: 28.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.8384, allocations: 103.9 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8384, allocations: 0 / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001654/0.8386, allocations: 147.1 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.8386, allocations: 6 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8386, allocations: 3.938 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8386, allocations: 10.34 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/0.8387, allocations: 9.672 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8387, allocations: 6.844 kB / 1.161 GB, free: 28.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.8388, allocations: 9.484 kB / 1.161 GB, free: 28.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.8388, allocations: 0 / 1.161 GB, free: 28.74 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.0001027/0.8389, allocations: 179 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.839, allocations: 33.77 kB / 1.161 GB, free: 28.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.8392, allocations: 193 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.8392, allocations: 2.906 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8392, allocations: 4.125 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8392, allocations: 2.875 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.8394, allocations: 228 kB / 1.161 GB, free: 28.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8394, allocations: 2.812 kB / 1.161 GB, free: 28.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.8395, allocations: 13.97 kB / 1.162 GB, free: 28.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8395, allocations: 0 / 1.162 GB, free: 28.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.8395, allocations: 2.844 kB / 1.162 GB, free: 28.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.8395, allocations: 10.69 kB / 1.162 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8395, allocations: 0 / 1.162 GB, free: 28.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.8397, allocations: 190.3 kB / 1.162 GB, free: 28.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.8398, allocations: 64.62 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.8398, allocations: 4 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.84, allocations: 23.02 kB / 1.162 GB, free: 28.15 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.84, allocations: 14.16 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.84, allocations: 3.062 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003294/0.8403, allocations: 389.8 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8403, allocations: 0 / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002576/0.8406, allocations: 41.69 kB / 1.162 GB, free: 27.98 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 5.685e-05/0.8407, allocations: 100.2 kB / 1.162 GB, free: 27.89 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.8408, allocations: 85.78 kB / 1.162 GB, free: 27.87 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8408, allocations: 2.781 kB / 1.162 GB, free: 27.87 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.306e-05/0.8409, allocations: 42.86 kB / 1.162 GB, free: 27.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.8412, allocations: 68.84 kB / 1.162 GB, free: 27.83 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.8419, allocations: 0.5926 MB / 1.163 GB, free: 27.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.8421, allocations: 216.7 kB / 1.163 GB, free: 27.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.8422, allocations: 53.95 kB / 1.163 GB, free: 27.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.8422, allocations: 26.31 kB / 1.163 GB, free: 27.38 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.8422, allocations: 0 / 1.163 GB, free: 27.38 MB / 1.076 GB Notification: Performance of Templates: time 0.006464/0.8487, allocations: 3.853 MB / 1.167 GB, free: 26.95 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.556462369044311]