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.457/1.457, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001111/0.001111, allocations: 174.7 kB / 326.5 MB, free: 2.691 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.117/2.117, allocations: 205 MB / 0.5766 GB, free: 21 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.0009384/0.0009389, allocations: 83.53 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 8.188 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2685, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001439/0.27, allocations: 1.045 MB / 0.8978 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004693/0.2705, allocations: 200.8 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.2706, allocations: 0 / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.2707, allocations: 3.984 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.2708, allocations: 11.94 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.2711, allocations: 31.97 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.2712, allocations: 47.91 kB / 0.8981 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2713, allocations: 12.28 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.2714, allocations: 23.91 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.2715, allocations: 19.92 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.2715, allocations: 0 / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.2715, allocations: 4 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.2716, allocations: 19.92 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.2716, allocations: 27.84 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.391e-05/0.2717, allocations: 55.78 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2717, allocations: 0 / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2717, allocations: 3.938 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.2717, allocations: 0 / 0.8982 GB, free: 66.67 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.0004693/0.2722, allocations: 389 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2723, allocations: 8.031 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.2723, allocations: 12.78 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2725, allocations: 192.2 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.2725, allocations: 4.359 kB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.2725, allocations: 12.36 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2727, allocations: 82.16 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2727, allocations: 4.188 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2727, allocations: 3.938 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2727, allocations: 4 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.879e-05/0.2728, allocations: 43.91 kB / 0.8989 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.2733, allocations: 348.7 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.2735, allocations: 114.5 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.2736, allocations: 64.83 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2736, allocations: 3.938 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.2737, allocations: 87.45 kB / 0.8995 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.2738, allocations: 0 / 0.8995 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002557/0.274, allocations: 157.5 kB / 0.8997 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.2741, allocations: 59.39 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.2741, allocations: 125.7 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.2742, allocations: 29.7 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.2742, allocations: 88.14 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.2742, allocations: 27.64 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.2743, allocations: 17.72 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.2743, allocations: 330.8 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.2744, allocations: 35.92 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.2744, allocations: 59.03 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.88e-05/0.2745, allocations: 90.55 kB / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2745, allocations: 0 / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001504/0.2747, allocations: 121.6 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2747, allocations: 8.406 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2747, allocations: 4 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2747, allocations: 0 / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.2748, allocations: 11.92 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2748, allocations: 7.938 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.2749, allocations: 7.906 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.275, allocations: 27.95 kB / 0.9007 GB, free: 63.89 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 (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 8.137e-05/0.2751, allocations: 136.6 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.2751, allocations: 7.906 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.2751, allocations: 12.31 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2751, allocations: 0 / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2751, allocations: 0 / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.2751, allocations: 4 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.2755, allocations: 414.4 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2755, allocations: 0 / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.2755, allocations: 0 / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2755, allocations: 0 / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.2755, allocations: 8 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2755, allocations: 0 / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2755, allocations: 48 / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.2757, allocations: 227.3 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.2757, allocations: 84.95 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.2757, allocations: 8 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.2758, allocations: 3.984 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.2759, allocations: 7.938 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.2759, allocations: 43.88 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.276, allocations: 99.42 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.276, allocations: 4 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002217/0.2762, allocations: 12 kB / 0.9017 GB, free: 62.74 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.0001041/0.2763, allocations: 103.2 kB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.2764, allocations: 92.08 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2765, allocations: 8 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/0.2765, allocations: 43.97 kB / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.2769, allocations: 67.27 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.2773, allocations: 240.8 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.2774, allocations: 0.6965 MB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2775, allocations: 11.44 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2775, allocations: 4 kB / 0.9029 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.002483/0.28, allocations: 1.216 MB / 0.9041 GB, free: 60.21 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)