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.0009589/0.0009591, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005542/0.005542, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.381/1.381, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 473.4 MB / 0.7469 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 7.156 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3077, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0007942/0.3086, allocations: 380 kB / 1.075 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004282/0.309, allocations: 187.4 kB / 1.075 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.309, allocations: 0 / 1.075 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.151e-05/0.3091, allocations: 7.938 kB / 1.075 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.3092, allocations: 7.984 kB / 1.075 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3094, allocations: 39.91 kB / 1.075 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3095, allocations: 47.91 kB / 1.075 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.3096, allocations: 12 kB / 1.075 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.3097, allocations: 19.91 kB / 1.075 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.3097, allocations: 23.86 kB / 1.075 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3098, allocations: 4 kB / 1.075 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.3098, allocations: 4 kB / 1.075 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.3098, allocations: 15.98 kB / 1.075 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.3099, allocations: 53.48 kB / 1.075 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.31, allocations: 67.75 kB / 1.075 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.31, allocations: 0 / 1.075 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.31, allocations: 0 / 1.075 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.31, allocations: 4 kB / 1.075 GB, free: 6.727 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.00046/0.3105, allocations: 393.2 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.3105, allocations: 8.031 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.3106, allocations: 8.922 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.3107, allocations: 184.2 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3108, allocations: 8.375 kB / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3108, allocations: 4.375 kB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3109, allocations: 82.16 kB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3109, allocations: 192 / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.311, allocations: 7.938 kB / 1.076 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.311, allocations: 0 / 1.076 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.3111, allocations: 43.97 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.3116, allocations: 352.6 kB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.3118, allocations: 114.5 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.202e-05/0.3119, allocations: 64.84 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3119, allocations: 0 / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.3121, allocations: 103.2 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.3121, allocations: 0 / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002974/0.3124, allocations: 153.5 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.3125, allocations: 51.41 kB / 1.076 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.784e-05/0.3126, allocations: 129.7 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3126, allocations: 29.7 kB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.3127, allocations: 92.03 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3127, allocations: 15.81 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.3127, allocations: 21.7 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3128, allocations: 326.9 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/0.3129, allocations: 39.91 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.313, allocations: 62.94 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3131, allocations: 94.47 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3131, allocations: 0 / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001879/0.3133, allocations: 133.5 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3133, allocations: 13.59 kB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3133, allocations: 0 / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.3133, allocations: 0 / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.648e-05/0.3134, allocations: 8 kB / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3134, allocations: 3.938 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.3135, allocations: 11.92 kB / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.3136, allocations: 27.95 kB / 1.077 GB, free: 3.941 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.643e-05/0.3137, allocations: 123.8 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.3137, allocations: 11.91 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.3137, allocations: 12.36 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3137, allocations: 4 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3137, allocations: 0 / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3137, allocations: 0 / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.3141, allocations: 414.6 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3142, allocations: 0 / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.3142, allocations: 7.938 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3142, allocations: 4 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3142, allocations: 11.98 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3142, allocations: 0 / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3142, allocations: 0 / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.3144, allocations: 215.4 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.3145, allocations: 92.94 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.3145, allocations: 0 / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-05/0.3146, allocations: 0 / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.3146, allocations: 19.92 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.3147, allocations: 27.95 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.095e-05/0.3147, allocations: 95.27 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3147, allocations: 0 / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002329/0.315, allocations: 16 kB / 1.078 GB, free: 2.809 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.0001115/0.3151, allocations: 104.6 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.3153, allocations: 91.89 kB / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3153, allocations: 4.062 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.3153, allocations: 47.92 kB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.3158, allocations: 74.88 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.3161, allocations: 211.4 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.3164, allocations: 0.6926 MB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.287e-05/0.3165, allocations: 16.77 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.3165, allocations: 19.44 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3166, allocations: 3.938 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of Templates: time 0.003858/0.3204, allocations: 1.635 MB / 1.081 GB, free: 15.89 MB / 0.8419 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)