Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.805/1.805, allocations: 287.5 MB / 302.6 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 185.2 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 0.6298 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000911/0.0009111, allocations: 103.6 kB / 0.7432 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004179, allocations: 11.42 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2734, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001191/0.2747, allocations: 345.8 kB / 0.979 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005997/0.2753, allocations: 195.5 kB / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.2754, allocations: 0 / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.2756, allocations: 0 / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.2757, allocations: 3.938 kB / 0.9792 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.276, allocations: 36.95 kB / 0.9792 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.2762, allocations: 51.84 kB / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.2763, allocations: 15.97 kB / 0.9793 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.74e-05/0.2763, allocations: 12 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.2764, allocations: 27.91 kB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.2765, allocations: 7.938 kB / 0.9794 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.2765, allocations: 0 / 0.9794 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.2766, allocations: 19.97 kB / 0.9794 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.2766, allocations: 33.64 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2767, allocations: 47.84 kB / 0.9794 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.2767, allocations: 0 / 0.9794 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2768, allocations: 0 / 0.9794 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2768, allocations: 0 / 0.9794 GB, free: 27.38 MB / 0.6198 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.0006888/0.2775, allocations: 397.2 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.2775, allocations: 8.031 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.2776, allocations: 8.844 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.2778, allocations: 180.3 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.2779, allocations: 8.375 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.2779, allocations: 8.312 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.2781, allocations: 86.14 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2781, allocations: 192 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2781, allocations: 11.88 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2782, allocations: 0 / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.2782, allocations: 47.97 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.2788, allocations: 340.6 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.279, allocations: 118.5 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.397e-05/0.2791, allocations: 60.86 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2791, allocations: 4 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.2793, allocations: 87.38 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.2793, allocations: 0 / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002822/0.2796, allocations: 149.5 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.2796, allocations: 59.47 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.831e-05/0.2797, allocations: 125.8 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.2797, allocations: 25.7 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.2798, allocations: 100 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.2798, allocations: 19.81 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.2798, allocations: 0 / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.731e-05/0.2799, allocations: 322.8 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.794e-05/0.2799, allocations: 35.98 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.007e-05/0.28, allocations: 62.59 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.679e-05/0.2801, allocations: 94.48 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2801, allocations: 0 / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001518/0.2803, allocations: 125.5 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2803, allocations: 4 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2803, allocations: 4 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.2803, allocations: 0 / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/0.2804, allocations: 8.359 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.2804, allocations: 4 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.2805, allocations: 11.84 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.2806, allocations: 27.95 kB / 0.9819 GB, free: 24.64 MB / 0.6198 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.0001012/0.2807, allocations: 139 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.2807, allocations: 4 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.2807, allocations: 12.38 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2807, allocations: 4.031 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2808, allocations: 4 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2808, allocations: 0 / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.2811, allocations: 414.3 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2811, allocations: 8 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.2811, allocations: 0 / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2811, allocations: 0 / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2812, allocations: 8 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2812, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2812, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.2813, allocations: 223.3 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.2814, allocations: 77.11 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.2814, allocations: 8 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.2815, allocations: 7.984 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.2815, allocations: 11.92 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.2816, allocations: 27.95 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.2816, allocations: 99.14 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2816, allocations: 0 / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002213/0.2818, allocations: 23.84 kB / 0.9829 GB, free: 23.5 MB / 0.6198 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.000116/0.282, allocations: 103.2 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.2822, allocations: 91.89 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2822, allocations: 0 / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.2822, allocations: 52.03 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.2827, allocations: 59.92 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.2831, allocations: 213.2 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.2833, allocations: 0.6887 MB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.251e-05/0.2834, allocations: 24.64 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.2834, allocations: 11.44 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2834, allocations: 0 / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.003568/0.287, allocations: 1.517 MB / 0.9856 GB, free: 20.7 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)