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.001075/0.001075, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.00121/0.00121, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.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.637/1.637, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0004643/0.0004643, allocations: 18.06 kB / 0.6736 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0009825/0.2153, allocations: 348.1 kB / 0.7875 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005462/0.2159, allocations: 182.3 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.216, allocations: 4 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.2162, allocations: 4 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.2162, allocations: 7.984 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.2166, allocations: 35.84 kB / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.2167, allocations: 31.97 kB / 0.7877 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2169, allocations: 7.984 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.2169, allocations: 27.91 kB / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.217, allocations: 19.92 kB / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.217, allocations: 4 kB / 0.7878 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.2171, allocations: 4 kB / 0.7878 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.2171, allocations: 11.92 kB / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.2172, allocations: 33.7 kB / 0.7878 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.2173, allocations: 51.89 kB / 0.7879 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.2173, allocations: 0 / 0.7879 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2173, allocations: 0 / 0.7879 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2173, allocations: 0 / 0.7879 GB, free: 11.21 MB / 0.6075 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.0005606/0.2179, allocations: 395.8 kB / 0.7882 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2179, allocations: 8.031 kB / 0.7882 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.218, allocations: 11.91 kB / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.2182, allocations: 194.8 kB / 0.7884 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.2182, allocations: 7.938 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.2183, allocations: 8 kB / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.2185, allocations: 77.66 kB / 0.7885 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2185, allocations: 0 / 0.7885 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2185, allocations: 0 / 0.7885 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2185, allocations: 0 / 0.7885 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.2186, allocations: 43.97 kB / 0.7886 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.2193, allocations: 352.6 kB / 0.7889 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2194, allocations: 114.5 kB / 0.789 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.2195, allocations: 4.031 kB / 0.789 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.2197, allocations: 83.31 kB / 0.7891 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.2197, allocations: 4 kB / 0.7891 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002928/0.22, allocations: 161.5 kB / 0.7893 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.22, allocations: 51.41 kB / 0.7893 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.2201, allocations: 121.8 kB / 0.7894 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.2202, allocations: 29.81 kB / 0.7895 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.2202, allocations: 95.98 kB / 0.7895 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.2203, allocations: 16.05 kB / 0.7896 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.2203, allocations: 0 / 0.7896 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2204, allocations: 334.8 kB / 0.7899 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.782e-05/0.2205, allocations: 31.98 kB / 0.7899 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.2206, allocations: 54.55 kB / 0.79 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.2206, allocations: 47.91 kB / 0.79 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2206, allocations: 0 / 0.79 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001821/0.2208, allocations: 125.5 kB / 0.7901 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2209, allocations: 4 kB / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2209, allocations: 4.031 kB / 0.7901 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2209, allocations: 4.375 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.221, allocations: 7.984 kB / 0.7902 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.221, allocations: 0 / 0.7902 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.221, allocations: 7.938 kB / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.2211, allocations: 35.89 kB / 0.7902 GB, free: 8.59 MB / 0.6075 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 0.0001103/0.2212, allocations: 133.7 kB / 0.7903 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.2213, allocations: 3.906 kB / 0.7903 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.2213, allocations: 20.42 kB / 0.7903 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2213, allocations: 3.984 kB / 0.7903 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2213, allocations: 0 / 0.7903 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2213, allocations: 3.984 kB / 0.7904 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.2218, allocations: 410.4 kB / 0.7907 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2218, allocations: 0 / 0.7907 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.2218, allocations: 4 kB / 0.7907 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2218, allocations: 3.938 kB / 0.7908 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2218, allocations: 8 kB / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2218, allocations: 4 kB / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2218, allocations: 3.984 kB / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.2221, allocations: 215.3 kB / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.2221, allocations: 85.02 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2222, allocations: 0 / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.2222, allocations: 7.984 kB / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.2223, allocations: 11.98 kB / 0.7911 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.2224, allocations: 27.89 kB / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.99e-05/0.2224, allocations: 99.27 kB / 0.7912 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2224, allocations: 0 / 0.7912 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002597/0.2227, allocations: 23.89 kB / 0.7912 GB, free: 7.445 MB / 0.6075 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.0001476/0.2228, allocations: 99.25 kB / 0.7913 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.2231, allocations: 95.88 kB / 0.7914 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2231, allocations: 192 / 0.7914 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.2232, allocations: 51.86 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.2236, allocations: 63.41 kB / 0.7915 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.224, allocations: 205.1 kB / 0.7917 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.2243, allocations: 0.6965 MB / 0.7924 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.133e-05/0.2244, allocations: 28.64 kB / 0.7924 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.2244, allocations: 15.38 kB / 0.7924 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.2244, allocations: 0 / 0.7924 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of Templates: time 0.003955/0.2284, allocations: 1.504 MB / 0.7939 GB, free: 4.645 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: