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.001307/0.001307, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 187.8 kB / 16.62 MB, free: 6.582 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.591/1.591, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.86/1.86, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001437/0.001437, allocations: 68.45 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2789, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002956/0.2819, allocations: 0.6333 MB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006252/0.2825, allocations: 195.3 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.2826, allocations: 0 / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.2828, allocations: 7.922 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.2828, allocations: 3.938 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.2832, allocations: 39.89 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.2834, allocations: 59.84 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.2835, allocations: 12 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.2836, allocations: 19.98 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.103e-05/0.2837, allocations: 27.84 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.2837, allocations: 4 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.2837, allocations: 4 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.2838, allocations: 19.98 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.2838, allocations: 31.78 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.284, allocations: 67.72 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.284, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.284, allocations: 4 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.284, allocations: 0 / 0.7852 GB, free: 11.62 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.0006397/0.2846, allocations: 416.8 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.2847, allocations: 8.031 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.2848, allocations: 8.844 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.285, allocations: 184.3 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.285, allocations: 384 / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.285, allocations: 4.375 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.2852, allocations: 94.08 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2852, allocations: 8.188 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2853, allocations: 7.875 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2853, allocations: 0 / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.2854, allocations: 39.97 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.286, allocations: 348.6 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.2862, allocations: 118.5 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.2863, allocations: 64.91 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2863, allocations: 7.969 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.2865, allocations: 87.38 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.2865, allocations: 0 / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000309/0.2868, allocations: 153.5 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2869, allocations: 55.41 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.287, allocations: 121.8 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.287, allocations: 33.69 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/0.2871, allocations: 92.08 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.2872, allocations: 19.72 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.2872, allocations: 33.7 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2874, allocations: 322.8 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-05/0.2874, allocations: 35.98 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/0.2875, allocations: 58.55 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.2877, allocations: 94.48 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2877, allocations: 0 / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001833/0.2879, allocations: 129.6 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2879, allocations: 4 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2879, allocations: 0 / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2879, allocations: 0 / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.288, allocations: 12 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.288, allocations: 0 / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.263e-05/0.2881, allocations: 19.92 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.2882, allocations: 28.33 kB / 0.7877 GB, free: 8.809 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 0.0001018/0.2883, allocations: 133.2 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.2883, allocations: 7.906 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.2883, allocations: 8.375 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2883, allocations: 7.938 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2883, allocations: 0 / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.2884, allocations: 3.984 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.2888, allocations: 414.4 kB / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2888, allocations: 0 / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.2888, allocations: 0 / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2888, allocations: 4 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2889, allocations: 7.984 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2889, allocations: 0 / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2889, allocations: 0 / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.2891, allocations: 223.3 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.2892, allocations: 85.02 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.2892, allocations: 3.984 kB / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.105e-05/0.2893, allocations: 0 / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.2894, allocations: 11.94 kB / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.2894, allocations: 31.94 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.861e-05/0.2895, allocations: 95.27 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.236e-06/0.2895, allocations: 0 / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002429/0.2897, allocations: 23.88 kB / 0.7887 GB, free: 7.672 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 0.000151/0.2899, allocations: 103.2 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.2901, allocations: 91.89 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2901, allocations: 0 / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.2902, allocations: 48.09 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2907, allocations: 85.42 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.2911, allocations: 197.2 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.2914, allocations: 0.6924 MB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.2e-05/0.2915, allocations: 16.64 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.2916, allocations: 19.42 kB / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2916, allocations: 0 / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of Templates: time 0.004754/0.2963, allocations: 1.622 MB / 0.7915 GB, free: 4.773 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)