Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.887/1.887, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001664/0.001664, allocations: 181 kB / 377.1 MB, free: 1.52 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.945/1.945, allocations: 205.4 MB / 0.6367 GB, free: 8.535 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.0009309/0.0009307, allocations: 91.17 kB / 0.751 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005062, allocations: 12 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3142, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7866/1.101, allocations: 138.8 MB / 1.124 GB, free: 35.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.101, allocations: 67.77 kB / 1.124 GB, free: 35.74 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008505/1.11, allocations: 3.926 MB / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.685e-06/1.11, allocations: 0 / 1.128 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.037e-06/1.11, allocations: 0 / 1.128 GB, free: 32.91 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004436/1.11, allocations: 399.1 kB / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.11, allocations: 8.031 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/1.11, allocations: 6.938 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/1.11, allocations: 183 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/1.11, allocations: 10.47 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/1.111, allocations: 11.44 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/1.111, allocations: 80.69 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/1.111, allocations: 0.625 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.111, allocations: 0.6562 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.111, allocations: 0 / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.011e-05/1.111, allocations: 44.47 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/1.111, allocations: 347.5 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/1.111, allocations: 113.1 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/1.112, allocations: 6.047 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/1.112, allocations: 88.36 kB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/1.112, allocations: 0 / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002745/1.112, allocations: 159.9 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.112, allocations: 51.41 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/1.112, allocations: 121.2 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/1.112, allocations: 25.7 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/1.112, allocations: 92.25 kB / 1.129 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/1.112, allocations: 27.25 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/1.112, allocations: 4.75 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.462e-05/1.112, allocations: 318.2 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/1.112, allocations: 35.56 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.807e-05/1.112, allocations: 62.33 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/1.112, allocations: 36.2 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/1.112, allocations: 0 / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001567/1.113, allocations: 132.1 kB / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.113, allocations: 8 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.113, allocations: 0.5625 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.113, allocations: 0 / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/1.113, allocations: 12.03 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.113, allocations: 0 / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/1.113, allocations: 8.031 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/1.113, allocations: 22.16 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.073e-05/1.113, allocations: 127 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/1.113, allocations: 7.906 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/1.113, allocations: 15.89 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.113, allocations: 0.8438 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.113, allocations: 0 / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.113, allocations: 0 / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/1.113, allocations: 415.2 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.113, allocations: 0 / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/1.113, allocations: 7.516 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/1.113, allocations: 0 / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/1.113, allocations: 4.875 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.113, allocations: 1.844 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/1.113, allocations: 3.938 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/1.114, allocations: 222.6 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/1.114, allocations: 92.25 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/1.114, allocations: 7.594 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/1.114, allocations: 0 / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/1.114, allocations: 7.562 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/1.114, allocations: 27.61 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.668e-05/1.114, allocations: 95.31 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.114, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002177/1.114, allocations: 23.95 kB / 1.131 GB, free: 29.47 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: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001178/1.114, allocations: 99.91 kB / 1.131 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001661/1.114, allocations: 88.97 kB / 1.131 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.114, allocations: 0 / 1.131 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/1.114, allocations: 51.86 kB / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/1.115, allocations: 65.83 kB / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/1.115, allocations: 211.6 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/1.115, allocations: 0.695 MB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.777e-05/1.115, allocations: 15.2 kB / 1.132 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/1.115, allocations: 18.8 kB / 1.132 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of SimCode: time 3.5e-07/1.115, allocations: 0 / 1.132 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.003363/1.119, allocations: 1.481 MB / 1.134 GB, free: 27.44 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)