Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 289.9 MB / 297.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009916/0.0009917, allocations: 172.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 90.97 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.458e-05, allocations: 16.16 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7475, allocations: 116.3 MB / 0.9733 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.9512, allocations: 138.2 MB / 1.108 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.9514, allocations: 68.59 kB / 1.108 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009613/0.9611, allocations: 3.516 MB / 1.112 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9611, allocations: 0 / 1.112 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.9611, allocations: 4 kB / 1.112 GB, free: 8.52 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008549/0.962, allocations: 489.9 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.9621, allocations: 8.031 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.9621, allocations: 15.81 kB / 1.112 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.9624, allocations: 202.8 kB / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.9624, allocations: 0 / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.9625, allocations: 4 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002039/0.9627, allocations: 83.92 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.9629, allocations: 109.6 kB / 1.113 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9629, allocations: 0 / 1.113 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.9629, allocations: 0 / 1.113 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.9629, allocations: 8 kB / 1.113 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009413/0.9639, allocations: 492.8 kB / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.964, allocations: 85.12 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.9641, allocations: 64.84 kB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.9642, allocations: 7.953 kB / 1.113 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.9642, allocations: 36.62 kB / 1.113 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.9642, allocations: 0 / 1.113 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0004031/0.9646, allocations: 157.4 kB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.9647, allocations: 58.69 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.9648, allocations: 127.2 kB / 1.114 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.9648, allocations: 29.7 kB / 1.114 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.9649, allocations: 108.4 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.965, allocations: 43.27 kB / 1.114 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.965, allocations: 0 / 1.114 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9651, allocations: 326.8 kB / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.09e-05/0.9652, allocations: 51.98 kB / 1.114 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/0.9653, allocations: 51.98 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.9655, allocations: 68.88 kB / 1.114 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9655, allocations: 7.938 kB / 1.114 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002879/0.9658, allocations: 155 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.9658, allocations: 4 kB / 1.114 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.9658, allocations: 3.953 kB / 1.114 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.9659, allocations: 4 kB / 1.114 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.9661, allocations: 51.89 kB / 1.114 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.9661, allocations: 0 / 1.114 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.9663, allocations: 51.8 kB / 1.114 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.9664, allocations: 11.98 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.844e-05/0.9665, allocations: 101 kB / 1.115 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.9665, allocations: 7.906 kB / 1.115 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.9669, allocations: 194.2 kB / 1.115 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.9669, allocations: 3.953 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9669, allocations: 0 / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9669, allocations: 0 / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.9672, allocations: 222 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.9672, allocations: 4 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.9674, allocations: 51.89 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9674, allocations: 0 / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.9674, allocations: 1.062 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.9675, allocations: 4 kB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.9675, allocations: 3.953 kB / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.9678, allocations: 269.6 kB / 1.115 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.9679, allocations: 88.92 kB / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.9679, allocations: 0 / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.9681, allocations: 44.7 kB / 1.115 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.9682, allocations: 19.92 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.9682, allocations: 5.875 kB / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.144e-05/0.9683, allocations: 104.9 kB / 1.116 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9683, allocations: 0 / 1.116 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003074/0.9686, allocations: 39.88 kB / 1.116 GB, free: 4.246 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/0.9689, allocations: 123.2 kB / 1.116 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.9692, allocations: 199.4 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9692, allocations: 2.062 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.9693, allocations: 135.4 kB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.9696, allocations: 19.92 kB / 1.116 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.9701, allocations: 200.9 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.9705, allocations: 0.7245 MB / 1.117 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.213e-05/0.9706, allocations: 15.97 kB / 1.117 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.9706, allocations: 11.44 kB / 1.117 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.9706, allocations: 4 kB / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of Templates: time 0.004574/0.9752, allocations: 1.498 MB / 1.118 GB, free: 1.301 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)