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.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.001713/0.001713, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002027/0.002027, allocations: 199.8 kB / 22.17 MB, free: 5.211 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.503/1.503, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.789/2.789, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.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: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 75.88 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8679/0.87, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.003044/0.8731, allocations: 0.8482 MB / 1.275 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.8748, allocations: 1.022 MB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.649e-05/0.8748, allocations: 0 / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.875, allocations: 7.875 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.875, allocations: 27.73 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.8755, allocations: 91.81 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.8757, allocations: 123.6 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.8759, allocations: 37.03 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.809e-05/0.876, allocations: 51.84 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.8761, allocations: 59.73 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.8762, allocations: 12 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.8763, allocations: 95.78 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.753e-05/0.8764, allocations: 47.84 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.8765, allocations: 63.55 kB / 1.277 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.8769, allocations: 213.7 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.8769, allocations: 0 / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.135e-06/0.8769, allocations: 0 / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.8769, allocations: 0 / 1.277 GB, free: 1.867 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.001054/0.878, allocations: 0.4908 MB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.878, allocations: 8.031 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.8781, allocations: 20.8 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.8783, allocations: 204.1 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.8784, allocations: 8.375 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.8784, allocations: 12.36 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.879, allocations: 198.1 kB / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.879, allocations: 192 / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.879, allocations: 7.938 kB / 1.278 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.8791, allocations: 4 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.8798, allocations: 227.7 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.8809, allocations: 0.5276 MB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.8813, allocations: 158.5 kB / 1.279 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.8817, allocations: 136.8 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.907e-05/0.8818, allocations: 7.984 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.8818, allocations: 46.5 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.8818, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001438/0.8833, allocations: 472 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.8833, allocations: 59.34 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.8835, allocations: 157 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.8835, allocations: 25.7 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.8836, allocations: 108.6 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.8836, allocations: 79.3 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.8837, allocations: 33.7 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8839, allocations: 322.8 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.8843, allocations: 135.8 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.8847, allocations: 135.9 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.8855, allocations: 295.5 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8855, allocations: 0 / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000865/0.8863, allocations: 333.2 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.8864, allocations: 4 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.8864, allocations: 4 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.8864, allocations: 4 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.8866, allocations: 39.95 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8866, allocations: 3.938 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.8868, allocations: 39.84 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.8868, allocations: 0 / 1.281 GB, free: 13.41 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.0001435/0.887, allocations: 148.3 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.887, allocations: 15.91 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/0.888, allocations: 366.2 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.888, allocations: 0 / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.888, allocations: 3.938 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.888, allocations: 4 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.8883, allocations: 261.5 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.8883, allocations: 3.984 kB / 1.282 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.8885, allocations: 31.95 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.8885, allocations: 4 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.8885, allocations: 8 kB / 1.282 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8885, allocations: 0 / 1.282 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8885, allocations: 3.938 kB / 1.282 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.8895, allocations: 443.1 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.8895, allocations: 96.89 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.8896, allocations: 4 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.8898, allocations: 27.95 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.8898, allocations: 15.92 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.8899, allocations: 4 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.262e-05/0.8899, allocations: 117.9 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8899, allocations: 0 / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002927/0.8902, allocations: 43.89 kB / 1.282 GB, free: 11.75 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.0002688/0.8905, allocations: 123.8 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009566/0.8915, allocations: 363 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8915, allocations: 0 / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.8919, allocations: 223.3 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.8923, allocations: 25.8 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.8929, allocations: 363.1 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.8933, allocations: 0.7392 MB / 1.284 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.928e-05/0.8933, allocations: 19.95 kB / 1.284 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.8934, allocations: 11.44 kB / 1.284 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.8934, allocations: 0 / 1.284 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of Templates: time 0.005299/0.8987, allocations: 2.075 MB / 1.286 GB, free: 7.758 MB / 0.9825 GB " [Timeout remaining time 299] 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 gbode -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_2/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.836032898165286]