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.001244/0.001244, allocations: 108 kB / 15.61 MB, free: 152 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.001608/0.001608, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.771/1.771, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.849/1.849, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001511/0.001511, allocations: 65.88 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3218, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001966/0.3238, allocations: 0.6194 MB / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004505/0.3243, allocations: 195.3 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.3244, allocations: 4 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.3245, allocations: 3.938 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.514e-05/0.3245, allocations: 3.938 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.3248, allocations: 51.83 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3249, allocations: 55.84 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.325, allocations: 19.95 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.011e-05/0.3251, allocations: 19.94 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.3251, allocations: 27.91 kB / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3252, allocations: 4 kB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.3252, allocations: 4 kB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.3253, allocations: 23.91 kB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.3253, allocations: 23.88 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3254, allocations: 75.75 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3254, allocations: 0 / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3254, allocations: 0 / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.3254, allocations: 3.938 kB / 0.7845 GB, free: 12.34 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.0005637/0.326, allocations: 401.2 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3261, allocations: 12.03 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.3261, allocations: 8.844 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3263, allocations: 188.2 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3263, allocations: 4.375 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3263, allocations: 8.375 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3265, allocations: 82.16 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3265, allocations: 192 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3265, allocations: 3.938 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3265, allocations: 8 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.818e-05/0.3266, allocations: 43.97 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.3272, allocations: 348.6 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.3273, allocations: 118.5 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.3274, allocations: 60.86 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.3275, allocations: 4 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.3276, allocations: 83.38 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3276, allocations: 4 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002689/0.3279, allocations: 157.5 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3279, allocations: 55.41 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.328, allocations: 125.9 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3281, allocations: 29.7 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.3281, allocations: 96.06 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3282, allocations: 19.72 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.3282, allocations: 29.7 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3283, allocations: 326.8 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.3284, allocations: 35.97 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.3285, allocations: 58.55 kB / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.3286, allocations: 90.86 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3286, allocations: 0 / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001766/0.3288, allocations: 125.7 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3288, allocations: 12.03 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3288, allocations: 3.938 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3288, allocations: 0 / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.3289, allocations: 11.98 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3289, allocations: 4 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.329, allocations: 7.844 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.329, allocations: 27.95 kB / 0.7869 GB, free: 9.543 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.0001071/0.3292, allocations: 136.6 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.3292, allocations: 11.89 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.3292, allocations: 8.375 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3292, allocations: 0 / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3292, allocations: 0 / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3292, allocations: 8.031 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.3297, allocations: 410.4 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.3297, allocations: 0 / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.3297, allocations: 3.984 kB / 0.7875 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3297, allocations: 0 / 0.7875 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3297, allocations: 8 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3297, allocations: 0 / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3297, allocations: 0 / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.33, allocations: 223.3 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.33, allocations: 81.02 kB / 0.7878 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.33, allocations: 12 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.3301, allocations: 0 / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.3301, allocations: 11.92 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.3302, allocations: 35.89 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.458e-05/0.3303, allocations: 95.92 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3303, allocations: 0 / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002319/0.3305, allocations: 12 kB / 0.788 GB, free: 8.41 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.0001154/0.3306, allocations: 114.5 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.3308, allocations: 99.83 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3308, allocations: 4.062 kB / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.3309, allocations: 55.89 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3314, allocations: 74.45 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.3317, allocations: 189.3 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.332, allocations: 0.6963 MB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.201e-05/0.3321, allocations: 16.42 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.3321, allocations: 15.44 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.3321, allocations: 0 / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of Templates: time 0.00406/0.3362, allocations: 1.634 MB / 0.7908 GB, free: 5.496 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)