Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.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.00166/0.00166, allocations: 115.5 kB / 16.37 MB, free: 6 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.001878/0.001878, allocations: 189.2 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.825/1.825, allocations: 292.3 MB / 0.5496 GB, free: 17.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 72.47 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2307, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002325/0.2331, allocations: 0.6413 MB / 0.7854 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005304/0.2337, allocations: 191.3 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.2337, allocations: 0 / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.2339, allocations: 3.938 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.234, allocations: 3.938 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.2343, allocations: 43.89 kB / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.2344, allocations: 55.84 kB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.2346, allocations: 23.97 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.2346, allocations: 19.92 kB / 0.7858 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.2347, allocations: 23.92 kB / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2347, allocations: 4 kB / 0.7858 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.2347, allocations: 4 kB / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.2348, allocations: 23.91 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.2349, allocations: 23.86 kB / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.235, allocations: 71.7 kB / 0.7859 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.235, allocations: 3.938 kB / 0.7859 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.946e-06/0.235, allocations: 4 kB / 0.7859 GB, free: 2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.2351, allocations: 4 kB / 0.7859 GB, free: 1.996 MB / 0.6544 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.0008444/0.2359, allocations: 408.9 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.236, allocations: 8.031 kB / 0.7863 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.236, allocations: 8.844 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.2363, allocations: 180.3 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.2363, allocations: 384 / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.2364, allocations: 8.375 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.2366, allocations: 82.22 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2366, allocations: 8.125 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.2366, allocations: 3.938 kB / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2367, allocations: 3.984 kB / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.2368, allocations: 39.92 kB / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.2375, allocations: 348.7 kB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.2377, allocations: 114.5 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.815e-05/0.2378, allocations: 68.81 kB / 0.7871 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2378, allocations: 11.88 kB / 0.7871 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.238, allocations: 87.28 kB / 0.7872 GB, free: 480 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.238, allocations: 0 / 0.7872 GB, free: 480 kB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003184/0.2384, allocations: 149.6 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2384, allocations: 55.41 kB / 0.7874 GB, free: 256 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2385, allocations: 129.7 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.2386, allocations: 33.7 kB / 0.7876 GB, free: 76 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4478/0.6863, allocations: 88.2 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.6865, allocations: 15.28 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.6866, allocations: 30.78 kB / 0.7877 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.6867, allocations: 324.7 kB / 0.788 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/0.6868, allocations: 36.02 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.931e-05/0.6868, allocations: 64.86 kB / 0.7881 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.687, allocations: 93 kB / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.687, allocations: 0.6875 kB / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002154/0.6872, allocations: 129.9 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6872, allocations: 5.656 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.6872, allocations: 3.094 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.6873, allocations: 3.156 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.6874, allocations: 5.438 kB / 0.7883 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6874, allocations: 2.25 kB / 0.7884 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.6875, allocations: 11.83 kB / 0.7884 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.6876, allocations: 25.81 kB / 0.7884 GB, free: 48.28 MB / 0.6544 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.744e-05/0.6877, allocations: 129.5 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.6877, allocations: 5.469 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.6878, allocations: 13.62 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.6878, allocations: 3.938 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6878, allocations: 3.875 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6878, allocations: 3.5 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.6882, allocations: 413.7 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6882, allocations: 3.938 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.6882, allocations: 0.5625 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6882, allocations: 3 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.6883, allocations: 3.953 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6883, allocations: 0 / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6883, allocations: 10.34 kB / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.6884, allocations: 214.2 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.6885, allocations: 88.47 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.6885, allocations: 9.891 kB / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.6886, allocations: 0 / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.6886, allocations: 9.328 kB / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.6887, allocations: 30.88 kB / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.6887, allocations: 92.64 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6887, allocations: 5.062 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002441/0.689, allocations: 15.25 kB / 0.7894 GB, free: 47.56 MB / 0.6544 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.0001022/0.6891, allocations: 109.9 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.6893, allocations: 92.73 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6893, allocations: 0 / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.718e-05/0.6894, allocations: 47.44 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.6898, allocations: 65.39 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.6902, allocations: 228.8 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.6903, allocations: 0.6859 MB / 0.7906 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.6904, allocations: 17.55 kB / 0.7906 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6904, allocations: 2.562 kB / 0.7906 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.0028/0.6932, allocations: 1.238 MB / 0.7918 GB, free: 46.6 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)