Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.00186/0.00186, allocations: 83.69 kB / 20.24 MB, free: 4.172 MB / 18.57 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.001936/0.001936, allocations: 157.8 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.045/3.045, allocations: 377.9 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.CorrectedConvection,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.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,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.CorrectedConvection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.225e-05, allocations: 9.5 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003028/0.00306, allocations: 1.616 MB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.004806, allocations: 0.9236 MB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.004878, allocations: 7.938 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.005149, allocations: 57.06 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005377/0.005686, allocations: 148.7 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.087e-05/0.005727, allocations: 7.922 kB / 0.8135 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000522/0.006249, allocations: 387.5 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.006305, allocations: 12.92 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003933/0.006698, allocations: 204 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.006934, allocations: 128.8 kB / 0.8142 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.006981, allocations: 16 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.98e-05/0.00703, allocations: 12 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-05/0.007122, allocations: 52.39 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.007257, allocations: 79.72 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.007641, allocations: 285 kB / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.007644, allocations: 0 / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007645, allocations: 0 / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.007651, allocations: 0 / 0.8146 GB, free: 14.22 MB / 0.7761 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.001268/0.008919, allocations: 0.6765 MB / 0.8152 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.008957, allocations: 12.03 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.594e-05/0.009043, allocations: 36.7 kB / 0.8153 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.009624, allocations: 328.5 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.009634, allocations: 384 / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.009648, allocations: 4.375 kB / 0.8156 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.009832, allocations: 109.7 kB / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.009846, allocations: 4.125 kB / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.009856, allocations: 5.094 kB / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.009862, allocations: 3.938 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.009971, allocations: 61.2 kB / 0.8158 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.01048, allocations: 331.6 kB / 0.8161 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.01068, allocations: 142.2 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.01078, allocations: 62.78 kB / 0.8163 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.0108, allocations: 4 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.01085, allocations: 53.25 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.01085, allocations: 0 / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003824/0.01124, allocations: 171.6 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.01135, allocations: 136.4 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.01216, allocations: 0.6002 MB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.01218, allocations: 28.02 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.01241, allocations: 234.8 kB / 0.8175 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.01244, allocations: 15.83 kB / 0.8175 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.0125, allocations: 27.33 kB / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003277/0.01283, allocations: 0.543 MB / 0.8181 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.01289, allocations: 23.97 kB / 0.8181 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.39e-05/0.01298, allocations: 74.14 kB / 0.8182 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.01315, allocations: 106.6 kB / 0.8183 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.01316, allocations: 0 / 0.8183 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002614/0.01342, allocations: 149.3 kB / 0.8184 GB, free: 10 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01343, allocations: 4.75 kB / 0.8184 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.01344, allocations: 0 / 0.8184 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01345, allocations: 4.5 kB / 0.8184 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.01357, allocations: 12.55 kB / 0.8184 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.01357, allocations: 3.938 kB / 0.8184 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.01371, allocations: 8.547 kB / 0.8184 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.01372, allocations: 5.344 kB / 0.8184 GB, free: 9.969 MB / 0.7761 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.000209/0.01393, allocations: 216.5 kB / 0.8186 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.01399, allocations: 35.81 kB / 0.8187 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/0.01437, allocations: 169 kB / 0.8188 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.01437, allocations: 4.938 kB / 0.8188 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.01438, allocations: 7.938 kB / 0.8188 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01439, allocations: 3.984 kB / 0.8189 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.01477, allocations: 285.1 kB / 0.8191 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.01478, allocations: 4 kB / 0.8191 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.01487, allocations: 17.36 kB / 0.8191 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.01487, allocations: 3.984 kB / 0.8191 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01489, allocations: 4 kB / 0.8192 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01489, allocations: 7.875 kB / 0.8192 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01489, allocations: 3.938 kB / 0.8192 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.01523, allocations: 207.1 kB / 0.8194 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.0154, allocations: 59.72 kB / 0.8194 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.01545, allocations: 3.953 kB / 0.8194 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.01559, allocations: 11.98 kB / 0.8194 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.01562, allocations: 7.922 kB / 0.8194 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.01563, allocations: 11.94 kB / 0.8195 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006108/0.01624, allocations: 442.9 kB / 0.8199 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01624, allocations: 0 / 0.8199 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002655/0.01651, allocations: 40.94 kB / 0.8199 GB, free: 8.375 MB / 0.7761 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.000142/0.01665, allocations: 100.3 kB / 0.82 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.01687, allocations: 84.67 kB / 0.8201 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01688, allocations: 0 / 0.8201 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.01697, allocations: 60.61 kB / 0.8201 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.01738, allocations: 66.94 kB / 0.8202 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.0185, allocations: 0.5736 MB / 0.8208 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.01871, allocations: 199.2 kB / 0.821 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.01883, allocations: 45.69 kB / 0.821 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.574e-05/0.01891, allocations: 28.48 kB / 0.821 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.01891, allocations: 0 / 0.821 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of Templates: time 0.008898/0.02781, allocations: 3.844 MB / 0.8248 GB, free: 3.422 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.059376786928624]