Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.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.001346/0.001346, allocations: 78.72 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.001619/0.001619, allocations: 158.4 kB / 23.01 MB, free: 4.602 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.501/1.501, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.759/2.759, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.|sorAsc.yIdx.1.|sorAsc.yIdx.2.|sorAsc.yIdx.3.|sorAsc.yIdx.4.|sorAsc.yIdx.5.|sorDes.yIdx.1.|sorDes.yIdx.2.|sorDes.yIdx.3.|sorDes.yIdx.4.|sorDes.yIdx.5.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.|sorAsc.yIdx.1.|sorAsc.yIdx.2.|sorAsc.yIdx.3.|sorAsc.yIdx.4.|sorAsc.yIdx.5.|sorDes.yIdx.1.|sorDes.yIdx.2.|sorDes.yIdx.3.|sorDes.yIdx.4.|sorDes.yIdx.5.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [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.002291/0.002291, allocations: 67.89 kB / 0.9516 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3615, allocations: 169.9 MB / 1.117 GB, free: 2.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002376/0.3638, allocations: 0.8001 MB / 1.118 GB, free: 1.684 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3655, allocations: 1.034 MB / 1.119 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.3656, allocations: 4 kB / 1.119 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.3658, allocations: 11.86 kB / 1.119 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.3658, allocations: 23.8 kB / 1.119 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.3664, allocations: 99.75 kB / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.3666, allocations: 115.7 kB / 1.12 GB, free: 396 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.3668, allocations: 49.14 kB / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.3669, allocations: 55.78 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.267e-05/0.367, allocations: 55.75 kB / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.3671, allocations: 8 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.3673, allocations: 87.91 kB / 1.12 GB, free: 140 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.3673, allocations: 39.84 kB / 1.12 GB, free: 100 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.3674, allocations: 47.67 kB / 1.12 GB, free: 52 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.3678, allocations: 211.1 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3678, allocations: 8 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3678, allocations: 3.938 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.3678, allocations: 0 / 1.12 GB, free: 15.83 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0009563/0.3688, allocations: 425.4 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 8.097e-05/0.3688, allocations: 8.031 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.3689, allocations: 16.84 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3691, allocations: 154.2 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3691, allocations: 8.375 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3692, allocations: 8.375 kB / 1.121 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.3698, allocations: 202 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3698, allocations: 192 / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.3698, allocations: 7.938 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.3698, allocations: 0 / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007531/0.3706, allocations: 227.6 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.3716, allocations: 456 kB / 1.122 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.372, allocations: 150.5 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.3725, allocations: 144.7 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.379e-05/0.3725, allocations: 8 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3726, allocations: 30.56 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.122e-06/0.3726, allocations: 0 / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.001579/0.3741, allocations: 475.9 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3742, allocations: 59.41 kB / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.3743, allocations: 148.7 kB / 1.122 GB, free: 13.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.3744, allocations: 33.7 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.3744, allocations: 108.5 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.3745, allocations: 71.44 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.3746, allocations: 29.7 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3747, allocations: 326.8 kB / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.3752, allocations: 143.8 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.3756, allocations: 131.9 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000828/0.3764, allocations: 300.3 kB / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3764, allocations: 0 / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008962/0.3773, allocations: 329.3 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3773, allocations: 10.97 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.3773, allocations: 3.984 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3774, allocations: 0 / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.3776, allocations: 39.95 kB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3776, allocations: 8.172 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.3778, allocations: 35.84 kB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.3778, allocations: 7.984 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001494/0.378, allocations: 133.8 kB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.378, allocations: 11.91 kB / 1.124 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009863/0.379, allocations: 370.1 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.379, allocations: 0 / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.379, allocations: 0 / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.379, allocations: 11.88 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.3793, allocations: 197.2 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3793, allocations: 0 / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.3795, allocations: 39.83 kB / 1.125 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3795, allocations: 4 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3795, allocations: 0 / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3795, allocations: 0 / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3795, allocations: 0 / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009759/0.3805, allocations: 439.1 kB / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.3805, allocations: 19.84 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3805, allocations: 3.984 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.3807, allocations: 27.97 kB / 1.125 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.3808, allocations: 15.97 kB / 1.125 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3808, allocations: 4 kB / 1.125 GB, free: 10.33 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.384e-05/0.3809, allocations: 117.8 kB / 1.125 GB, free: 10.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3809, allocations: 0 / 1.125 GB, free: 10.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003195/0.3812, allocations: 39.94 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002629/0.3815, allocations: 133.2 kB / 1.125 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009909/0.3825, allocations: 359.1 kB / 1.126 GB, free: 9.676 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3825, allocations: 4 kB / 1.126 GB, free: 9.672 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.383, allocations: 223.2 kB / 1.126 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.3833, allocations: 15.91 kB / 1.126 GB, free: 9.426 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.384, allocations: 363.1 kB / 1.126 GB, free: 9.043 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3842, allocations: 123 kB / 1.127 GB, free: 8.906 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.363e-05/0.3843, allocations: 11.98 kB / 1.127 GB, free: 8.895 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.3843, allocations: 16.5 kB / 1.127 GB, free: 8.879 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/0.3843, allocations: 0 / 1.127 GB, free: 8.879 MB / 1.076 GB Notification: Performance of Templates: time 0.006233/0.3905, allocations: 2.156 MB / 1.129 GB, free: 6.766 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.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.83894295594655]