Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.0009249/0.0009249, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005983/0.005983, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003604, allocations: 16.72 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3131, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008114/0.3139, allocations: 372 kB / 1.075 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004456/0.3144, allocations: 195.4 kB / 1.075 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.3145, allocations: 0 / 1.075 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.285e-05/0.3145, allocations: 3.938 kB / 1.075 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.3146, allocations: 0 / 1.075 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.3148, allocations: 47.88 kB / 1.075 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.315, allocations: 47.91 kB / 1.075 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.417e-05/0.3151, allocations: 12 kB / 1.075 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.3151, allocations: 23.92 kB / 1.075 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.3152, allocations: 27.84 kB / 1.075 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.3152, allocations: 0 / 1.075 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.3152, allocations: 4 kB / 1.075 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.3153, allocations: 15.92 kB / 1.075 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.3153, allocations: 53.5 kB / 1.075 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.79e-05/0.3154, allocations: 67.75 kB / 1.075 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3155, allocations: 4 kB / 1.075 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3155, allocations: 0 / 1.075 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.3155, allocations: 0 / 1.075 GB, free: 6.688 MB / 0.8262 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.0004891/0.316, allocations: 389.2 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.316, allocations: 12.03 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.316, allocations: 4.938 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3162, allocations: 188.2 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3162, allocations: 8.375 kB / 1.076 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3163, allocations: 4.375 kB / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.3164, allocations: 86.16 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3164, allocations: 192 / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3164, allocations: 3.938 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3165, allocations: 4 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.3165, allocations: 43.97 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.3171, allocations: 340.6 kB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3173, allocations: 122.5 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.166e-05/0.3174, allocations: 60.86 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3174, allocations: 8.062 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.3176, allocations: 87.31 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3176, allocations: 0 / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002823/0.3179, allocations: 157.5 kB / 1.076 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3179, allocations: 55.41 kB / 1.076 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.318, allocations: 129.7 kB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.318, allocations: 29.7 kB / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.3181, allocations: 96.03 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.3181, allocations: 16.19 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.3182, allocations: 17.83 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3183, allocations: 326.7 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.3183, allocations: 35.98 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.3184, allocations: 62.92 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3185, allocations: 90.48 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3186, allocations: 4 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001839/0.3187, allocations: 129.5 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3188, allocations: 7.984 kB / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3188, allocations: 0 / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3188, allocations: 4 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.3189, allocations: 8.031 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3189, allocations: 3.938 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.319, allocations: 7.938 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.319, allocations: 31.94 kB / 1.077 GB, free: 3.914 MB / 0.8262 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 9.889e-05/0.3191, allocations: 123.8 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.3191, allocations: 7.906 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.3192, allocations: 12.42 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3192, allocations: 11.97 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3192, allocations: 0 / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3192, allocations: 0 / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.3196, allocations: 414.3 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3196, allocations: 0 / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.3197, allocations: 7.938 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3197, allocations: 0 / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3197, allocations: 7.984 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3197, allocations: 4 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3197, allocations: 0 / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.3199, allocations: 219.4 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.32, allocations: 88.95 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.32, allocations: 3.984 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.3201, allocations: 4 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3201, allocations: 12.11 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.3202, allocations: 27.95 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.171e-05/0.3202, allocations: 103.4 kB / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3202, allocations: 4 kB / 1.078 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002405/0.3205, allocations: 16 kB / 1.078 GB, free: 2.77 MB / 0.8262 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.0001057/0.3206, allocations: 105.1 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.3208, allocations: 91.89 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3208, allocations: 0 / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.3208, allocations: 43.92 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.3213, allocations: 84.34 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.3217, allocations: 211.1 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3219, allocations: 0.6887 MB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.789e-05/0.322, allocations: 20.53 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.3221, allocations: 15.44 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3221, allocations: 0 / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of Templates: time 0.004024/0.3261, allocations: 1.643 MB / 1.081 GB, free: 15.84 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)