Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.554/1.554, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 190.3 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 98.08 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 47.92 kB / 0.8703 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2374, allocations: 114.6 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002979/0.2404, allocations: 1.548 MB / 0.9837 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.2414, allocations: 442.4 kB / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.2415, allocations: 0 / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.2416, allocations: 7.922 kB / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2418, allocations: 20.23 kB / 0.9842 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.2425, allocations: 223.6 kB / 0.9844 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.2428, allocations: 287.9 kB / 0.9847 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.2429, allocations: 15.98 kB / 0.9847 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.2433, allocations: 214.4 kB / 0.9849 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.2435, allocations: 127.6 kB / 0.985 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.847e-05/0.2436, allocations: 8 kB / 0.985 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.2437, allocations: 12 kB / 0.985 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.2438, allocations: 67.78 kB / 0.9851 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.244, allocations: 123.3 kB / 0.9852 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.2443, allocations: 283.3 kB / 0.9855 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2443, allocations: 0 / 0.9855 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2443, allocations: 4 kB / 0.9855 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.2443, allocations: 0 / 0.9855 GB, free: 7.062 MB / 0.7136 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.001257/0.2456, allocations: 0.6997 MB / 0.9862 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2457, allocations: 8.031 kB / 0.9862 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.2458, allocations: 27.72 kB / 0.9862 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.2462, allocations: 266.2 kB / 0.9864 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.2462, allocations: 8 kB / 0.9865 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.2463, allocations: 20 kB / 0.9865 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.2466, allocations: 153.5 kB / 0.9866 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2466, allocations: 11.88 kB / 0.9866 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.2466, allocations: 0 / 0.9866 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.2466, allocations: 0 / 0.9866 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.2468, allocations: 51.95 kB / 0.9867 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.2472, allocations: 313.3 kB / 0.987 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.2475, allocations: 126.7 kB / 0.9871 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.2476, allocations: 60.83 kB / 0.9872 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.2476, allocations: 0 / 0.9872 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/0.2481, allocations: 227.5 kB / 0.9874 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.2481, allocations: 0 / 0.9874 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005529/0.2487, allocations: 269.1 kB / 0.9876 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.2487, allocations: 59.39 kB / 0.9877 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.249, allocations: 290.9 kB / 0.988 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.2491, allocations: 37.7 kB / 0.988 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.2491, allocations: 93.12 kB / 0.9881 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.2492, allocations: 47.44 kB / 0.9881 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2494, allocations: 105.7 kB / 0.9882 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2495, allocations: 326.8 kB / 0.9885 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.2497, allocations: 100.2 kB / 0.9886 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.25, allocations: 150.4 kB / 0.9888 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.2503, allocations: 240.1 kB / 0.989 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2503, allocations: 0 / 0.989 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006896/0.251, allocations: 428.7 kB / 0.9894 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/0.2511, allocations: 71.39 kB / 0.9895 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2511, allocations: 0 / 0.9895 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2511, allocations: 7.938 kB / 0.9895 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.2513, allocations: 27.91 kB / 0.9895 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2513, allocations: 4 kB / 0.9895 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.2518, allocations: 59.8 kB / 0.9896 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.2519, allocations: 60.02 kB / 0.9896 GB, free: 2.453 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001697/0.252, allocations: 168 kB / 0.9898 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.2521, allocations: 27.62 kB / 0.9898 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.2521, allocations: 30.25 kB / 0.9899 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2521, allocations: 7.938 kB / 0.9899 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2522, allocations: 0 / 0.9899 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2522, allocations: 0 / 0.9899 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.253, allocations: 0.5708 MB / 0.9904 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.253, allocations: 0 / 0.9904 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.253, allocations: 7.984 kB / 0.9904 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.253, allocations: 4 kB / 0.9904 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2531, allocations: 11.92 kB / 0.9904 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2531, allocations: 0 / 0.9904 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2531, allocations: 4 kB / 0.9904 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009205/0.254, allocations: 0.9381 MB / 0.9914 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.2543, allocations: 160.6 kB / 0.9915 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.2543, allocations: 11.98 kB / 0.9915 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.2545, allocations: 8 kB / 0.9915 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.2546, allocations: 15.97 kB / 0.9916 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.2547, allocations: 31.98 kB / 0.9916 GB, free: 336 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002337/0.2549, allocations: 213.9 kB / 0.9918 GB, free: 116 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2549, allocations: 0 / 0.9918 GB, free: 116 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00044/0.2554, allocations: 52 kB / 0.9918 GB, free: 64 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001975/0.2556, allocations: 119 kB / 0.9919 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006268/0.2562, allocations: 336.6 kB / 0.9923 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.2562, allocations: 4 kB / 0.9923 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.2564, allocations: 75.89 kB / 0.9923 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.2568, allocations: 23.31 kB / 0.9924 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000994/0.2578, allocations: 0.6173 MB / 0.993 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.2582, allocations: 0.7462 MB / 0.9937 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.2584, allocations: 41.42 kB / 0.9937 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2585, allocations: 31.42 kB / 0.9938 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of SimCode: time 2e-07/0.2585, allocations: 0 / 0.9938 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.008665/0.2672, allocations: 4.123 MB / 0.9978 GB, free: 9.879 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)