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.001826/0.001826, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001943/0.001943, allocations: 206.7 kB / 22.24 MB, free: 5.258 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.809 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.26/3.26, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 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.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: 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.002081/0.002081, allocations: 69.53 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003222/0.3532, allocations: 1.567 MB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.355, allocations: 0.8607 MB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.3551, allocations: 3.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.3555, allocations: 59.67 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006104/0.3561, allocations: 143.3 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.905e-05/0.3561, allocations: 8 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.3566, allocations: 370.3 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.825e-05/0.3567, allocations: 12.94 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.357, allocations: 163.3 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.3573, allocations: 147.3 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.3573, allocations: 20 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.3574, allocations: 12 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.3575, allocations: 51.77 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.3576, allocations: 103.3 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.358, allocations: 290.7 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.358, allocations: 3.938 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.358, allocations: 3.938 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.358, 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.00134/0.3594, allocations: 0.5665 MB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3594, allocations: 12.03 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.818e-05/0.3595, allocations: 28.75 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/0.3601, allocations: 336.7 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3602, allocations: 4.375 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.3602, allocations: 4.375 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3604, allocations: 113.3 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3604, allocations: 0 / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3604, allocations: 0 / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3604, allocations: 4 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3605, allocations: 67.88 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.361, allocations: 271.8 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.3612, allocations: 106.4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.3612, allocations: 59.45 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3613, allocations: 3.938 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3613, 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.3613, allocations: 4 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004204/0.3617, allocations: 197.1 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/0.3618, allocations: 132.5 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.3625, allocations: 0.5093 MB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3625, allocations: 25.7 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3626, allocations: 164.1 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.3627, allocations: 11.89 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.3627, allocations: 22.22 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3629, allocations: 346.8 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.3629, allocations: 31.97 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.363, allocations: 63.33 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3632, allocations: 103.4 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3632, allocations: 0 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002405/0.3634, allocations: 149.2 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3634, allocations: 12.12 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3634, allocations: 3.938 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3635, allocations: 0 / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3636, allocations: 11.98 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3636, allocations: 4 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.3637, allocations: 7.984 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3637, allocations: 8 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.0001798/0.3639, allocations: 178.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.364, allocations: 35.77 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.3643, allocations: 203.6 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3644, allocations: 4 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3644, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3644, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.3646, allocations: 217.2 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3646, allocations: 0 / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.3647, allocations: 19.94 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.3647, allocations: 4 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3647, allocations: 0 / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.3647, allocations: 12.05 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3647, allocations: 4 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.365, allocations: 191.3 kB / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.3652, allocations: 67.67 kB / 1.333 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.3653, allocations: 8 kB / 1.333 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3654, allocations: 15.92 kB / 1.333 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.3654, allocations: 7.984 kB / 1.333 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3655, allocations: 0 / 1.333 GB, free: 9.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004926/0.3659, allocations: 399 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3659, allocations: 0 / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002715/0.3662, allocations: 40 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.0001166/0.3663, allocations: 100.5 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.3665, allocations: 87.86 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3665, allocations: 0 / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.507e-05/0.3666, allocations: 43.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.0004072/0.367, allocations: 66.12 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.3681, allocations: 0.5925 MB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.3683, allocations: 211.4 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.3685, allocations: 58.25 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.3686, allocations: 19.44 kB / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/0.3686, allocations: 0 / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of Templates: time 0.008788/0.3774, allocations: 4.18 MB / 1.339 GB, free: 3.652 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 400] 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: 9.048430137336254]