Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001236/0.001236, allocations: 201.6 kB / 16.14 MB, free: 6.793 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.484/1.484, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.38 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3635, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002147/0.3657, allocations: 0.7202 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005339/0.3662, allocations: 191.4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.3663, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.3664, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.377e-05/0.3665, allocations: 11.91 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3668, allocations: 35.23 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.3669, allocations: 55.83 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.367, allocations: 12 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.3671, allocations: 23.92 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.3672, allocations: 27.84 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.3672, allocations: 4 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.3672, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.3673, allocations: 15.98 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.3674, allocations: 31.8 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.3675, allocations: 67.75 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3675, allocations: 0 / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3675, allocations: 4 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.3675, 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.0006287/0.3681, allocations: 414.9 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3682, allocations: 8.031 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.3682, allocations: 8.844 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.3684, allocations: 180.3 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3685, allocations: 8.375 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.3685, allocations: 4.375 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3687, allocations: 90.08 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3687, allocations: 192 / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3687, allocations: 11.94 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3687, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/0.3688, allocations: 39.97 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.3694, allocations: 344.7 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.3696, allocations: 118.5 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.3697, allocations: 64.83 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3697, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.3699, allocations: 95.22 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3699, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003034/0.3703, allocations: 145.6 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.3703, allocations: 59.39 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3704, allocations: 133.5 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3705, allocations: 25.7 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.3705, allocations: 100.1 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3706, allocations: 19.88 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.3706, allocations: 33.81 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002131/0.3709, allocations: 326.7 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.3709, allocations: 35.98 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/0.371, allocations: 54.55 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3711, allocations: 94.48 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3712, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001999/0.3714, allocations: 133.5 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3714, allocations: 7.984 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3714, allocations: 4.078 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3714, allocations: 0 / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.3715, allocations: 8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3715, allocations: 3.984 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.3716, allocations: 15.88 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.3717, allocations: 31.94 kB / 1.071 GB, free: 6.902 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.0001285/0.3718, allocations: 127.7 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.3718, allocations: 7.906 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.3718, allocations: 8.375 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3719, allocations: 4 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3719, allocations: 3.984 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3719, allocations: 0 / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.3723, allocations: 414.8 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3723, allocations: 48 / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.3723, allocations: 8.078 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3723, allocations: 3.938 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3724, allocations: 3.984 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3724, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3724, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.3726, allocations: 227.3 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.3727, allocations: 88.95 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3727, allocations: 3.984 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.3728, allocations: 4 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.3728, allocations: 15.92 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.3729, allocations: 27.89 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.592e-05/0.3729, allocations: 95.27 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3729, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002355/0.3732, 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.0001387/0.3733, allocations: 108.6 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.3735, allocations: 87.89 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3735, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.3736, allocations: 47.92 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.3741, allocations: 75.91 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.3745, allocations: 207.2 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3748, allocations: 0.6887 MB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.06e-05/0.3749, allocations: 20.69 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.3749, allocations: 15.66 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3749, allocations: 0 / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of Templates: time 0.00449/0.3794, allocations: 1.645 MB / 1.075 GB, free: 2.84 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)