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.001296/0.001296, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002035/0.002035, allocations: 188.7 kB / 16.25 MB, free: 6.621 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.666/1.666, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.763/1.763, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001928/0.001928, allocations: 68.98 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2803, allocations: 114.5 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001814/0.2821, allocations: 0.6842 MB / 0.7835 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004162/0.2826, allocations: 188.5 kB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.2826, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.154e-05/0.2827, allocations: 11.92 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.2828, allocations: 7.984 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.283, allocations: 31.92 kB / 0.7838 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2831, allocations: 59.83 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2832, allocations: 12 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.2833, allocations: 23.92 kB / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.2833, allocations: 23.91 kB / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2834, allocations: 12 kB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.2834, allocations: 4 kB / 0.7839 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.2834, allocations: 15.98 kB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.2835, allocations: 31.8 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.2836, allocations: 67.77 kB / 0.784 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2836, allocations: 0 / 0.784 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2836, allocations: 0 / 0.784 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.2836, allocations: 0 / 0.784 GB, free: 12.76 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.0005089/0.2841, allocations: 409.2 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2842, allocations: 12.03 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.2842, allocations: 12.84 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.2844, allocations: 176.2 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2844, allocations: 8.375 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.2844, allocations: 4.375 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.2846, allocations: 90.08 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2846, allocations: 192 / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2846, allocations: 7.938 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2846, allocations: 4 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.588e-05/0.2847, allocations: 39.97 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.2852, allocations: 348.6 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.2854, allocations: 118.5 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.2855, allocations: 60.86 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.2855, allocations: 4 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.2857, allocations: 91.31 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2857, allocations: 0 / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002691/0.286, allocations: 157.5 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.286, allocations: 55.34 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.2861, allocations: 125.9 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.2861, allocations: 33.69 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.2862, allocations: 84.14 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.2862, allocations: 23.78 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.2862, allocations: 37.7 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2863, allocations: 326.8 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/0.2864, allocations: 31.98 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.2865, allocations: 54.55 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.2866, allocations: 94.48 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2866, allocations: 0 / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001677/0.2868, allocations: 137.6 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2868, allocations: 4 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2868, allocations: 8 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2868, allocations: 0 / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.2869, allocations: 4 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2869, allocations: 4 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.287, allocations: 7.844 kB / 0.7865 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.287, allocations: 35.94 kB / 0.7865 GB, free: 9.949 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 (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.72e-05/0.2871, allocations: 133.2 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.2871, allocations: 3.906 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.2872, allocations: 12.38 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2872, allocations: 3.984 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2872, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2872, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.2876, allocations: 418.7 kB / 0.787 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2876, allocations: 0 / 0.787 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.2876, allocations: 4 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2876, allocations: 96 / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2876, allocations: 11.92 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2876, allocations: 0 / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2876, allocations: 0 / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.2878, allocations: 223.3 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.2879, allocations: 81.02 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.2879, allocations: 7.984 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.288, allocations: 4 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.288, allocations: 19.86 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.2881, allocations: 27.95 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.2881, allocations: 91.27 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2881, allocations: 0 / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002279/0.2884, allocations: 23.94 kB / 0.7875 GB, free: 8.809 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 (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.273e-05/0.2885, allocations: 99.23 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.2886, allocations: 99.89 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2886, allocations: 0 / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.937e-05/0.2887, allocations: 47.92 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.2892, allocations: 82.36 kB / 0.7878 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.2895, allocations: 213.4 kB / 0.788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2897, allocations: 0.6924 MB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.062e-05/0.2898, allocations: 16.66 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.2898, allocations: 19.7 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2898, allocations: 0 / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.003651/0.2935, allocations: 1.629 MB / 0.7903 GB, free: 5.887 MB / 0.6075 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)