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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.3 MB / 308.1 MB, free: 4.266 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.001368/0.001368, allocations: 186.4 kB / 376.9 MB, free: 1.789 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.769/1.769, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 105.5 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2813, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0022/0.2836, allocations: 0.696 MB / 0.9829 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004671/0.2841, allocations: 191.4 kB / 0.9831 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.2841, allocations: 0 / 0.9831 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2842, allocations: 7.922 kB / 0.9831 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.2843, allocations: 0 / 0.9831 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.2846, allocations: 43.91 kB / 0.9831 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.2847, allocations: 55.89 kB / 0.9832 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2848, allocations: 8 kB / 0.9832 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.2849, allocations: 19.92 kB / 0.9832 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.797e-05/0.285, allocations: 31.89 kB / 0.9833 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.285, allocations: 4 kB / 0.9833 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.285, allocations: 0 / 0.9833 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.2851, allocations: 19.92 kB / 0.9833 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.2851, allocations: 23.88 kB / 0.9833 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.2852, allocations: 59.77 kB / 0.9834 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2853, allocations: 0 / 0.9834 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2853, allocations: 4 kB / 0.9834 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.2853, allocations: 0 / 0.9834 GB, free: 9.219 MB / 0.7136 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.0006028/0.2859, allocations: 413.2 kB / 0.9838 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2859, allocations: 8.031 kB / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.286, allocations: 8.844 kB / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.2862, allocations: 180.3 kB / 0.9839 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2862, allocations: 384 / 0.9839 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.2862, allocations: 20.36 kB / 0.984 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.2864, allocations: 82.16 kB / 0.984 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2864, allocations: 192 / 0.984 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.2864, allocations: 3.938 kB / 0.984 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2865, allocations: 0 / 0.984 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.943e-05/0.2865, allocations: 43.91 kB / 0.9841 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.2871, allocations: 352.6 kB / 0.9844 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.2873, allocations: 118.5 kB / 0.9845 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.2875, allocations: 68.81 kB / 0.9846 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.2875, allocations: 0 / 0.9846 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.2877, allocations: 87.31 kB / 0.9847 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2877, allocations: 0 / 0.9847 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003144/0.288, allocations: 161.5 kB / 0.9848 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.2881, allocations: 55.41 kB / 0.9849 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.2882, allocations: 125.8 kB / 0.985 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.2882, allocations: 29.7 kB / 0.985 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.2883, allocations: 92.05 kB / 0.9851 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.2883, allocations: 19.88 kB / 0.9851 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.2884, allocations: 33.7 kB / 0.9852 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2885, allocations: 318.8 kB / 0.9855 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.2886, allocations: 39.98 kB / 0.9855 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.2887, allocations: 58.55 kB / 0.9856 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.2888, allocations: 94.48 kB / 0.9857 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2888, allocations: 112 / 0.9857 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001875/0.289, allocations: 133.4 kB / 0.9858 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.289, allocations: 10.19 kB / 0.9858 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.289, allocations: 32 / 0.9858 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2891, allocations: 4 kB / 0.9858 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.2891, allocations: 8 kB / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2891, allocations: 0 / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.2892, allocations: 11.94 kB / 0.9858 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/0.2893, allocations: 27.94 kB / 0.9859 GB, free: 6.414 MB / 0.7136 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 0.0001259/0.2894, allocations: 125.8 kB / 0.986 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.2894, allocations: 15.89 kB / 0.986 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.2895, allocations: 16.36 kB / 0.986 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2895, allocations: 4 kB / 0.986 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2895, allocations: 0 / 0.986 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2895, allocations: 0 / 0.986 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.2899, allocations: 414.7 kB / 0.9864 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2899, allocations: 0 / 0.9864 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.29, allocations: 4 kB / 0.9864 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.29, allocations: 0 / 0.9864 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.29, allocations: 3.984 kB / 0.9864 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.29, allocations: 0 / 0.9864 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.29, allocations: 4 kB / 0.9864 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.2906, allocations: 0.8135 MB / 0.9872 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.2906, allocations: 85.05 kB / 0.9873 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2906, allocations: 4 kB / 0.9873 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.2907, allocations: 0 / 0.9873 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.2908, allocations: 11.98 kB / 0.9873 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.2908, allocations: 31.94 kB / 0.9873 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.501e-05/0.2909, allocations: 99.92 kB / 0.9874 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.483e-06/0.2909, allocations: 0 / 0.9874 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003258/0.2912, allocations: 23.78 kB / 0.9875 GB, free: 4.629 MB / 0.7136 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.0001249/0.2913, allocations: 113.4 kB / 0.9876 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.2916, allocations: 87.89 kB / 0.9876 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2916, allocations: 4.062 kB / 0.9876 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.2917, allocations: 47.97 kB / 0.9877 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.2921, allocations: 66.67 kB / 0.9878 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.2926, allocations: 346.4 kB / 0.9881 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.2929, allocations: 0.6926 MB / 0.9888 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.595e-05/0.293, allocations: 12.44 kB / 0.9888 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.293, allocations: 23.36 kB / 0.9888 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.293, allocations: 0 / 0.9888 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.00393/0.297, allocations: 1.61 MB / 0.9904 GB, free: 1.582 MB / 0.7136 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)