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.646/1.646, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001328/0.001327, allocations: 164.9 kB / 366.7 MB, free: 1.656 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.71/1.71, allocations: 205.2 MB / 0.626 GB, free: 7.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.0007848/0.0007848, allocations: 84.59 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.776e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/0.5695, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.7366, allocations: 138 MB / 1.108 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.7368, allocations: 63.95 kB / 1.108 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00932/0.7461, allocations: 3.899 MB / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7462, allocations: 0 / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.7462, allocations: 0.6875 kB / 1.112 GB, free: 8.27 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.0003874/0.7466, allocations: 392.6 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.7466, allocations: 12.19 kB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.7467, allocations: 8.531 kB / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.7469, allocations: 186.9 kB / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.7469, allocations: 0.5312 kB / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.7469, allocations: 4.656 kB / 1.112 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.221e-05/0.747, allocations: 35.98 kB / 1.113 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.7471, allocations: 74.23 kB / 1.113 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.7471, allocations: 4.703 kB / 1.113 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.7472, allocations: 0 / 1.113 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.7472, allocations: 4.5 kB / 1.113 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.7477, allocations: 308 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.7478, allocations: 113.4 kB / 1.113 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.232e-05/0.7479, allocations: 60.86 kB / 1.113 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.7479, allocations: 4 kB / 1.113 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.7481, allocations: 90.7 kB / 1.113 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.7481, allocations: 0 / 1.113 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002034/0.7483, allocations: 106.4 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.7483, allocations: 59.41 kB / 1.113 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.7484, allocations: 115.1 kB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.7484, allocations: 30.23 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.7485, allocations: 89.14 kB / 1.114 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.7485, allocations: 15.75 kB / 1.114 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.7485, allocations: 4 kB / 1.114 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7486, allocations: 326.1 kB / 1.114 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.7487, allocations: 31.98 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.7488, allocations: 54.56 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.38e-05/0.7488, allocations: 35.92 kB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7488, allocations: 0.5312 kB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001629/0.749, allocations: 121.3 kB / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.749, allocations: 8 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.749, allocations: 0 / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.749, allocations: 0 / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.7491, allocations: 15.94 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7491, allocations: 2.25 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.7492, allocations: 0 / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.7492, allocations: 25.14 kB / 1.114 GB, free: 5.793 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 7.039e-05/0.7493, allocations: 109.8 kB / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.7493, allocations: 7.906 kB / 1.114 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.7494, allocations: 10.62 kB / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7494, allocations: 7.938 kB / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.7494, allocations: 3.094 kB / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7494, allocations: 0 / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.7497, allocations: 382 kB / 1.115 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7498, allocations: 0 / 1.115 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.7498, allocations: 7.984 kB / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7498, allocations: 0 / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.7498, allocations: 7.25 kB / 1.115 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7498, allocations: 3.938 kB / 1.115 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7498, allocations: 0 / 1.115 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.75, allocations: 214.8 kB / 1.115 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.7501, allocations: 85 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.7501, allocations: 4 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.7501, allocations: 0 / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.7502, allocations: 7.984 kB / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.7502, allocations: 28 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.7503, allocations: 92.91 kB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7503, allocations: 4 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002357/0.7505, allocations: 12 kB / 1.115 GB, free: 4.758 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.0001263/0.7507, allocations: 103.2 kB / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.7508, allocations: 81.17 kB / 1.115 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7508, allocations: 4 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.7509, allocations: 47.98 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.7513, allocations: 60.64 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.7515, allocations: 141.8 kB / 1.116 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.7518, allocations: 0.6971 MB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.983e-05/0.7518, allocations: 14.48 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.7519, allocations: 19.44 kB / 1.116 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.7519, allocations: 0 / 1.116 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of Templates: time 0.003052/0.7549, allocations: 1.43 MB / 1.118 GB, free: 2.176 MB / 0.7136 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)