Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.615/1.615, allocations: 297.8 MB / 313.7 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 180.5 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007159/0.0007159, allocations: 92.22 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 15.94 kB / 0.9088 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.5475, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.7144, allocations: 141.2 MB / 1.164 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.7147, allocations: 70.73 kB / 1.164 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009082/0.7238, allocations: 3.556 MB / 1.168 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7238, allocations: 0 / 1.168 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.7238, allocations: 5.312 kB / 1.168 GB, free: 15.81 MB / 0.7448 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.0007212/0.7246, allocations: 496.7 kB / 1.168 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.7246, allocations: 8.031 kB / 1.168 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.7247, allocations: 19.7 kB / 1.168 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.7249, allocations: 207.5 kB / 1.168 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.7249, allocations: 13.84 kB / 1.168 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.7249, allocations: 4.375 kB / 1.168 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.7255, allocations: 214.5 kB / 1.169 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7255, allocations: 192 / 1.169 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.7255, allocations: 7.938 kB / 1.169 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.7255, allocations: 4.656 kB / 1.169 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.7262, allocations: 249.1 kB / 1.169 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.7272, allocations: 0.5078 MB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.7276, allocations: 170.8 kB / 1.17 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.7279, allocations: 153 kB / 1.17 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.728, allocations: 0.6094 kB / 1.17 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.728, allocations: 35.5 kB / 1.17 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.728, allocations: 4 kB / 1.17 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.001187/0.7292, allocations: 480.2 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.7293, allocations: 55.95 kB / 1.17 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.7294, allocations: 150 kB / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.7294, allocations: 29.7 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.7295, allocations: 112.2 kB / 1.171 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.7295, allocations: 43.69 kB / 1.171 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.7295, allocations: 1.125 kB / 1.171 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.7296, allocations: 327.2 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.73, allocations: 136.4 kB / 1.171 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.7304, allocations: 139.9 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.7311, allocations: 295.7 kB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7311, allocations: 0 / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007454/0.7318, allocations: 326.3 kB / 1.172 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7318, allocations: 4.625 kB / 1.172 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.7319, allocations: 4.703 kB / 1.172 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7319, allocations: 0 / 1.172 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.7321, allocations: 56.45 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.7321, allocations: 4.547 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.7323, allocations: 52.27 kB / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.7324, allocations: 4.516 kB / 1.172 GB, free: 11.95 MB / 0.7448 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 9.484e-05/0.7325, allocations: 125.2 kB / 1.172 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.7325, allocations: 13.55 kB / 1.172 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008693/0.7334, allocations: 360.4 kB / 1.172 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.7334, allocations: 3.938 kB / 1.172 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.7334, allocations: 8.594 kB / 1.172 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.7334, allocations: 5.297 kB / 1.172 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.7337, allocations: 246.6 kB / 1.173 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.7337, allocations: 1.219 kB / 1.173 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.7339, allocations: 52.19 kB / 1.173 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.7339, allocations: 0 / 1.173 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.7339, allocations: 1.688 kB / 1.173 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7339, allocations: 4.875 kB / 1.173 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7339, allocations: 3.938 kB / 1.173 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.7348, allocations: 431.1 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.7349, allocations: 93.61 kB / 1.173 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.7349, allocations: 0.75 kB / 1.173 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.7351, allocations: 39.34 kB / 1.173 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.7352, allocations: 21.7 kB / 1.173 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.7352, allocations: 9.562 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.921e-05/0.7353, allocations: 105.8 kB / 1.173 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7353, allocations: 0.9375 kB / 1.173 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000303/0.7356, allocations: 44.52 kB / 1.173 GB, free: 10.52 MB / 0.7448 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.0002128/0.7358, allocations: 121.9 kB / 1.173 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008201/0.7367, allocations: 367.3 kB / 1.174 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7367, allocations: 4 kB / 1.174 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.7371, allocations: 222.1 kB / 1.174 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.7374, allocations: 25.33 kB / 1.174 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.7379, allocations: 325 kB / 1.174 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.7382, allocations: 0.7211 MB / 1.175 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.016e-05/0.7383, allocations: 14.19 kB / 1.175 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.7383, allocations: 11.44 kB / 1.175 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.7383, allocations: 0 / 1.175 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of Templates: time 0.004179/0.7425, allocations: 1.611 MB / 1.177 GB, free: 7.59 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)