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.002005/0.002005, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.002408/0.002408, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.192/3.192, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 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.002049/0.002049, allocations: 69.25 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3351, allocations: 176.1 MB / 1.321 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003131/0.3382, allocations: 1.607 MB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3401, allocations: 0.9541 MB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.3402, allocations: 0 / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.3405, allocations: 59.66 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000548/0.341, allocations: 143.3 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.373e-05/0.341, allocations: 15.92 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.3416, allocations: 374.3 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.173e-05/0.3416, allocations: 28.75 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.342, allocations: 159.3 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.3422, allocations: 131.4 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.3423, allocations: 16 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.757e-05/0.3423, allocations: 12 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.172e-05/0.3424, allocations: 51.7 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.3426, allocations: 131.2 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.3429, allocations: 294.7 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3429, allocations: 4 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3429, allocations: 3.938 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.343, allocations: 0 / 1.325 GB, free: 14.89 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.001331/0.3443, allocations: 0.6356 MB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3443, allocations: 15.98 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.298e-05/0.3444, allocations: 32.75 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.345, allocations: 394.5 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.345, allocations: 384 / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3451, allocations: 4.375 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3452, allocations: 101.4 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3453, allocations: 4 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3453, allocations: 3.984 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3453, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.3454, allocations: 71.86 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.3458, allocations: 352.1 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.346, allocations: 110.3 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.342e-05/0.3461, allocations: 59.45 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3461, allocations: 3.984 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.3462, allocations: 46.5 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3462, allocations: 0 / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000408/0.3466, allocations: 185.2 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.3466, allocations: 132.5 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006687/0.3473, allocations: 0.5132 MB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3473, allocations: 34.08 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.3475, allocations: 164.1 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.3475, allocations: 19.89 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.3476, allocations: 13.72 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3477, allocations: 350.8 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.3478, allocations: 27.97 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.3479, allocations: 63.39 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.348, allocations: 103.3 kB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.348, allocations: 0 / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002225/0.3482, allocations: 149.4 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3483, allocations: 11.94 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3483, allocations: 0 / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3483, allocations: 4.125 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3484, allocations: 11.98 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3484, allocations: 7.938 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.3486, allocations: 7.984 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3486, allocations: 4 kB / 1.329 GB, free: 10.99 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.0001604/0.3487, allocations: 173.8 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.3488, allocations: 39.7 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.3491, allocations: 191.6 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3491, allocations: 3.938 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3491, allocations: 4 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3491, allocations: 3.984 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.3495, allocations: 297.5 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3495, allocations: 0 / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.3495, allocations: 15.98 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.3496, allocations: 7.938 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3496, allocations: 4 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3496, allocations: 4.125 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3496, allocations: 4 kB / 1.329 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3498, allocations: 199.3 kB / 1.329 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.35, allocations: 136.8 kB / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.35, allocations: 7.938 kB / 1.33 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3502, allocations: 11.98 kB / 1.33 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.3502, allocations: 12.08 kB / 1.33 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3502, allocations: 7.984 kB / 1.33 GB, free: 9.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004784/0.3507, allocations: 395 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3507, allocations: 0 / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002999/0.351, allocations: 40 kB / 1.33 GB, free: 9.352 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.0001171/0.3511, allocations: 111.1 kB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.3513, allocations: 87.86 kB / 1.33 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3513, allocations: 0 / 1.33 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.3514, allocations: 43.91 kB / 1.33 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.3518, allocations: 77.91 kB / 1.33 GB, free: 9.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/0.3528, allocations: 0.5842 MB / 1.331 GB, free: 8.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.3532, allocations: 0.8143 MB / 1.332 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.3533, allocations: 50.27 kB / 1.332 GB, free: 7.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.3534, allocations: 27.42 kB / 1.332 GB, free: 7.492 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3534, allocations: 0 / 1.332 GB, free: 7.492 MB / 1.029 GB Notification: Performance of Templates: time 0.007935/0.3613, allocations: 3.626 MB / 1.335 GB, free: 3.918 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: 8.95163610810414]