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.001085/0.001085, allocations: 109.4 kB / 15.69 MB, free: 128 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.001183/0.001183, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.336/1.336, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.712/1.712, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001406/0.001407, allocations: 65.12 kB / 0.6722 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2163, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002688/0.2191, allocations: 1.487 MB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.22, allocations: 436.2 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.2201, allocations: 3.938 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.051e-05/0.2202, allocations: 7.875 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.657e-05/0.2203, allocations: 24.22 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.221, allocations: 246.1 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.2213, allocations: 327.5 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.2214, allocations: 7.984 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.2216, allocations: 191.7 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.2219, allocations: 122.5 kB / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.647e-05/0.2219, allocations: 20 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.146e-05/0.222, allocations: 24 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.2221, allocations: 79.77 kB / 0.787 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.2222, allocations: 123.4 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.2225, allocations: 295 kB / 0.7874 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2225, allocations: 0 / 0.7874 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2225, allocations: 0 / 0.7874 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2225, allocations: 0 / 0.7874 GB, free: 9.387 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.001008/0.2236, allocations: 0.7383 MB / 0.7881 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2236, allocations: 16.02 kB / 0.7881 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.2237, allocations: 32.66 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.224, allocations: 259.6 kB / 0.7884 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.224, allocations: 16.36 kB / 0.7884 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.2241, allocations: 19.94 kB / 0.7884 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/0.225, allocations: 201.4 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.225, allocations: 0 / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.225, allocations: 8 kB / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.225, allocations: 4 kB / 0.7886 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.2257, allocations: 99.84 kB / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.2261, allocations: 321.2 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/0.227, allocations: 178.4 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006635/0.2277, allocations: 103.9 kB / 0.7893 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.2277, allocations: 4 kB / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008608/0.2286, allocations: 211.2 kB / 0.7895 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.2286, allocations: 0 / 0.7895 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002297/0.2309, allocations: 452.2 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.231, allocations: 59.39 kB / 0.79 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.2312, allocations: 294.9 kB / 0.7903 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.2313, allocations: 33.7 kB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.2314, allocations: 97.12 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.2314, allocations: 43.53 kB / 0.7904 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.2315, allocations: 93.48 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2317, allocations: 322.8 kB / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.2318, allocations: 83.89 kB / 0.7909 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.2321, allocations: 138.6 kB / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.2324, allocations: 243.8 kB / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2324, allocations: 3.938 kB / 0.7913 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005978/0.233, allocations: 388.6 kB / 0.7917 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.684e-05/0.2331, allocations: 75.38 kB / 0.7917 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2331, allocations: 4 kB / 0.7917 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2331, allocations: 7.938 kB / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2333, allocations: 19.98 kB / 0.7918 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2333, allocations: 4 kB / 0.7918 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.2337, allocations: 56.05 kB / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.2338, allocations: 43.92 kB / 0.7919 GB, free: 4.453 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.0002197/0.234, allocations: 171.9 kB / 0.792 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.2341, allocations: 23.72 kB / 0.792 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.2342, allocations: 26.3 kB / 0.7921 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2342, allocations: 4 kB / 0.7921 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2342, allocations: 4 kB / 0.7921 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2342, allocations: 0 / 0.7921 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.2363, allocations: 0.6896 MB / 0.7928 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2363, allocations: 3.984 kB / 0.7928 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.2363, allocations: 8 kB / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2363, allocations: 0 / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.2364, allocations: 19.97 kB / 0.7928 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.2364, allocations: 3.938 kB / 0.7928 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2364, allocations: 3.938 kB / 0.7928 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.2379, allocations: 439.5 kB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.2381, allocations: 172.6 kB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.2382, allocations: 8 kB / 0.7934 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.2386, allocations: 35.95 kB / 0.7934 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.2387, allocations: 7.984 kB / 0.7934 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/0.2387, allocations: 47.91 kB / 0.7935 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001766/0.2389, allocations: 213.9 kB / 0.7937 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2389, allocations: 0 / 0.7937 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003137/0.2392, allocations: 48 kB / 0.7937 GB, free: 2.449 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.0001575/0.2394, allocations: 115.2 kB / 0.7938 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.2405, allocations: 381.3 kB / 0.7942 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2405, allocations: 0 / 0.7942 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006684/0.2412, allocations: 115.9 kB / 0.7943 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.2415, allocations: 27.08 kB / 0.7943 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.2427, allocations: 440.9 kB / 0.7948 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.243, allocations: 0.7396 MB / 0.7955 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.105e-05/0.243, allocations: 13.08 kB / 0.7955 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.2431, allocations: 15.44 kB / 0.7955 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2431, allocations: 0 / 0.7955 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of Templates: time 0.006431/0.2495, allocations: 3.624 MB / 0.799 GB, free: 12.95 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)