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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 293 MB / 309 MB, free: 4.824 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.0009122/0.0009122, allocations: 160.6 kB / 378.7 MB, free: 1.004 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.763/1.763, allocations: 205.4 MB / 0.6383 GB, free: 9.168 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.001029/0.001029, allocations: 92.84 kB / 0.7527 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005646/0.0005647, allocations: 16 kB / 0.8768 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2721, allocations: 116.4 MB / 0.9905 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7461/1.018, allocations: 139 MB / 1.126 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/1.018, allocations: 68.11 kB / 1.126 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008297/1.027, allocations: 3.557 MB / 1.13 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.104e-06/1.027, allocations: 0 / 1.13 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.013e-05/1.027, allocations: 0 / 1.13 GB, free: 32.5 MB / 0.7292 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.0006263/1.027, allocations: 498.8 kB / 1.13 GB, free: 32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/1.028, allocations: 12.03 kB / 1.13 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/1.028, allocations: 12.75 kB / 1.13 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/1.028, allocations: 210.5 kB / 1.13 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/1.028, allocations: 10.05 kB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/1.028, allocations: 8.375 kB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/1.028, allocations: 200.2 kB / 1.131 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.028, allocations: 192 / 1.131 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.028, allocations: 11.94 kB / 1.131 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.028, allocations: 0 / 1.131 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/1.029, allocations: 248.7 kB / 1.131 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007888/1.03, allocations: 0.5259 MB / 1.131 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/1.03, allocations: 166.5 kB / 1.132 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/1.03, allocations: 157 kB / 1.132 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/1.031, allocations: 7.938 kB / 1.132 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/1.031, allocations: 30.56 kB / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/1.031, allocations: 0 / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.001115/1.032, allocations: 474.1 kB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/1.032, allocations: 63.28 kB / 1.132 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/1.032, allocations: 146.9 kB / 1.132 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/1.032, allocations: 29.7 kB / 1.132 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/1.032, allocations: 107.9 kB / 1.133 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/1.032, allocations: 46.77 kB / 1.133 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.032, allocations: 0 / 1.133 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/1.032, allocations: 326.9 kB / 1.133 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/1.032, allocations: 145.5 kB / 1.133 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/1.033, allocations: 131.8 kB / 1.133 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/1.033, allocations: 294.3 kB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.033, allocations: 0 / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007013/1.034, allocations: 331.8 kB / 1.134 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.034, allocations: 4.562 kB / 1.134 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/1.034, allocations: 5 kB / 1.134 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.034, allocations: 1.406 kB / 1.134 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/1.034, allocations: 53.64 kB / 1.134 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.034, allocations: 4.719 kB / 1.134 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/1.035, allocations: 58.25 kB / 1.134 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/1.035, allocations: 4.219 kB / 1.134 GB, free: 28.62 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/1.035, allocations: 133.3 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/1.035, allocations: 7.906 kB / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007837/1.036, allocations: 355.5 kB / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.036, allocations: 0 / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.036, allocations: 3.938 kB / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.036, allocations: 8.234 kB / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/1.036, allocations: 243.3 kB / 1.135 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.036, allocations: 4.656 kB / 1.135 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/1.036, allocations: 49.78 kB / 1.135 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.036, allocations: 5.406 kB / 1.135 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/1.036, allocations: 4.562 kB / 1.135 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.036, allocations: 0 / 1.135 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.036, allocations: 3.938 kB / 1.135 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/1.037, allocations: 441.3 kB / 1.135 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/1.037, allocations: 89.52 kB / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/1.037, allocations: 0.5625 kB / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/1.037, allocations: 49.3 kB / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/1.037, allocations: 19.45 kB / 1.135 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/1.037, allocations: 0 / 1.135 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.498e-05/1.037, allocations: 111.5 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-07/1.037, allocations: 1.031 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003083/1.038, allocations: 43.91 kB / 1.135 GB, free: 27.18 MB / 0.7292 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 () * 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 (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.0002489/1.038, allocations: 126.7 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000805/1.039, allocations: 364.9 kB / 1.136 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.039, allocations: 0 / 1.136 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004192/1.039, allocations: 226.4 kB / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/1.039, allocations: 22.06 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/1.04, allocations: 330.1 kB / 1.136 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/1.04, allocations: 0.7216 MB / 1.137 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.366e-05/1.04, allocations: 17.72 kB / 1.137 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/1.04, allocations: 11.44 kB / 1.137 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of SimCode: time 4.8e-07/1.04, allocations: 0 / 1.137 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.005416/1.046, allocations: 1.606 MB / 1.139 GB, free: 24.57 MB / 0.7292 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)