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.001175/0.001175, allocations: 108.7 kB / 16.29 MB, free: 6.43 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.001161/0.001162, allocations: 187.3 kB / 17.22 MB, free: 5.934 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.721/1.721, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.891/1.891, allocations: 292.3 MB / 0.5495 GB, free: 17.42 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.001474/0.001474, allocations: 63.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2963, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002168/0.2985, allocations: 0.6236 MB / 0.7847 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005762/0.2991, allocations: 191.3 kB / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.2992, allocations: 0 / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.2993, allocations: 3.938 kB / 0.7849 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.2993, allocations: 7.938 kB / 0.7849 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.2996, allocations: 47.83 kB / 0.7849 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.2998, allocations: 59.83 kB / 0.785 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2999, allocations: 15.98 kB / 0.785 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.012e-05/0.2999, allocations: 12 kB / 0.785 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.3, allocations: 31.84 kB / 0.785 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3, allocations: 4 kB / 0.785 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.3001, allocations: 8 kB / 0.7851 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.3001, allocations: 19.97 kB / 0.7851 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.3002, allocations: 31.8 kB / 0.7851 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3003, allocations: 67.77 kB / 0.7852 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3003, allocations: 0 / 0.7852 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3003, allocations: 0 / 0.7852 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3003, allocations: 0 / 0.7852 GB, free: 2.711 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.0005983/0.3009, allocations: 405.2 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.301, allocations: 11.97 kB / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.301, allocations: 8.844 kB / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.3012, allocations: 188.2 kB / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3013, allocations: 8.375 kB / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.3013, allocations: 8.375 kB / 0.7858 GB, free: 2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3015, allocations: 78.22 kB / 0.7858 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3015, allocations: 192 / 0.7858 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3015, allocations: 7.938 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.3015, allocations: 4 kB / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.3016, allocations: 39.97 kB / 0.7859 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.3022, allocations: 352.6 kB / 0.7862 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3024, allocations: 110.5 kB / 0.7863 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.3025, allocations: 60.97 kB / 0.7864 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.3025, allocations: 19.86 kB / 0.7864 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.3027, allocations: 87.22 kB / 0.7865 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3027, allocations: 0 / 0.7865 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.000304/0.303, allocations: 153.6 kB / 0.7866 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3031, allocations: 55.41 kB / 0.7867 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3032, allocations: 125.7 kB / 0.7868 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3032, allocations: 33.7 kB / 0.7869 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.3033, allocations: 88.12 kB / 0.7869 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3033, allocations: 11.81 kB / 0.7869 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.3034, allocations: 37.7 kB / 0.787 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3035, allocations: 322.8 kB / 0.7873 GB, free: 320 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.3036, allocations: 35.98 kB / 0.7873 GB, free: 284 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.3037, allocations: 59.06 kB / 0.7874 GB, free: 216 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.3038, allocations: 102.5 kB / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3038, allocations: 0 / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.5226/0.8264, allocations: 123.5 kB / 0.7876 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.8265, allocations: 5.688 kB / 0.7876 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.8265, allocations: 2.438 kB / 0.7876 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.8265, allocations: 0.875 kB / 0.7876 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.8267, allocations: 15.33 kB / 0.7876 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.8267, allocations: 2.625 kB / 0.7876 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.8268, allocations: 8.953 kB / 0.7876 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/0.8269, allocations: 29.03 kB / 0.7877 GB, free: 48.37 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 0.000113/0.827, allocations: 128.2 kB / 0.7878 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.827, allocations: 11.59 kB / 0.7878 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.8271, allocations: 13.56 kB / 0.7878 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.8271, allocations: 0 / 0.7878 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8271, allocations: 2.625 kB / 0.7878 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.8271, allocations: 3.656 kB / 0.7878 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.8276, allocations: 409.4 kB / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8276, allocations: 0 / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.8276, allocations: 9.531 kB / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8276, allocations: 0 / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.8276, allocations: 3.125 kB / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8276, allocations: 0 / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8276, allocations: 0 / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.8278, allocations: 229 kB / 0.7884 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.8279, allocations: 83.14 kB / 0.7885 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.8279, allocations: 4.469 kB / 0.7885 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.828, allocations: 7.312 kB / 0.7885 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.828, allocations: 10.12 kB / 0.7885 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.8281, allocations: 32.22 kB / 0.7886 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.171e-05/0.8281, allocations: 95.75 kB / 0.7887 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8281, allocations: 0 / 0.7887 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002857/0.8284, allocations: 20.61 kB / 0.7887 GB, free: 47.66 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.0001457/0.8286, allocations: 98.78 kB / 0.7888 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.8288, allocations: 98.47 kB / 0.7889 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8288, allocations: 0 / 0.7889 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.8289, allocations: 48.34 kB / 0.7889 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.8293, allocations: 68.95 kB / 0.789 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.8297, allocations: 188 kB / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.8299, allocations: 0.6991 MB / 0.7898 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.137e-05/0.8299, allocations: 9.938 kB / 0.7898 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.83, allocations: 18.36 kB / 0.7899 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.83, allocations: 0 / 0.7899 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.004136/0.8341, allocations: 1.634 MB / 0.7915 GB, free: 46.73 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)