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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 106.9 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001885/0.2361, allocations: 0.6198 MB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004695/0.2366, allocations: 191.4 kB / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.2367, allocations: 0 / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.83e-05/0.2368, allocations: 7.922 kB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.926e-05/0.2369, allocations: 11.92 kB / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2371, allocations: 39.84 kB / 0.7856 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.2372, allocations: 59.83 kB / 0.7857 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2374, allocations: 12 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.2374, allocations: 23.92 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.2375, allocations: 27.91 kB / 0.7858 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.2375, allocations: 4 kB / 0.7858 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.2376, allocations: 4 kB / 0.7858 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.2376, allocations: 15.98 kB / 0.7858 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.2377, allocations: 31.8 kB / 0.7858 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.2378, allocations: 67.77 kB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2378, allocations: 0 / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2378, allocations: 0 / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2378, allocations: 0 / 0.7859 GB, free: 2.047 MB / 0.6544 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.0005668/0.2384, allocations: 416.8 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2384, allocations: 8.031 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.2385, allocations: 8.844 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.2387, allocations: 184.2 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2387, allocations: 4.375 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.2387, allocations: 8.375 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2389, allocations: 82.2 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2389, allocations: 192 / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2389, allocations: 3.938 kB / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2389, allocations: 4 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.239, allocations: 43.97 kB / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.2396, allocations: 352.6 kB / 0.7869 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.2398, allocations: 118.5 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.2399, allocations: 64.86 kB / 0.7871 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.2399, allocations: 0 / 0.7871 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.2401, allocations: 95.22 kB / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2401, allocations: 3.938 kB / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003258/0.2405, allocations: 157.6 kB / 0.7874 GB, free: 352 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2405, allocations: 51.41 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.2406, allocations: 125.7 kB / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.2407, allocations: 37.69 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.2407, allocations: 84.14 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.4038/0.6446, allocations: 21.14 kB / 0.7877 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.6447, allocations: 32.11 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.6448, allocations: 322.3 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.6449, allocations: 36.3 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.645, allocations: 58.89 kB / 0.7881 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.6451, allocations: 88.53 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6451, allocations: 0 / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001958/0.6453, allocations: 137.7 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6453, allocations: 9.031 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6453, allocations: 0 / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.6454, allocations: 2.906 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.6455, allocations: 6.562 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6455, allocations: 4.234 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.993e-05/0.6456, allocations: 11.16 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/0.6456, allocations: 25.23 kB / 0.7884 GB, free: 48.21 MB / 0.6544 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 (dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],isHoliday.y,isNonWorDay.y,isWorDay.y,dayTypSat.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.646e-05/0.6457, allocations: 125.3 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.6458, allocations: 12.88 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.6458, allocations: 11 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6458, allocations: 6.281 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6458, allocations: 3.938 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6458, allocations: 2.578 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.6462, allocations: 407 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6462, allocations: 0 / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.187e-05/0.6462, allocations: 2.938 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6462, allocations: 8.156 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.6462, allocations: 6.203 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6462, allocations: 2.625 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6462, allocations: 0.6562 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.6464, allocations: 220 kB / 0.7891 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.6464, allocations: 90.78 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.6465, allocations: 0 / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.6465, allocations: 7.094 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.6466, allocations: 9.344 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.6466, allocations: 26.48 kB / 0.7893 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.796e-05/0.6467, allocations: 98.25 kB / 0.7894 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.022e-06/0.6467, allocations: 0 / 0.7894 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000239/0.6469, allocations: 19.3 kB / 0.7894 GB, free: 47.5 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.838e-05/0.647, allocations: 102.4 kB / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.6472, allocations: 102.7 kB / 0.7896 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6472, allocations: 0 / 0.7896 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.6473, allocations: 41.31 kB / 0.7896 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.6477, allocations: 68.38 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.648, allocations: 187.2 kB / 0.7899 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.6482, allocations: 0.693 MB / 0.7905 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.323e-05/0.6482, allocations: 19.44 kB / 0.7905 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.6483, allocations: 16.38 kB / 0.7906 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.6483, allocations: 0 / 0.7906 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.003937/0.6522, allocations: 1.63 MB / 0.7922 GB, free: 46.57 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)