Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 174.2 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007945/0.0007948, allocations: 88.28 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006305/0.0006307, allocations: 10.03 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3267, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002735/0.3295, allocations: 1.041 MB / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.3304, allocations: 191.3 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.3305, allocations: 0 / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.3306, allocations: 3.938 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.212e-05/0.3307, allocations: 7.984 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.3312, allocations: 35.91 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3314, allocations: 51.91 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.3316, allocations: 12 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.856e-05/0.3317, allocations: 23.91 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3318, allocations: 19.92 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.3319, allocations: 7.938 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.234e-05/0.3319, allocations: 0 / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3321, allocations: 15.98 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.952e-05/0.3322, allocations: 53.48 kB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.3324, allocations: 47.91 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3324, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3324, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3324, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 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.0006838/0.3331, allocations: 393.3 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.3332, allocations: 8.031 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.3333, allocations: 8.844 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3335, allocations: 192.1 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.3335, allocations: 8.375 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3336, allocations: 8.359 kB / 0.9035 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.3338, allocations: 82.16 kB / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3339, allocations: 192 / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.3339, allocations: 3.938 kB / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.3339, allocations: 0 / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3341, allocations: 51.97 kB / 0.9037 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007755/0.3349, allocations: 336.6 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3352, allocations: 118.5 kB / 0.9041 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.3353, allocations: 64.8 kB / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.3354, allocations: 4 kB / 0.9042 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.3356, allocations: 91.31 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.544e-06/0.3356, allocations: 0 / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004732/0.3361, allocations: 153.5 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.3362, allocations: 55.41 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3363, allocations: 129.6 kB / 0.9046 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3363, allocations: 29.7 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.3364, allocations: 96.2 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.3365, allocations: 27.7 kB / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.3365, allocations: 0 / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.3366, allocations: 326.8 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.3367, allocations: 35.97 kB / 0.9051 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3368, allocations: 54.56 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.337, allocations: 94.48 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.337, allocations: 0 / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002895/0.3373, allocations: 129.6 kB / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3374, allocations: 8 kB / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3374, allocations: 0 / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3374, allocations: 0 / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.3375, allocations: 4 kB / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3375, allocations: 7.938 kB / 0.9053 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.3377, allocations: 7.891 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/0.3378, allocations: 31.95 kB / 0.9054 GB, free: 59.2 MB / 0.6042 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 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * 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.0001258/0.3379, allocations: 129.8 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.3379, allocations: 7.906 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.338, allocations: 12.36 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.338, allocations: 0 / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.338, allocations: 4.375 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3381, allocations: 0 / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.3386, allocations: 422.3 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3386, allocations: 4 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.3386, allocations: 3.938 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3387, allocations: 4 kB / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.3387, allocations: 7.984 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.3387, allocations: 0 / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3387, allocations: 3.938 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.339, allocations: 219.3 kB / 0.9062 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.3391, allocations: 85 kB / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.3391, allocations: 8 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.3392, allocations: 0 / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.3393, allocations: 15.92 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.3394, allocations: 27.95 kB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.3394, allocations: 95.27 kB / 0.9064 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3395, allocations: 0 / 0.9064 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004131/0.3399, allocations: 16 kB / 0.9064 GB, free: 58.06 MB / 0.6042 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.0001483/0.3401, allocations: 109.6 kB / 0.9065 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.3403, allocations: 87.89 kB / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3404, allocations: 0 / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3405, allocations: 43.92 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.3413, allocations: 72.61 kB / 0.9067 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.3418, allocations: 237.3 kB / 0.9069 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.342, allocations: 0.6965 MB / 0.9076 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.342, allocations: 19.44 kB / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.342, allocations: 0 / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of Templates: time 0.0041/0.3462, allocations: 1.229 MB / 0.9088 GB, free: 55.52 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)