Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 285.4 MB / 298 MB, free: 6.008 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.001192/0.001192, allocations: 172.8 kB / 366.4 MB, free: 2.098 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.581/1.581, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0007835/0.0007835, allocations: 97.06 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.565e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5743/0.5744, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.7472, allocations: 137.9 MB / 1.106 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.7475, allocations: 71.31 kB / 1.106 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009485/0.757, allocations: 3.534 MB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.233e-06/0.757, allocations: 0 / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.757, allocations: 4.656 kB / 1.109 GB, free: 10.38 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.0006886/0.7577, allocations: 471.1 kB / 1.11 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.7578, allocations: 12.03 kB / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.7578, allocations: 15.75 kB / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.758, allocations: 221.3 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.758, allocations: 4 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.7581, allocations: 8 kB / 1.11 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.7583, allocations: 120.5 kB / 1.11 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.7583, allocations: 0 / 1.11 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.7584, allocations: 4 kB / 1.11 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.7584, allocations: 7.984 kB / 1.11 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.7585, allocations: 83.92 kB / 1.11 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.7594, allocations: 0.5082 MB / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.7595, allocations: 82.5 kB / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.7596, allocations: 68.84 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.7597, allocations: 12.02 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.7597, allocations: 30.56 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.7597, allocations: 0 / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0003093/0.76, allocations: 163.4 kB / 1.111 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.7601, allocations: 51.41 kB / 1.111 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.7602, allocations: 133.4 kB / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.7602, allocations: 25.7 kB / 1.111 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.7603, allocations: 112.4 kB / 1.111 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.7603, allocations: 47.27 kB / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.7603, allocations: 4 kB / 1.111 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.7604, allocations: 326.8 kB / 1.111 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/0.7605, allocations: 51.98 kB / 1.112 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.7606, allocations: 51.98 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.7607, allocations: 59.91 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7607, allocations: 0 / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002263/0.7609, allocations: 159.2 kB / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.761, allocations: 9.406 kB / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.761, allocations: 4 kB / 1.112 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.761, allocations: 0 / 1.112 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.7613, allocations: 55.89 kB / 1.112 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7613, allocations: 3.938 kB / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.7615, allocations: 55.67 kB / 1.112 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.7615, allocations: 5.219 kB / 1.112 GB, free: 7.262 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 6.895e-05/0.7616, allocations: 109 kB / 1.112 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.7616, allocations: 15.77 kB / 1.112 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.7619, allocations: 186.4 kB / 1.112 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.762, allocations: 0 / 1.112 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.762, allocations: 0 / 1.112 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.762, allocations: 0 / 1.112 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.7622, allocations: 253.5 kB / 1.112 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.7622, allocations: 4 kB / 1.112 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.7625, allocations: 55.88 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.7625, allocations: 7.953 kB / 1.113 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.7625, allocations: 4 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7625, allocations: 0 / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7625, allocations: 2.906 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.7628, allocations: 259.9 kB / 1.113 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.7628, allocations: 84.92 kB / 1.113 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.7629, allocations: 11.94 kB / 1.113 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.7631, allocations: 43.95 kB / 1.113 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.7632, allocations: 11.98 kB / 1.113 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.7632, allocations: 4 kB / 1.113 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.707e-05/0.7632, allocations: 110.1 kB / 1.113 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.445e-06/0.7633, allocations: 0 / 1.113 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002585/0.7635, allocations: 47.88 kB / 1.113 GB, free: 5.98 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.0001931/0.7637, allocations: 123.2 kB / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.764, allocations: 203.1 kB / 1.113 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.764, allocations: 4 kB / 1.113 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.7642, allocations: 139.3 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.7644, allocations: 15.98 kB / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.7648, allocations: 209.6 kB / 1.114 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.765, allocations: 0.7279 MB / 1.114 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.403e-05/0.7651, allocations: 11.98 kB / 1.114 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.7652, allocations: 11.44 kB / 1.114 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/0.7652, allocations: 0 / 1.114 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of Templates: time 0.003887/0.769, allocations: 1.632 MB / 1.116 GB, free: 2.898 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)