Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.79/1.79, allocations: 285.4 MB / 298 MB, free: 5.984 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.001451/0.001451, allocations: 172.8 kB / 366.4 MB, free: 2.105 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.823/1.823, allocations: 205.1 MB / 0.6248 GB, free: 7.773 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.0009013/0.0009014, allocations: 80.94 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.657e-05/4.668e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7794/0.7795, allocations: 115.3 MB / 0.9709 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.975, allocations: 137.7 MB / 1.105 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.9753, allocations: 73.08 kB / 1.105 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009934/0.9852, allocations: 3.904 MB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9852, allocations: 0 / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.9853, allocations: 4 kB / 1.109 GB, free: 10.15 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005281/0.9858, allocations: 390 kB / 1.11 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.9859, allocations: 12.03 kB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.9859, allocations: 8.438 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.9862, allocations: 190.8 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.9862, allocations: 4 kB / 1.11 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.9863, allocations: 8 kB / 1.11 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.9865, allocations: 75.97 kB / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.9865, allocations: 3.984 kB / 1.11 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.9865, allocations: 4 kB / 1.11 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.9865, allocations: 3.984 kB / 1.11 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.472e-05/0.9866, allocations: 39.98 kB / 1.11 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.9873, allocations: 342.4 kB / 1.11 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.9875, allocations: 116.5 kB / 1.11 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.9877, allocations: 61.77 kB / 1.11 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.9877, allocations: 5.156 kB / 1.11 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.9879, allocations: 92.5 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.073e-06/0.9879, allocations: 4.688 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002779/0.9882, allocations: 114.5 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.9882, allocations: 55.34 kB / 1.111 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.9884, allocations: 124.9 kB / 1.111 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.9884, allocations: 29.7 kB / 1.111 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.9885, allocations: 88.14 kB / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.9885, allocations: 21.2 kB / 1.111 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.9885, allocations: 0 / 1.111 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9887, allocations: 318.8 kB / 1.111 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.9887, allocations: 33.3 kB / 1.111 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.761e-05/0.9888, allocations: 55.28 kB / 1.111 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.87e-05/0.9889, allocations: 40.78 kB / 1.111 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9889, allocations: 0 / 1.111 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002006/0.9891, allocations: 131.6 kB / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.9892, allocations: 4 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.9892, allocations: 4 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.9892, allocations: 0.8125 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.9893, allocations: 11.92 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.9893, allocations: 4 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.9893, allocations: 1.75 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.9894, allocations: 23.92 kB / 1.112 GB, free: 7.582 MB / 0.7136 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 () * 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 0.0001037/0.9895, allocations: 116.4 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.9895, allocations: 11.89 kB / 1.112 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.9896, allocations: 12.62 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.9896, allocations: 5.5 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.9896, allocations: 0 / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9896, allocations: 0 / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.9901, allocations: 407.2 kB / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.9901, allocations: 0 / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.9901, allocations: 5.797 kB / 1.112 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9901, allocations: 4 kB / 1.112 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.9901, allocations: 1.812 kB / 1.112 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9901, allocations: 0 / 1.112 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9901, allocations: 0 / 1.112 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.9904, allocations: 230.2 kB / 1.112 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.9904, allocations: 89 kB / 1.112 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.9904, allocations: 0 / 1.112 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.9905, allocations: 4 kB / 1.112 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.9906, allocations: 11.98 kB / 1.112 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.9906, allocations: 15.97 kB / 1.112 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.833e-05/0.9907, allocations: 101.1 kB / 1.113 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9907, allocations: 4 kB / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002406/0.9909, allocations: 20 kB / 1.113 GB, free: 6.48 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: 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) * 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.0001416/0.9911, allocations: 107.7 kB / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.9913, allocations: 92.66 kB / 1.113 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9913, allocations: 0 / 1.113 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.9914, allocations: 43.98 kB / 1.113 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.9918, allocations: 65.8 kB / 1.113 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.9921, allocations: 147.5 kB / 1.113 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.9924, allocations: 0.6965 MB / 1.114 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.812e-05/0.9925, allocations: 13.92 kB / 1.114 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.9925, allocations: 19.42 kB / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9925, allocations: 0 / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of Templates: time 0.003827/0.9963, allocations: 1.485 MB / 1.115 GB, free: 3.836 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)