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.001775/0.001775, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002084/0.002084, allocations: 190.1 kB / 22.23 MB, free: 5.105 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.523/1.523, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.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.851/2.851, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 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.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.00206/0.00206, allocations: 63.91 kB / 1.11 GB, free: 6.285 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8898/0.8919, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002065/0.8939, allocations: 0.847 MB / 1.275 GB, free: 3.363 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001354/0.8953, allocations: 1.018 MB / 1.276 GB, free: 2.332 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.8954, allocations: 4 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 9.709e-05/0.8955, allocations: 11.88 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 5.921e-05/0.8955, allocations: 27.72 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.8959, allocations: 87.83 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001682/0.8961, allocations: 131.6 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.8962, allocations: 29.3 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.154e-05/0.8963, allocations: 51.83 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.8964, allocations: 59.77 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.8964, allocations: 15.94 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.8966, allocations: 95.84 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.8966, allocations: 43.83 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.8967, allocations: 63.59 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.897, allocations: 221.4 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.897, allocations: 0 / 1.277 GB, free: 1.512 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.562e-06/0.897, allocations: 4 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 8.827e-06/0.897, allocations: 0 / 1.277 GB, free: 1.508 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.0008189/0.8978, allocations: 421.4 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.8979, allocations: 8.031 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.8979, allocations: 20.8 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.8981, allocations: 154.2 kB / 1.278 GB, free: 0.8594 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.8981, allocations: 4.375 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.8981, allocations: 8.375 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.8987, allocations: 200.9 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.8987, allocations: 192 / 1.278 GB, free: 0.6484 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.8987, allocations: 7.938 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8987, allocations: 4 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007158/0.8994, allocations: 223.7 kB / 1.278 GB, free: 428 kB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009644/0.9004, allocations: 0.5032 MB / 1.279 GB, free: 15.87 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.9008, allocations: 154.5 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.9012, allocations: 138.9 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.9013, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.9013, allocations: 42.56 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.9013, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=25): time 0.001363/0.9027, allocations: 477.3 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.9027, allocations: 59.34 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.9029, allocations: 153 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.9029, allocations: 25.7 kB / 1.28 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.903, allocations: 112.6 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.903, allocations: 71.41 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.9031, allocations: 37.69 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001484/0.9032, allocations: 322.8 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.9037, allocations: 135.9 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.9041, allocations: 134.1 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007626/0.9048, allocations: 302.2 kB / 1.281 GB, free: 13.68 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9048, allocations: 4 kB / 1.281 GB, free: 13.67 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008434/0.9057, allocations: 333.2 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.9057, allocations: 4 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.9057, allocations: 4 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.9057, allocations: 0 / 1.281 GB, free: 13.33 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.9059, allocations: 35.94 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.9059, allocations: 7.875 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.9061, allocations: 39.86 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.9061, allocations: 7.984 kB / 1.281 GB, free: 13.24 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.0001378/0.9063, allocations: 136.2 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.9063, allocations: 15.91 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009356/0.9073, allocations: 362.1 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9073, allocations: 0 / 1.281 GB, free: 12.73 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.9073, allocations: 11.92 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.9073, allocations: 4 kB / 1.282 GB, free: 12.71 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.9076, allocations: 236.5 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.9076, allocations: 0 / 1.282 GB, free: 12.44 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.9078, allocations: 39.95 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.9078, allocations: 0 / 1.282 GB, free: 12.4 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.9078, allocations: 4 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.9078, allocations: 0 / 1.282 GB, free: 12.4 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9078, allocations: 4.25 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009342/0.9088, allocations: 439.1 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.9088, allocations: 23.84 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.9088, allocations: 0 / 1.282 GB, free: 11.93 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.909, allocations: 31.95 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.9091, allocations: 19.91 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.9092, allocations: 4 kB / 1.282 GB, free: 11.87 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0001219/0.9093, allocations: 109.9 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.9093, allocations: 0 / 1.282 GB, free: 11.77 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003688/0.9096, allocations: 43.89 kB / 1.282 GB, free: 11.72 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.0003691/0.91, allocations: 127.2 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.001057/0.9111, allocations: 371.1 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9111, allocations: 0 / 1.283 GB, free: 11.21 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.9116, allocations: 215.2 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.9119, allocations: 23.98 kB / 1.283 GB, free: 10.97 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008591/0.9128, allocations: 355.1 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.9133, allocations: 0.7314 MB / 1.284 GB, free: 9.832 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 8.836e-05/0.9133, allocations: 15.98 kB / 1.284 GB, free: 9.816 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.9134, allocations: 11.44 kB / 1.284 GB, free: 9.805 MB / 0.9825 GB
Notification: Performance of SimCode: time 1.393e-06/0.9134, allocations: 0 / 1.284 GB, free: 9.805 MB / 0.9825 GB
Notification: Performance of Templates: time 0.00637/0.9198, allocations: 2.146 MB / 1.286 GB, free: 7.68 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  -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/jenkins/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: 9.276699539273977]