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.301/1.301, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009685/0.0009685, allocations: 179.2 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 0.5785 GB, free: 20.44 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.00081/0.0008099, allocations: 93.23 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 12.22 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 106.3 MB / 0.9012 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.3632, allocations: 131.9 MB / 1.03 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.3634, allocations: 71.95 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009833/0.3733, allocations: 3.958 MB / 1.034 GB, free: 8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3733, allocations: 0 / 1.034 GB, free: 8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.3733, allocations: 4 kB / 1.034 GB, free: 7.996 MB / 0.6823 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.0004429/0.3738, allocations: 404.9 kB / 1.034 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3738, allocations: 12.03 kB / 1.034 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.3739, allocations: 8.844 kB / 1.034 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3741, allocations: 180.3 kB / 1.035 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3741, allocations: 8.312 kB / 1.035 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.3741, allocations: 4.375 kB / 1.035 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3743, allocations: 86.16 kB / 1.035 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3743, allocations: 192 / 1.035 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3744, allocations: 7.922 kB / 1.035 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3744, allocations: 4 kB / 1.035 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.3745, allocations: 35.98 kB / 1.035 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.3751, allocations: 348.7 kB / 1.035 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3753, allocations: 110.5 kB / 1.035 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3754, allocations: 64.84 kB / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3754, allocations: 0 / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.3756, allocations: 95.31 kB / 1.035 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3756, allocations: 3.938 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0002949/0.3759, allocations: 149.5 kB / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.3759, allocations: 59.41 kB / 1.035 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.376, allocations: 129.6 kB / 1.036 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3761, allocations: 25.7 kB / 1.036 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.3761, allocations: 108 kB / 1.036 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.3762, allocations: 15.88 kB / 1.036 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.3762, allocations: 4.109 kB / 1.036 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3763, allocations: 322.7 kB / 1.036 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.3764, allocations: 39.97 kB / 1.036 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.3764, allocations: 54.55 kB / 1.036 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3766, allocations: 98.47 kB / 1.036 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3766, allocations: 0 / 1.036 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001893/0.3768, allocations: 125.5 kB / 1.036 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3768, allocations: 8 kB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3768, allocations: 0 / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3768, allocations: 0 / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.3769, allocations: 11.98 kB / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3769, allocations: 7.938 kB / 1.036 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.377, allocations: 8.031 kB / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.377, allocations: 19.97 kB / 1.036 GB, free: 5.242 MB / 0.6823 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 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.3772, allocations: 132 kB / 1.037 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.3772, allocations: 7.906 kB / 1.037 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.3772, allocations: 8.375 kB / 1.037 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3772, allocations: 4 kB / 1.037 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3772, allocations: 0 / 1.037 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3772, allocations: 4 kB / 1.037 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.3777, allocations: 410.8 kB / 1.037 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3777, allocations: 0 / 1.037 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/0.3777, allocations: 7.922 kB / 1.037 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3777, allocations: 0 / 1.037 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3777, allocations: 4.094 kB / 1.037 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3777, allocations: 4.016 kB / 1.037 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3777, allocations: 3.984 kB / 1.037 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.378, allocations: 227.3 kB / 1.037 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.378, allocations: 84.95 kB / 1.037 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.3781, allocations: 8 kB / 1.037 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.3781, allocations: 0 / 1.037 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.3782, allocations: 11.92 kB / 1.037 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.3782, allocations: 23.95 kB / 1.037 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.3783, allocations: 99.27 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3783, allocations: 4 kB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002223/0.3785, allocations: 12 kB / 1.037 GB, free: 4.105 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001424/0.3787, allocations: 111.2 kB / 1.037 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.3788, allocations: 87.89 kB / 1.038 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3789, allocations: 0 / 1.038 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.3789, allocations: 47.91 kB / 1.038 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.3794, allocations: 74.8 kB / 1.038 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.3798, allocations: 209.1 kB / 1.038 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3801, allocations: 0.6887 MB / 1.039 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.465e-05/0.3802, allocations: 24.55 kB / 1.039 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.3802, allocations: 11.44 kB / 1.039 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of SimCode: time 2.584e-06/0.3803, allocations: 0 / 1.039 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of Templates: time 0.004062/0.3843, allocations: 1.503 MB / 1.04 GB, free: 1.312 MB / 0.6823 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)