Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 190.9 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices,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.Templates.Plants.Controls.Utilities.Validation.SortWithIndices") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices,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.Templates.Plants.Controls.Utilities.Validation.SortWithIndices") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 1.109 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8023, allocations: 168.7 MB / 1.274 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.002472/0.8048, allocations: 0.8471 MB / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.8064, allocations: 1.01 MB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.8065, allocations: 4 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.8066, allocations: 19.8 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.8067, allocations: 23.8 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.8071, allocations: 87.83 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.8073, allocations: 123.6 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.8075, allocations: 40.83 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.8076, allocations: 51.83 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.8077, allocations: 55.77 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.8077, allocations: 12 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.8079, allocations: 103.8 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.8079, allocations: 39.84 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.698e-05/0.808, allocations: 63.59 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.8083, allocations: 213.9 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8083, allocations: 0 / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8083, allocations: 4 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.8083, allocations: 0 / 1.277 GB, free: 1.934 MB / 0.9669 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.001008/0.8093, allocations: 0.4907 MB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.8094, allocations: 8.031 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.8094, allocations: 20.8 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.8098, allocations: 208.1 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.8098, allocations: 4.375 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.8098, allocations: 8.375 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006903/0.8105, allocations: 210.1 kB / 1.278 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8105, allocations: 4.125 kB / 1.278 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.8105, allocations: 3.938 kB / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.8105, allocations: 4 kB / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008176/0.8113, allocations: 219.8 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.8124, allocations: 0.5314 MB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.8129, allocations: 146.5 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/0.8133, allocations: 144.7 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.762e-05/0.8134, allocations: 4 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.8134, allocations: 30.56 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.293e-06/0.8134, allocations: 0 / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.00155/0.815, allocations: 480 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.815, allocations: 63.33 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.8152, allocations: 157.2 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.8152, allocations: 25.7 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.8153, allocations: 104.6 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.8154, allocations: 71.33 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.8154, allocations: 33.7 kB / 1.28 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.8156, allocations: 334.8 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.816, allocations: 135.8 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.8165, allocations: 127.9 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/0.8173, allocations: 295 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8173, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009698/0.8183, allocations: 340.5 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8183, allocations: 4 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.8183, allocations: 7.922 kB / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8183, allocations: 0 / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.8186, allocations: 39.95 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.8186, allocations: 3.938 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.8188, allocations: 43.84 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.8188, allocations: 0 / 1.281 GB, free: 13.48 MB / 0.9825 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.0001472/0.8189, allocations: 137.8 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.819, allocations: 15.84 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.82, allocations: 366.5 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.82, allocations: 0 / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.82, allocations: 3.938 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.82, allocations: 0 / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.8204, allocations: 269.4 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.8204, allocations: 8 kB / 1.282 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.8206, allocations: 31.95 kB / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8206, allocations: 0 / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.8206, allocations: 12 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8206, allocations: 0 / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8206, allocations: 3.938 kB / 1.282 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.8217, allocations: 439.1 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.8218, allocations: 96.94 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.8218, allocations: 0 / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.822, allocations: 31.95 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.8221, allocations: 19.92 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.8221, allocations: 4 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.062e-05/0.8222, allocations: 108.1 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8222, allocations: 0 / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003045/0.8225, allocations: 47.88 kB / 1.282 GB, free: 11.82 MB / 0.9825 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.0002343/0.8227, allocations: 122.3 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.8237, allocations: 378.1 kB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8237, allocations: 0 / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005142/0.8243, allocations: 215.3 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.8246, allocations: 20.69 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.8252, allocations: 360.6 kB / 1.283 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.8256, allocations: 0.7383 MB / 1.284 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.267e-05/0.8257, allocations: 15.92 kB / 1.284 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.8257, allocations: 11.44 kB / 1.284 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8257, allocations: 3.938 kB / 1.284 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of Templates: time 0.005369/0.8311, allocations: 2.092 MB / 1.286 GB, free: 7.828 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_SortWithIndices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.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.575426038820297]