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.001813/0.001813, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.001929/0.001929, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.528/1.528, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.899/2.899, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.007e-05, allocations: 2.969 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003131/0.003161, allocations: 1.614 MB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.00502, allocations: 0.9274 MB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.005109, allocations: 3.938 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.005401, allocations: 70.73 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005643/0.005965, allocations: 143.2 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.14e-05/0.006027, allocations: 11.92 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000538/0.006565, allocations: 385.1 kB / 0.7894 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.142e-05/0.006626, allocations: 17.95 kB / 0.7894 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/0.00718, allocations: 200 kB / 0.7896 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.007425, allocations: 128.3 kB / 0.7897 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.00747, allocations: 16 kB / 0.7897 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.228e-05/0.007522, allocations: 16.91 kB / 0.7898 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.403e-05/0.007616, allocations: 47.77 kB / 0.7898 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.007758, allocations: 88.41 kB / 0.7899 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.008146, allocations: 275.1 kB / 0.7902 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.00815, allocations: 0.5938 kB / 0.7902 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/0.008151, allocations: 0 / 0.7902 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.008157, allocations: 1.375 kB / 0.7902 GB, free: 8.965 MB / 0.7448 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.001294/0.009452, allocations: 0.6716 MB / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.009494, allocations: 9.562 kB / 0.7908 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.838e-05/0.009582, allocations: 40.69 kB / 0.7909 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.01016, allocations: 330.8 kB / 0.7912 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.01018, allocations: 0.9062 kB / 0.7912 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.01019, allocations: 0.9375 kB / 0.7912 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.01039, allocations: 108.9 kB / 0.7913 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.0104, allocations: 1.781 kB / 0.7913 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.01041, allocations: 384 / 0.7913 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.01042, allocations: 7.938 kB / 0.7913 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.01053, allocations: 59.86 kB / 0.7914 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.01102, allocations: 333.8 kB / 0.7917 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.01122, allocations: 144.3 kB / 0.7918 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.01133, allocations: 62.78 kB / 0.7919 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.01135, allocations: 4 kB / 0.7919 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.01139, allocations: 45.91 kB / 0.7919 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.01139, allocations: 0 / 0.7919 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0004138/0.01181, allocations: 180 kB / 0.7921 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.01192, allocations: 140.4 kB / 0.7922 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.01273, allocations: 0.6002 MB / 0.7928 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.01275, allocations: 25.7 kB / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.01297, allocations: 232 kB / 0.7931 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.01301, allocations: 15.84 kB / 0.7931 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.01307, allocations: 31.31 kB / 0.7931 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003317/0.0134, allocations: 0.5399 MB / 0.7936 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.01346, allocations: 31.97 kB / 0.7937 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/0.01356, allocations: 67.23 kB / 0.7937 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.01374, allocations: 113.5 kB / 0.7938 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01374, allocations: 0 / 0.7938 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002487/0.01399, allocations: 137.4 kB / 0.794 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.014, allocations: 8.562 kB / 0.794 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01401, allocations: 0 / 0.794 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.01402, allocations: 2.531 kB / 0.794 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01414, allocations: 15.92 kB / 0.794 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.01415, allocations: 7.938 kB / 0.794 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.01429, allocations: 7.984 kB / 0.794 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.0143, allocations: 4 kB / 0.794 GB, free: 4.715 MB / 0.7448 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.000206/0.01451, allocations: 212.5 kB / 0.7942 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.01456, allocations: 37.56 kB / 0.7942 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.01493, allocations: 171.7 kB / 0.7944 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01493, allocations: 5.125 kB / 0.7944 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.01494, allocations: 3.938 kB / 0.7944 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.01494, allocations: 4 kB / 0.7944 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.01532, allocations: 289.5 kB / 0.7947 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01532, allocations: 0 / 0.7947 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.01542, allocations: 19.98 kB / 0.7947 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.01543, allocations: 5.688 kB / 0.7947 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.01543, allocations: 0 / 0.7947 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01544, allocations: 0 / 0.7947 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.01544, allocations: 4 kB / 0.7947 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.01576, allocations: 211.8 kB / 0.7949 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.01592, allocations: 51.78 kB / 0.795 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.01597, allocations: 8.578 kB / 0.795 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.01611, allocations: 13.02 kB / 0.795 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.01614, allocations: 15.92 kB / 0.795 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.01615, allocations: 4 kB / 0.795 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005827/0.01673, allocations: 443.6 kB / 0.7954 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01673, allocations: 0 / 0.7954 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002541/0.01699, allocations: 40.91 kB / 0.7955 GB, free: 3.129 MB / 0.7448 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.0001335/0.01712, allocations: 102.9 kB / 0.7956 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.01734, allocations: 87.55 kB / 0.7957 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01734, allocations: 0 / 0.7957 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.01743, allocations: 59.58 kB / 0.7957 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.01783, allocations: 71.84 kB / 0.7958 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.0191, allocations: 0.5826 MB / 0.7964 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.01931, allocations: 191.4 kB / 0.7965 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.01943, allocations: 42.25 kB / 0.7966 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.772e-05/0.01952, allocations: 32.48 kB / 0.7966 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.01952, allocations: 0 / 0.7966 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of Templates: time 0.009082/0.0286, allocations: 3.845 MB / 0.8004 GB, free: 14.15 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 240] 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/jenkins/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: 7.871912185917608]