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.001266/0.001266, allocations: 104.1 kB / 15.99 MB, free: 6.359 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.001298/0.001298, allocations: 195.2 kB / 16.91 MB, free: 6.195 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.452/1.452, allocations: 205.1 MB / 222.8 MB, free: 12.46 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.831/1.831, allocations: 292.3 MB / 0.5492 GB, free: 17.51 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.001514/0.001514, allocations: 71.91 kB / 0.6717 GB, free: 6.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2668, allocations: 114.5 MB / 0.7835 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002024/0.2689, allocations: 0.6883 MB / 0.7842 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004805/0.2694, allocations: 191.4 kB / 0.7844 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.2695, allocations: 0 / 0.7844 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2696, allocations: 3.984 kB / 0.7844 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.2696, allocations: 3.938 kB / 0.7844 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.2699, allocations: 35.97 kB / 0.7844 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.27, allocations: 55.84 kB / 0.7845 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2702, allocations: 27.95 kB / 0.7845 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.398e-05/0.2702, allocations: 19.88 kB / 0.7845 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.2703, allocations: 27.91 kB / 0.7845 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.2703, allocations: 4 kB / 0.7845 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.2703, allocations: 4 kB / 0.7846 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.2704, allocations: 23.91 kB / 0.7846 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.2705, allocations: 23.88 kB / 0.7846 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.2706, allocations: 55.89 kB / 0.7846 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2706, allocations: 4 kB / 0.7847 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2706, allocations: 0 / 0.7847 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2706, allocations: 0 / 0.7847 GB, free: 3.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.0005934/0.2712, allocations: 409.1 kB / 0.785 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2712, allocations: 12.03 kB / 0.7851 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.2713, allocations: 4.844 kB / 0.7851 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.2715, allocations: 180.3 kB / 0.7852 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2715, allocations: 4.375 kB / 0.7852 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2715, allocations: 8.375 kB / 0.7852 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2717, allocations: 90.09 kB / 0.7853 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2717, allocations: 192 / 0.7853 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2717, allocations: 7.922 kB / 0.7853 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2717, allocations: 4 kB / 0.7853 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.136e-05/0.2718, allocations: 39.98 kB / 0.7854 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.2724, allocations: 340.7 kB / 0.7857 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.2726, allocations: 130.4 kB / 0.7858 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/0.2727, allocations: 68.78 kB / 0.7859 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.2728, allocations: 0 / 0.7859 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.273, allocations: 91.28 kB / 0.786 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.273, allocations: 0 / 0.786 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002932/0.2733, allocations: 149.6 kB / 0.7861 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.2733, allocations: 51.41 kB / 0.7862 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.872e-05/0.2734, allocations: 129.7 kB / 0.7863 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2735, allocations: 33.7 kB / 0.7863 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.2735, allocations: 92.06 kB / 0.7864 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2736, allocations: 15.81 kB / 0.7864 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.2736, allocations: 33.7 kB / 0.7865 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2738, allocations: 326.8 kB / 0.7868 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.2738, allocations: 31.98 kB / 0.7868 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.2739, allocations: 58.55 kB / 0.7869 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.274, allocations: 94.48 kB / 0.787 GB, free: 456 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.274, allocations: 0 / 0.787 GB, free: 456 kB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001788/0.2742, allocations: 129.6 kB / 0.7871 GB, free: 320 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2742, allocations: 4 kB / 0.7871 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2742, allocations: 4 kB / 0.7871 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2743, allocations: 0 / 0.7871 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.2743, allocations: 16.12 kB / 0.7871 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2744, allocations: 3.938 kB / 0.7871 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.2744, allocations: 11.84 kB / 0.7871 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.2745, allocations: 27.95 kB / 0.7871 GB, free: 252 kB / 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 0.0001326/0.2747, allocations: 137.7 kB / 0.7873 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.2747, allocations: 3.906 kB / 0.7873 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.2747, allocations: 12.38 kB / 0.7873 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2747, allocations: 4 kB / 0.7873 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2747, allocations: 4.422 kB / 0.7873 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2747, allocations: 3.984 kB / 0.7873 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4564/0.7312, allocations: 408.2 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.7312, allocations: 0 / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.7313, allocations: 4.266 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.7313, allocations: 2.688 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.7313, allocations: 3.938 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.7313, allocations: 0 / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.7313, allocations: 6.312 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.7315, allocations: 217.9 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.7315, allocations: 84.52 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.7316, allocations: 2.938 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.7317, allocations: 2.719 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.7317, allocations: 19.88 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.7318, allocations: 24.95 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.457e-05/0.7318, allocations: 98.22 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7318, allocations: 0 / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003056/0.7321, allocations: 20.53 kB / 0.7882 GB, free: 48.55 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 0.0001117/0.7323, allocations: 103.6 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.7325, allocations: 95.06 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7325, allocations: 0.8438 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.727e-05/0.7325, allocations: 49.66 kB / 0.7884 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.733, allocations: 77.92 kB / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.7334, allocations: 238 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.7335, allocations: 0.6955 MB / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.7336, allocations: 16.62 kB / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.7336, allocations: 0 / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.002721/0.7363, allocations: 1.231 MB / 0.7906 GB, free: 47.59 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)