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.0007967/0.0007966, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008586/0.000859, allocations: 168.7 kB / 15.95 MB, free: 204 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.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.669/1.669, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005103/0.0005103, allocations: 20.66 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2513, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008066/0.2522, allocations: 345.8 kB / 0.7876 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003924/0.2526, allocations: 192.5 kB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.2526, allocations: 4 kB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.322e-05/0.2527, allocations: 3.938 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.2528, allocations: 3.984 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.253, allocations: 35.91 kB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.2531, allocations: 43.91 kB / 0.7879 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.2532, allocations: 11.98 kB / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.2532, allocations: 23.92 kB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.2533, allocations: 23.92 kB / 0.788 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.2533, allocations: 0 / 0.788 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.2533, allocations: 4 kB / 0.788 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.2534, allocations: 15.91 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.2534, allocations: 37.64 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.59e-05/0.2535, allocations: 51.89 kB / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2535, allocations: 0 / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2535, allocations: 0 / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2536, allocations: 0 / 0.7881 GB, free: 11.18 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.0004786/0.254, allocations: 393 kB / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2541, allocations: 12.03 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.2541, allocations: 7.906 kB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.2543, allocations: 186.9 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2543, allocations: 4 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.2543, allocations: 8 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.2545, allocations: 85.58 kB / 0.7887 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2545, allocations: 0 / 0.7887 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2545, allocations: 0 / 0.7887 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2545, allocations: 0 / 0.7887 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.2546, allocations: 35.98 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.2551, allocations: 360.6 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.2553, allocations: 110.6 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.2554, allocations: 68.81 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2554, allocations: 0 / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.2556, allocations: 91.31 kB / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 3.236e-06/0.2556, allocations: 112 / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002706/0.2559, allocations: 157.4 kB / 0.7895 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.2559, allocations: 51.41 kB / 0.7896 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.256, allocations: 129.8 kB / 0.7897 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.256, allocations: 29.7 kB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.2561, allocations: 96.11 kB / 0.7898 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.2561, allocations: 19.8 kB / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.2561, allocations: 4.375 kB / 0.7898 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.2562, allocations: 318.8 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/0.2563, allocations: 31.98 kB / 0.7902 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.2563, allocations: 58.55 kB / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.025e-05/0.2564, allocations: 47.84 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2564, allocations: 0 / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001676/0.2566, allocations: 133.5 kB / 0.7904 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2566, allocations: 8 kB / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2566, allocations: 0 / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2566, allocations: 0 / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.2567, allocations: 11.98 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2567, allocations: 0 / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.2568, allocations: 11.94 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.2568, allocations: 27.91 kB / 0.7904 GB, free: 8.496 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 9.882e-05/0.257, allocations: 132.6 kB / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.257, allocations: 7.906 kB / 0.7906 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.257, allocations: 12.38 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.257, allocations: 7.938 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.257, allocations: 0 / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.257, allocations: 0 / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.2574, allocations: 410.4 kB / 0.791 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2574, allocations: 3.984 kB / 0.791 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/0.2575, allocations: 0 / 0.791 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2575, allocations: 8 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2575, allocations: 4 kB / 0.791 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2575, allocations: 0 / 0.791 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2575, allocations: 0 / 0.791 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.2577, allocations: 223.3 kB / 0.7912 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.2577, allocations: 81.02 kB / 0.7913 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.2577, allocations: 4 kB / 0.7913 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.308e-05/0.2578, allocations: 4 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.2578, allocations: 11.98 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.2579, allocations: 32.12 kB / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.882e-05/0.2579, allocations: 99.16 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2579, allocations: 3.938 kB / 0.7914 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002209/0.2582, allocations: 23.94 kB / 0.7915 GB, free: 7.352 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.0001072/0.2583, allocations: 98.17 kB / 0.7916 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.2585, allocations: 95.89 kB / 0.7916 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2585, allocations: 4.062 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.2585, allocations: 47.91 kB / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.259, allocations: 59.92 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.2593, allocations: 209 kB / 0.792 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.2596, allocations: 0.6965 MB / 0.7926 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.856e-05/0.2596, allocations: 16.42 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.2597, allocations: 15.44 kB / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2597, allocations: 0 / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of Templates: time 0.003551/0.2632, allocations: 1.517 MB / 0.7941 GB, free: 4.555 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: