Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001596/0.001596, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001747/0.001747, allocations: 156.9 kB / 23.01 MB, free: 4.605 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.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.624/2.624, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002163/0.002163, allocations: 67.91 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2836, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002994/0.2866, allocations: 1.569 MB / 1.119 GB, free: 0.957 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.2882, allocations: 0.8606 MB / 1.12 GB, free: 92 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.2883, allocations: 3.938 kB / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.2886, allocations: 55.73 kB / 1.12 GB, free: 32 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005315/0.2891, allocations: 147.4 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.119e-05/0.2891, allocations: 7.984 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.2896, allocations: 385.1 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.2897, allocations: 16.92 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.29, allocations: 151.4 kB / 1.121 GB, free: 15.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.2903, allocations: 151.3 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.2903, allocations: 19.94 kB / 1.121 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.443e-05/0.2904, allocations: 16 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.11e-05/0.2904, allocations: 43.78 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.2906, allocations: 111.3 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.291, allocations: 286.8 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.291, allocations: 0 / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.193e-06/0.291, allocations: 0 / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.291, allocations: 0 / 1.121 GB, free: 14.72 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.001205/0.2922, allocations: 0.5665 MB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2922, allocations: 12.03 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.582e-05/0.2923, allocations: 28.75 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.2928, allocations: 336.7 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.2928, allocations: 384 / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.2929, allocations: 4.375 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.293, allocations: 105.3 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.293, allocations: 0 / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.293, allocations: 4 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.293, allocations: 0 / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.2932, allocations: 79.84 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.2936, allocations: 271.9 kB / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.2937, allocations: 106.4 kB / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.428e-05/0.2938, allocations: 59.45 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2938, allocations: 7.938 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.2938, allocations: 34.56 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2938, allocations: 0 / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003622/0.2942, allocations: 189.6 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.2943, allocations: 136.6 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/0.295, allocations: 0.5132 MB / 1.123 GB, free: 12.08 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.295, allocations: 25.7 kB / 1.124 GB, free: 12.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.2951, allocations: 164.1 kB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.2952, allocations: 15.91 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.2952, allocations: 17.7 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2954, allocations: 338.8 kB / 1.124 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.2954, allocations: 39.95 kB / 1.124 GB, free: 11.47 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.2955, allocations: 55.41 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.2957, allocations: 107.3 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2957, allocations: 0 / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002437/0.2959, allocations: 149.3 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2959, allocations: 4 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.296, allocations: 3.938 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.296, allocations: 4 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.2961, allocations: 15.86 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2961, allocations: 12.12 kB / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2962, allocations: 19.91 kB / 1.124 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.2963, allocations: 4 kB / 1.124 GB, free: 11.07 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.0001708/0.2964, allocations: 169.8 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.2965, allocations: 39.75 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.2968, allocations: 187.6 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2968, allocations: 4 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2968, allocations: 128 / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2968, allocations: 4 kB / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.2971, allocations: 225.1 kB / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2971, allocations: 4 kB / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.2972, allocations: 19.92 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2972, allocations: 0 / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2972, allocations: 0 / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.2972, allocations: 7.938 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2972, allocations: 0 / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.2975, allocations: 195.3 kB / 1.125 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.2976, allocations: 63.73 kB / 1.125 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.2977, allocations: 12 kB / 1.125 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.2978, allocations: 11.92 kB / 1.125 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.2979, allocations: 7.984 kB / 1.125 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.2979, allocations: 4 kB / 1.125 GB, free: 10.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005088/0.2984, allocations: 395 kB / 1.126 GB, free: 9.672 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.2984, allocations: 0 / 1.126 GB, free: 9.672 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002594/0.2986, allocations: 36 kB / 1.126 GB, free: 9.637 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 9.252e-05/0.2987, allocations: 99.23 kB / 1.126 GB, free: 9.531 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.2989, allocations: 92.05 kB / 1.126 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2989, allocations: 0 / 1.126 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.299, allocations: 43.91 kB / 1.126 GB, free: 9.398 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.2994, allocations: 74.02 kB / 1.126 GB, free: 9.328 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3004, allocations: 0.5924 MB / 1.127 GB, free: 8.691 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.3006, allocations: 207.4 kB / 1.127 GB, free: 8.473 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00013/0.3007, allocations: 50.27 kB / 1.127 GB, free: 8.426 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.3008, allocations: 28.42 kB / 1.127 GB, free: 8.398 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.3008, allocations: 4 kB / 1.127 GB, free: 8.395 MB / 1.076 GB Notification: Performance of Templates: time 0.008248/0.309, allocations: 3.849 MB / 1.131 GB, free: 4.629 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.12750427890569]