Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 198.9 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 70.7 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3441, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002577/0.3468, allocations: 0.8381 MB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3484, allocations: 1.016 MB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.3485, allocations: 0 / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.3486, allocations: 15.86 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.427e-05/0.3487, allocations: 23.8 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.3491, allocations: 91.77 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3492, allocations: 123.7 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.3494, allocations: 41.11 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.3495, allocations: 55.83 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.471e-05/0.3496, allocations: 63.69 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3496, allocations: 12 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3497, allocations: 63.95 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.3498, allocations: 39.84 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.3499, allocations: 59.61 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.3501, allocations: 207.5 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3502, allocations: 7.922 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3502, allocations: 3.938 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3502, allocations: 0 / 1.071 GB, free: 7.73 MB / 0.8262 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.0008283/0.351, allocations: 490.8 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3511, allocations: 12.03 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3511, allocations: 12.75 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3513, allocations: 215.8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3513, allocations: 384 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3514, allocations: 12.38 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.3519, allocations: 207.7 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3519, allocations: 192 / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3519, allocations: 3.938 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.352, allocations: 3.984 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/0.3527, allocations: 223.8 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008887/0.3536, allocations: 0.5312 MB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.354, allocations: 174.4 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.3544, allocations: 156.7 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.3545, allocations: 7.984 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3545, allocations: 38.56 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.3546, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001347/0.3559, allocations: 470.6 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.356, allocations: 67.33 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3561, allocations: 144.7 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3561, allocations: 25.7 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.3562, allocations: 112.4 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.3562, allocations: 75.06 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.3563, allocations: 37.64 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3564, allocations: 326.8 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.3568, allocations: 131.8 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.3572, allocations: 141.2 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.358, allocations: 296.8 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.358, allocations: 0 / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008409/0.3589, allocations: 329.2 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3589, allocations: 4 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.3589, allocations: 0 / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3589, allocations: 4 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.3592, allocations: 35.95 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3592, allocations: 7.875 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.3594, allocations: 43.8 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.3594, allocations: 0 / 1.075 GB, free: 3.25 MB / 0.8262 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.0001312/0.3595, allocations: 137.8 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.3596, allocations: 11.91 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/0.3605, allocations: 362.4 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3605, allocations: 7.938 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3605, allocations: 3.938 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3605, allocations: 0 / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.3608, allocations: 281.4 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3608, allocations: 4 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.3611, allocations: 35.89 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3611, allocations: 4 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3611, allocations: 0 / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3611, allocations: 0 / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3611, allocations: 7.938 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.362, allocations: 443.9 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.3621, allocations: 88.92 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.3621, allocations: 4 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.3623, allocations: 27.95 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.3624, allocations: 15.92 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3624, allocations: 0 / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.269e-05/0.3625, allocations: 119.2 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3625, allocations: 0 / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000286/0.3628, allocations: 47.84 kB / 1.076 GB, free: 1.578 MB / 0.8262 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.0002524/0.363, allocations: 130 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009424/0.364, allocations: 391.2 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.364, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.3645, allocations: 243.2 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3648, allocations: 15.98 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.3654, allocations: 343.5 kB / 1.078 GB, free: 428 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3658, allocations: 0.7334 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.783e-05/0.3659, allocations: 19.97 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.3659, allocations: 15.44 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3659, allocations: 0 / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.005359/0.3713, allocations: 2.036 MB / 1.08 GB, free: 13.61 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1)