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.002081/0.002081, 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.002367/0.002367, allocations: 191.6 kB / 22.17 MB, free: 5.648 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.521/1.521, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.849/2.849, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.002007/0.002007, allocations: 69.56 kB / 1.109 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4166, allocations: 168.7 MB / 1.274 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.002688/0.4193, allocations: 0.8336 MB / 1.275 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.4211, allocations: 1.014 MB / 1.276 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.4212, allocations: 4 kB / 1.276 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.4214, allocations: 15.8 kB / 1.276 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.453e-05/0.4215, allocations: 23.81 kB / 1.276 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.4221, allocations: 91.81 kB / 1.276 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.4223, allocations: 127.6 kB / 1.276 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.4225, allocations: 33.05 kB / 1.276 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.4227, allocations: 55.83 kB / 1.276 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.4228, allocations: 63.73 kB / 1.276 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.4228, allocations: 8 kB / 1.276 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.423, allocations: 91.86 kB / 1.276 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.4231, allocations: 43.84 kB / 1.276 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.4232, allocations: 71.53 kB / 1.276 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.4236, allocations: 203.1 kB / 1.277 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4237, allocations: 0 / 1.277 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4237, allocations: 0 / 1.277 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.4237, allocations: 0 / 1.277 GB, free: 8.625 MB / 0.9825 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.001135/0.4248, allocations: 0.4946 MB / 1.277 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4248, allocations: 12.03 kB / 1.277 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.4249, allocations: 16.8 kB / 1.277 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.4252, allocations: 212.1 kB / 1.277 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.4253, allocations: 4.359 kB / 1.277 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.4253, allocations: 16.36 kB / 1.277 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.4259, allocations: 206 kB / 1.278 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.426, allocations: 192 / 1.278 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.426, allocations: 3.938 kB / 1.278 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.426, allocations: 0 / 1.278 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008053/0.4268, allocations: 223.8 kB / 1.278 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4279, allocations: 0.5237 MB / 1.278 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.4284, allocations: 154.4 kB / 1.278 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/0.4288, allocations: 144.7 kB / 1.279 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-05/0.4288, allocations: 4 kB / 1.279 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4289, allocations: 34.56 kB / 1.279 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.4289, allocations: 0 / 1.279 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001542/0.4304, allocations: 479.8 kB / 1.279 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.4305, allocations: 55.34 kB / 1.279 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.4307, allocations: 156.4 kB / 1.279 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.4307, allocations: 29.7 kB / 1.279 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.4308, allocations: 108.6 kB / 1.279 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.4309, allocations: 71.45 kB / 1.279 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.431, allocations: 33.7 kB / 1.28 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.4312, allocations: 326.8 kB / 1.28 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.4316, allocations: 136.1 kB / 1.28 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.432, allocations: 135.8 kB / 1.28 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.4328, allocations: 295 kB / 1.28 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4328, allocations: 0 / 1.28 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000914/0.4337, allocations: 336.5 kB / 1.281 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.4338, allocations: 14.02 kB / 1.281 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.4338, allocations: 0 / 1.281 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4338, allocations: 0 / 1.281 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.4341, allocations: 43.89 kB / 1.281 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4341, allocations: 3.938 kB / 1.281 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.4343, allocations: 35.84 kB / 1.281 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.4343, allocations: 7.938 kB / 1.281 GB, free: 4.16 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.0001628/0.4345, allocations: 137.8 kB / 1.281 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.4345, allocations: 15.91 kB / 1.281 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009995/0.4355, allocations: 362.4 kB / 1.281 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.4355, allocations: 4 kB / 1.281 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4355, allocations: 3.938 kB / 1.281 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4355, allocations: 0 / 1.281 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.4358, allocations: 265.5 kB / 1.282 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.4358, allocations: 0 / 1.282 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.4361, allocations: 35.95 kB / 1.282 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4361, allocations: 0 / 1.282 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.4361, allocations: 4 kB / 1.282 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4361, allocations: 4 kB / 1.282 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4361, allocations: 11.92 kB / 1.282 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.4371, allocations: 439.1 kB / 1.282 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.4372, allocations: 96.94 kB / 1.282 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.4372, allocations: 0 / 1.282 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.4374, allocations: 27.95 kB / 1.282 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.4375, allocations: 19.92 kB / 1.282 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.4375, allocations: 4 kB / 1.282 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001033/0.4376, allocations: 112.1 kB / 1.282 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4376, allocations: 4 kB / 1.282 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003263/0.4379, allocations: 39.89 kB / 1.282 GB, free: 2.508 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.0002683/0.4382, allocations: 119.8 kB / 1.282 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.4392, allocations: 378.1 kB / 1.283 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4392, allocations: 0 / 1.283 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.4397, allocations: 219.3 kB / 1.283 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4401, allocations: 18.77 kB / 1.283 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.4408, allocations: 368.2 kB / 1.283 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.4412, allocations: 0.7383 MB / 1.284 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.806e-05/0.4413, allocations: 19.91 kB / 1.284 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.4413, allocations: 11.44 kB / 1.284 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.4413, allocations: 3.938 kB / 1.284 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of Templates: time 0.006212/0.4475, allocations: 2.088 MB / 1.286 GB, free: 14.51 MB / 0.9981 GB " [Timeout remaining time 300] 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 cvode -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: 9.105140813160688]