Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001214/0.001214, allocations: 193.8 kB / 16.14 MB, free: 6.703 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.361/1.361, allocations: 205.1 MB / 222 MB, free: 4.777 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.634/1.634, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001261/0.001261, allocations: 65.98 kB / 0.6708 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2184, allocations: 114.5 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002899/0.2213, allocations: 1.556 MB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.2223, allocations: 456.4 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.2224, allocations: 0 / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.2225, allocations: 3.938 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.2226, allocations: 20.3 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.2234, allocations: 234.8 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.2237, allocations: 299.8 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.2238, allocations: 4 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/0.2241, allocations: 218.3 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.2244, allocations: 123.6 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.1e-05/0.2245, allocations: 12 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.2245, allocations: 8 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.2247, allocations: 83.77 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.2248, allocations: 127.2 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.2251, allocations: 287.3 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2252, allocations: 0 / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2252, allocations: 4 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2252, allocations: 0 / 0.786 GB, free: 10.64 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.001097/0.2263, allocations: 0.7421 MB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2263, allocations: 8.031 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.2264, allocations: 31.72 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.2268, allocations: 270.2 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.2268, allocations: 12 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.2269, allocations: 19.98 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009812/0.2279, allocations: 197.5 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2279, allocations: 3.938 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.228, allocations: 0 / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.228, allocations: 4 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.2287, allocations: 107.8 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.2291, allocations: 313.3 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/0.2301, allocations: 174.6 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.2308, allocations: 109 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.2309, allocations: 12 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.2318, allocations: 217.5 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.2318, allocations: 0 / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002511/0.2343, allocations: 445 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.2344, allocations: 63.39 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.2346, allocations: 294.9 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.2347, allocations: 37.7 kB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.2348, allocations: 89.14 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.2348, allocations: 43.48 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.235, allocations: 101.5 kB / 0.7891 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2351, allocations: 322.8 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.2353, allocations: 79.95 kB / 0.7895 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2355, allocations: 132.8 kB / 0.7896 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.2359, allocations: 240.2 kB / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2359, allocations: 0 / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006616/0.2365, allocations: 396.6 kB / 0.7903 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/0.2366, allocations: 79.31 kB / 0.7903 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2366, allocations: 4 kB / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2367, allocations: 4 kB / 0.7903 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.2368, allocations: 23.92 kB / 0.7904 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.2369, allocations: 4 kB / 0.7904 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.2374, allocations: 56.05 kB / 0.7904 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.2374, allocations: 43.92 kB / 0.7905 GB, free: 5.707 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.0001858/0.2376, allocations: 171.9 kB / 0.7906 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.2377, allocations: 27.66 kB / 0.7906 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.2377, allocations: 34.3 kB / 0.7907 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2378, allocations: 3.938 kB / 0.7907 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2378, allocations: 0 / 0.7907 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2378, allocations: 4 kB / 0.7907 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.2399, allocations: 0.6963 MB / 0.7914 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.24, allocations: 0 / 0.7914 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.24, allocations: 8 kB / 0.7914 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.24, allocations: 4 kB / 0.7914 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.2401, allocations: 15.97 kB / 0.7914 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2401, allocations: 0 / 0.7914 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2401, allocations: 3.938 kB / 0.7914 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.2418, allocations: 450.9 kB / 0.7918 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.242, allocations: 160.6 kB / 0.792 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.2421, allocations: 8 kB / 0.792 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/0.2426, allocations: 35.95 kB / 0.792 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.2426, allocations: 4 kB / 0.792 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.2427, allocations: 39.97 kB / 0.7921 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000191/0.2429, allocations: 221.9 kB / 0.7923 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2429, allocations: 0 / 0.7923 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003256/0.2432, allocations: 44 kB / 0.7923 GB, free: 3.703 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.000147/0.2434, allocations: 119.2 kB / 0.7924 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.2446, allocations: 378.6 kB / 0.7928 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2446, allocations: 4 kB / 0.7928 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007533/0.2453, allocations: 119.8 kB / 0.7929 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.2457, allocations: 28.56 kB / 0.7929 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.247, allocations: 0.5048 MB / 0.7934 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.2473, allocations: 0.7376 MB / 0.7942 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.736e-05/0.2474, allocations: 13.08 kB / 0.7942 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.2475, allocations: 15.44 kB / 0.7942 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2475, allocations: 4 kB / 0.7942 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of Templates: time 0.007142/0.2546, allocations: 3.594 MB / 0.7977 GB, free: 14.13 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)