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.00187/0.00187, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002327/0.002327, allocations: 190.9 kB / 16.14 MB, free: 6.688 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.66 kB / 0.9114 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3483, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002094/0.3504, allocations: 0.7061 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004596/0.3509, allocations: 191.4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.351, allocations: 3.938 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.99e-05/0.3511, allocations: 0 / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.3511, allocations: 11.92 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.3514, allocations: 31.97 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3515, allocations: 55.84 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3516, allocations: 16 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.3517, allocations: 15.92 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.3518, allocations: 31.91 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3518, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.3518, allocations: 4 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.3519, allocations: 15.92 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.3519, allocations: 27.84 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.352, allocations: 71.77 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3521, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.11e-07/0.3521, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3521, allocations: 0 / 1.069 GB, free: 9.719 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.0005937/0.3527, allocations: 413.2 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3527, allocations: 12.03 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.3528, allocations: 8.844 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.3529, allocations: 184.2 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.353, allocations: 8.375 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.353, allocations: 12.38 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3532, allocations: 82.2 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3532, allocations: 192 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3532, allocations: 7.875 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3532, allocations: 4 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.3533, allocations: 43.91 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.3539, allocations: 336.7 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.3541, allocations: 118.5 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.3542, allocations: 68.91 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3542, allocations: 4 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.3544, allocations: 91.22 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3544, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003016/0.3547, allocations: 149.6 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.3548, allocations: 63.39 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3549, allocations: 133.7 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3549, allocations: 29.7 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.355, allocations: 92.12 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.355, allocations: 7.812 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.3551, allocations: 37.7 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3552, allocations: 322.8 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.3553, allocations: 31.98 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.3554, allocations: 66.92 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3555, allocations: 90.55 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3555, allocations: 0 / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000173/0.3557, allocations: 125.5 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3557, allocations: 7.984 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3557, allocations: 4 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3558, allocations: 4.031 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.3558, allocations: 7.938 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3558, allocations: 4 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.3559, allocations: 11.84 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.356, allocations: 32.31 kB / 1.071 GB, free: 6.906 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 0.0001002/0.3561, allocations: 123.8 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.3561, allocations: 7.906 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.3562, allocations: 16.38 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3562, allocations: 7.922 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3562, allocations: 0 / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3562, allocations: 7.938 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.3566, allocations: 410.3 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3566, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.3566, allocations: 4 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3566, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3567, allocations: 7.984 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.3567, allocations: 4 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3567, allocations: 4 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.3569, allocations: 219.3 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.3569, allocations: 81.02 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.357, allocations: 7.984 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.357, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3571, allocations: 11.92 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.3571, allocations: 27.95 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.3572, allocations: 99.42 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3572, allocations: 4 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002299/0.3574, allocations: 16 kB / 1.072 GB, free: 5.766 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.0001378/0.3576, allocations: 111.2 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.3578, allocations: 87.89 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3578, allocations: 0 / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.413e-05/0.3579, allocations: 40.17 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.3583, allocations: 94.28 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.3587, allocations: 211.1 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.359, allocations: 0.6965 MB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.191e-05/0.359, allocations: 16.55 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.3591, allocations: 15.44 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3591, allocations: 0 / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of Templates: time 0.004031/0.3631, allocations: 1.64 MB / 1.075 GB, free: 2.828 MB / 0.8262 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)