Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.326/1.326, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.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.687/1.687, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001431/0.001431, allocations: 67.09 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2095, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002602/0.2121, allocations: 1.491 MB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008708/0.213, allocations: 428.2 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.2131, allocations: 0 / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.93e-05/0.2132, allocations: 7.875 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.2133, allocations: 28.22 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.2139, allocations: 246.2 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.2142, allocations: 331.5 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.2143, allocations: 8 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.2145, allocations: 191.8 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.2147, allocations: 108 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.266e-05/0.2148, allocations: 24 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.676e-05/0.2148, allocations: 16 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2149, allocations: 83.77 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.2151, allocations: 123.4 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.2154, allocations: 299.3 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2154, allocations: 0 / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2154, allocations: 0 / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2154, allocations: 0 / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009472/0.2164, allocations: 0.7422 MB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.2164, allocations: 16.03 kB / 0.7874 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.2165, allocations: 32.64 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.2168, allocations: 267.6 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.2168, allocations: 8.375 kB / 0.7877 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.2169, allocations: 23.94 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/0.2178, allocations: 197.4 kB / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2179, allocations: 7.984 kB / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.2179, allocations: 4 kB / 0.7879 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2179, allocations: 0 / 0.7879 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.2187, allocations: 103.9 kB / 0.788 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.219, allocations: 321.2 kB / 0.7883 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.2201, allocations: 174.4 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/0.2208, allocations: 108.8 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.2208, allocations: 3.984 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009291/0.2218, allocations: 207.2 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.2218, allocations: 0 / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002456/0.2243, allocations: 451.9 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.2243, allocations: 63.41 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.2246, allocations: 290.9 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.2246, allocations: 41.69 kB / 0.7896 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.2247, allocations: 93.14 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.2247, allocations: 39.53 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.2249, allocations: 97.48 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.225, allocations: 318.8 kB / 0.7901 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.2252, allocations: 87.94 kB / 0.7902 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.2254, allocations: 142.8 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.2257, allocations: 232 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2257, allocations: 11.94 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006212/0.2263, allocations: 392.6 kB / 0.7909 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/0.2264, allocations: 75.39 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2264, allocations: 7.875 kB / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2264, allocations: 4 kB / 0.791 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.2266, allocations: 23.97 kB / 0.791 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2266, allocations: 0 / 0.791 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.2271, allocations: 63.98 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.2271, allocations: 39.98 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001564/0.2273, allocations: 167.9 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.2273, allocations: 27.72 kB / 0.7913 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.2274, allocations: 30.3 kB / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2274, allocations: 4 kB / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2274, allocations: 7.938 kB / 0.7913 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2274, allocations: 3.984 kB / 0.7913 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.2295, allocations: 0.6894 MB / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2295, allocations: 0 / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.2295, allocations: 11.97 kB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2295, allocations: 0 / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.2296, allocations: 11.98 kB / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2296, allocations: 3.938 kB / 0.792 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2296, allocations: 0 / 0.792 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.2313, allocations: 450.9 kB / 0.7925 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.2314, allocations: 164.6 kB / 0.7926 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.2315, allocations: 11.98 kB / 0.7926 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.232, allocations: 31.97 kB / 0.7927 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.232, allocations: 11.98 kB / 0.7927 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.2321, allocations: 51.91 kB / 0.7927 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001624/0.2322, allocations: 205.9 kB / 0.7929 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2322, allocations: 0 / 0.7929 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000316/0.2326, allocations: 47.98 kB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001179/0.2327, allocations: 121.6 kB / 0.7931 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.2339, allocations: 384.9 kB / 0.7935 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2339, allocations: 0 / 0.7935 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.2346, allocations: 115.8 kB / 0.7936 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.235, allocations: 25.02 kB / 0.7936 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.2362, allocations: 449 kB / 0.794 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2365, allocations: 0.7357 MB / 0.7947 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.916e-05/0.2366, allocations: 17.08 kB / 0.7948 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.2366, allocations: 15.44 kB / 0.7948 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2366, allocations: 0 / 0.7948 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of Templates: time 0.006471/0.2431, allocations: 3.652 MB / 0.7983 GB, free: 13.62 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)