Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001641/0.001641, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00185/0.00185, allocations: 214 kB / 22.25 MB, free: 4.855 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.621/1.621, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.539/3.539, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002106/0.002106, allocations: 72.64 kB / 1.186 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4099, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.00229/0.4121, allocations: 0.8115 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.4137, allocations: 1.034 MB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.4138, allocations: 3.938 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.4139, allocations: 15.8 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.65e-05/0.414, allocations: 23.78 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.4144, allocations: 87.84 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.4146, allocations: 127.6 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.4148, allocations: 29.3 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.029e-05/0.4149, allocations: 59.83 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.415, allocations: 51.77 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.415, allocations: 12 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.4152, allocations: 87.84 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.4153, allocations: 47.83 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/0.4153, allocations: 47.67 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.4157, allocations: 215 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4157, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4157, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.4157, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 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.0009331/0.4166, allocations: 421.4 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4167, allocations: 12.03 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.4167, allocations: 16.8 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.417, allocations: 150.2 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.417, allocations: 4.375 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.417, allocations: 8.375 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.4176, allocations: 211.6 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4176, allocations: 192 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.4176, allocations: 7.938 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4176, allocations: 0 / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.4183, allocations: 227.7 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009535/0.4193, allocations: 444.1 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.4197, allocations: 150.5 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.4202, allocations: 140.8 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.103e-05/0.4202, allocations: 11.98 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.4202, allocations: 34.5 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.293e-06/0.4202, allocations: 0 / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001442/0.4217, allocations: 479.5 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.4217, allocations: 55.39 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.4219, allocations: 156.2 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4219, allocations: 25.7 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.422, allocations: 108.5 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.4221, allocations: 75.38 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.4222, allocations: 37.7 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.4224, allocations: 326.8 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.4228, allocations: 127.9 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.4232, allocations: 143.9 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008105/0.424, allocations: 306 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.424, allocations: 3.938 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008746/0.4249, allocations: 337.3 kB / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4249, allocations: 4 kB / 1.37 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.4249, allocations: 3.984 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.4249, allocations: 4 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.4251, allocations: 31.95 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4252, allocations: 0 / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.4253, allocations: 47.78 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.4254, allocations: 4 kB / 1.37 GB, free: 6.703 MB / 1.061 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.0001627/0.4255, allocations: 139.7 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.4256, allocations: 15.91 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009602/0.4265, allocations: 362.5 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4265, allocations: 0 / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4265, allocations: 4 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4265, allocations: 3.938 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.4268, allocations: 185.5 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4268, allocations: 0 / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.427, allocations: 43.95 kB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.427, allocations: 0 / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.427, allocations: 0 / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.427, allocations: 0 / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.427, allocations: 4 kB / 1.371 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.428, allocations: 443 kB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.428, allocations: 19.78 kB / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.428, allocations: 0 / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.4282, allocations: 31.95 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.4283, allocations: 11.98 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.4283, allocations: 11.98 kB / 1.372 GB, free: 5.391 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.946e-05/0.4284, allocations: 112.2 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4284, allocations: 0 / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002804/0.4287, allocations: 43.89 kB / 1.372 GB, free: 5.238 MB / 1.061 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.0002283/0.4289, allocations: 119.2 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009205/0.4298, allocations: 367.1 kB / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4298, allocations: 0 / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.4303, allocations: 219.3 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.4307, allocations: 23.92 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007314/0.4314, allocations: 351 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.4316, allocations: 128 kB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.668e-05/0.4316, allocations: 19.97 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.4317, allocations: 11.44 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4317, allocations: 0 / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of Templates: time 0.006358/0.438, allocations: 2.263 MB / 1.375 GB, free: 1.715 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.983163196593523]