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.001563/0.001563, allocations: 97.84 kB / 16.27 MB, free: 6.418 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.001619/0.001619, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.56/1.56, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.964/1.964, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001723/0.001723, allocations: 71.89 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.309, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002003/0.3111, allocations: 0.6107 MB / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004871/0.3116, allocations: 191.3 kB / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.3116, allocations: 0 / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.3117, allocations: 11.94 kB / 0.7848 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.3118, allocations: 3.938 kB / 0.7848 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.312, allocations: 43.83 kB / 0.7849 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.3122, allocations: 59.83 kB / 0.7849 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3123, allocations: 15.98 kB / 0.785 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.3123, allocations: 19.98 kB / 0.785 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.3124, allocations: 23.86 kB / 0.785 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3124, allocations: 7.984 kB / 0.785 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.3125, allocations: 8 kB / 0.785 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.3125, allocations: 15.98 kB / 0.785 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.3126, allocations: 31.8 kB / 0.7851 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.3127, allocations: 67.77 kB / 0.7851 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3127, allocations: 0 / 0.7851 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3127, allocations: 0 / 0.7851 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.3127, allocations: 0 / 0.7851 GB, free: 2.766 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.0005648/0.3133, allocations: 409.2 kB / 0.7855 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3133, allocations: 12.03 kB / 0.7855 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.3134, allocations: 12.84 kB / 0.7855 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.3136, allocations: 176.3 kB / 0.7857 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3136, allocations: 8.312 kB / 0.7857 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.3136, allocations: 4.375 kB / 0.7857 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3138, allocations: 94.08 kB / 0.7858 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3138, allocations: 192 / 0.7858 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3138, allocations: 7.938 kB / 0.7858 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3138, allocations: 4 kB / 0.7858 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.3139, allocations: 35.98 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.3145, allocations: 348.7 kB / 0.7862 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.3147, allocations: 118.5 kB / 0.7863 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.983e-05/0.3148, allocations: 60.86 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3148, allocations: 4 kB / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.315, allocations: 91.28 kB / 0.7864 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.315, allocations: 0 / 0.7864 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003584/0.3154, allocations: 149.6 kB / 0.7866 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3154, allocations: 59.39 kB / 0.7866 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3156, allocations: 129.7 kB / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3156, allocations: 25.81 kB / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.3157, allocations: 104 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.3157, allocations: 11.88 kB / 0.7869 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.3158, allocations: 37.7 kB / 0.7869 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3159, allocations: 326.8 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.316, allocations: 31.98 kB / 0.7873 GB, free: 332 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.316, allocations: 62.55 kB / 0.7873 GB, free: 260 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3162, allocations: 94.47 kB / 0.7874 GB, free: 156 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3162, allocations: 0 / 0.7874 GB, free: 156 kB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001983/0.3164, allocations: 129.5 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3164, allocations: 11.98 kB / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3164, allocations: 0 / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3164, allocations: 0 / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.3165, allocations: 4 kB / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3165, allocations: 4.375 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4849/0.8014, allocations: 9.453 kB / 0.7876 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.8016, allocations: 26.03 kB / 0.7876 GB, free: 48.42 MB / 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.0001379/0.8017, allocations: 128.5 kB / 0.7877 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.8017, allocations: 7.969 kB / 0.7877 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.8018, allocations: 14.47 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8018, allocations: 1.594 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.8018, allocations: 1.172 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.8018, allocations: 0 / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.8023, allocations: 413.2 kB / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8023, allocations: 0 / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.8023, allocations: 10.84 kB / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.8023, allocations: 0 / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.8023, allocations: 3.719 kB / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.8023, allocations: 2.25 kB / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.8023, allocations: 0 / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.8025, allocations: 227.4 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.8026, allocations: 88.5 kB / 0.7885 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.8026, allocations: 5.656 kB / 0.7885 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.8027, allocations: 3.938 kB / 0.7885 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.8027, allocations: 8.391 kB / 0.7885 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.8028, allocations: 28.61 kB / 0.7885 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.8028, allocations: 98.22 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8028, allocations: 0 / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002821/0.8031, allocations: 17.09 kB / 0.7886 GB, free: 47.71 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.0001009/0.8032, allocations: 106.9 kB / 0.7887 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.8034, allocations: 103 kB / 0.7888 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8035, allocations: 0 / 0.7888 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.796e-05/0.8035, allocations: 42.31 kB / 0.7889 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.804, allocations: 73.78 kB / 0.7889 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.8043, allocations: 221 kB / 0.7891 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.8045, allocations: 0.6916 MB / 0.7898 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.8045, allocations: 13.44 kB / 0.7898 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.8045, allocations: 3.438 kB / 0.7898 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.002678/0.8072, allocations: 1.241 MB / 0.791 GB, free: 46.76 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)