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.001162/0.001162, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.00118/0.00118, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.199/1.199, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.598/1.598, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001322/0.001322, allocations: 76.27 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2174, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002445/0.2198, allocations: 1.48 MB / 0.7855 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008544/0.2207, allocations: 427.3 kB / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.2208, allocations: 0 / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.087e-05/0.2209, allocations: 11.86 kB / 0.7859 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.221, allocations: 24.23 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.2216, allocations: 246.9 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00032/0.2219, allocations: 331.5 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.2219, allocations: 4 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.2222, allocations: 195.6 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.2224, allocations: 124.1 kB / 0.7868 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.2225, allocations: 20 kB / 0.7868 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.108e-05/0.2226, allocations: 16 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.624e-05/0.2227, allocations: 79.78 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.2228, allocations: 139.2 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.2231, allocations: 279.4 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2231, allocations: 0 / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2231, allocations: 0 / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2231, allocations: 0 / 0.7873 GB, free: 480 kB / 0.6544 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.3185/0.5417, allocations: 0.747 MB / 0.7881 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.5417, allocations: 9.969 kB / 0.7881 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.5418, allocations: 31.59 kB / 0.7881 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.542, allocations: 268.7 kB / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.5421, allocations: 14.56 kB / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.5421, allocations: 21.55 kB / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.5429, allocations: 202.8 kB / 0.7886 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5429, allocations: 0 / 0.7886 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.543, allocations: 3.938 kB / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.543, allocations: 2.844 kB / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.5435, allocations: 98.22 kB / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.5438, allocations: 311.7 kB / 0.789 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.5446, allocations: 173.4 kB / 0.7891 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/0.5451, allocations: 108.4 kB / 0.7892 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.5452, allocations: 2.625 kB / 0.7892 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007308/0.5459, allocations: 210.5 kB / 0.7894 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.5459, allocations: 0 / 0.7894 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.001878/0.5478, allocations: 454.2 kB / 0.7899 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.5478, allocations: 63.41 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.548, allocations: 294.1 kB / 0.7902 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.5481, allocations: 37.58 kB / 0.7903 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.5481, allocations: 90.67 kB / 0.7903 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.5482, allocations: 37.47 kB / 0.7904 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.5483, allocations: 102.5 kB / 0.7905 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/0.5483, allocations: 323.9 kB / 0.7908 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.5485, allocations: 83.47 kB / 0.7909 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.5487, allocations: 129.8 kB / 0.791 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.5489, allocations: 246.4 kB / 0.7912 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.549, allocations: 0 / 0.7912 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005461/0.5495, allocations: 386.3 kB / 0.7916 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-05/0.5496, allocations: 79.12 kB / 0.7917 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5496, allocations: 0 / 0.7917 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5496, allocations: 4.25 kB / 0.7917 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.5498, allocations: 25.36 kB / 0.7917 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.5498, allocations: 4.562 kB / 0.7917 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.5502, allocations: 59.2 kB / 0.7918 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.5502, allocations: 45.83 kB / 0.7918 GB, free: 47.21 MB / 0.6544 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.0001418/0.5504, allocations: 167.4 kB / 0.792 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.5504, allocations: 29.56 kB / 0.792 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.297e-05/0.5505, allocations: 28.7 kB / 0.792 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5505, allocations: 0 / 0.792 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5505, allocations: 7.594 kB / 0.792 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5505, allocations: 0 / 0.792 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.5522, allocations: 0.6934 MB / 0.7927 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5522, allocations: 2.219 kB / 0.7927 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.5523, allocations: 6 kB / 0.7927 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5523, allocations: 0.5625 kB / 0.7927 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.5523, allocations: 20.17 kB / 0.7927 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5523, allocations: 1.406 kB / 0.7927 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5523, allocations: 0 / 0.7927 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.5536, allocations: 456.4 kB / 0.7932 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.5538, allocations: 159.7 kB / 0.7933 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.5538, allocations: 9.188 kB / 0.7933 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.5542, allocations: 34.03 kB / 0.7934 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.5542, allocations: 11.98 kB / 0.7934 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.5543, allocations: 44.72 kB / 0.7934 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001458/0.5544, allocations: 211.8 kB / 0.7936 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5545, allocations: 0 / 0.7936 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002854/0.5547, allocations: 52.38 kB / 0.7937 GB, free: 46.43 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: 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.0001107/0.5549, allocations: 116.7 kB / 0.7938 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008812/0.5557, allocations: 382.8 kB / 0.7941 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5558, allocations: 0 / 0.7941 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.5563, allocations: 114.1 kB / 0.7943 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.5567, allocations: 38.12 kB / 0.7943 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000995/0.5577, allocations: 421.4 kB / 0.7947 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.5578, allocations: 0.7434 MB / 0.7954 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.929e-05/0.5579, allocations: 11.28 kB / 0.7954 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.5579, allocations: 14.38 kB / 0.7954 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.558, allocations: 0 / 0.7954 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.006329/0.5643, allocations: 3.635 MB / 0.799 GB, free: 45.07 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)