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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.549/1.549, allocations: 292.3 MB / 308.1 MB, free: 4.32 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.001332/0.001332, allocations: 198.2 kB / 376.9 MB, free: 1.879 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.493/1.493, allocations: 205 MB / 0.6353 GB, free: 9.832 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.001022/0.001022, allocations: 90.8 kB / 0.7479 GB, free: 60.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 55.91 kB / 0.8704 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2308, allocations: 114.5 MB / 0.9822 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002743/0.2335, allocations: 1.541 MB / 0.9837 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.2346, allocations: 450.2 kB / 0.9841 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.2347, allocations: 0 / 0.9841 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.2348, allocations: 3.938 kB / 0.9841 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.2349, allocations: 24.28 kB / 0.9842 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.2356, allocations: 223.6 kB / 0.9844 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.236, allocations: 287.9 kB / 0.9847 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.236, allocations: 8 kB / 0.9847 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.2363, allocations: 214.3 kB / 0.9849 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.2365, allocations: 123.5 kB / 0.985 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.633e-05/0.2366, allocations: 16 kB / 0.985 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.2367, allocations: 8 kB / 0.985 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2368, allocations: 75.78 kB / 0.9851 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.2369, allocations: 123.3 kB / 0.9852 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.2372, allocations: 279.3 kB / 0.9855 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2372, allocations: 0 / 0.9855 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2373, allocations: 0 / 0.9855 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.2373, allocations: 0 / 0.9855 GB, free: 7.094 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.001277/0.2385, allocations: 0.7036 MB / 0.9862 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2386, allocations: 8.031 kB / 0.9862 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.531e-05/0.2387, allocations: 31.72 kB / 0.9862 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.239, allocations: 262.3 kB / 0.9864 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.2391, allocations: 11.98 kB / 0.9865 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.2391, allocations: 16 kB / 0.9865 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.2394, allocations: 153.5 kB / 0.9866 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2394, allocations: 3.938 kB / 0.9866 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.2395, allocations: 4 kB / 0.9866 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2395, allocations: 0 / 0.9866 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.2396, allocations: 47.97 kB / 0.9867 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.2399, allocations: 313.3 kB / 0.987 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.2402, allocations: 134.6 kB / 0.9871 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.2403, allocations: 60.77 kB / 0.9872 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2404, allocations: 4 kB / 0.9872 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004579/0.2408, allocations: 215.6 kB / 0.9874 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.2408, allocations: 0 / 0.9874 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005431/0.2414, allocations: 281 kB / 0.9876 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.2414, allocations: 59.41 kB / 0.9877 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.2417, allocations: 290.9 kB / 0.988 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.2418, allocations: 37.69 kB / 0.988 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.2418, allocations: 93.14 kB / 0.9881 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.2419, allocations: 39.5 kB / 0.9881 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.242, allocations: 113.6 kB / 0.9882 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2422, allocations: 322.8 kB / 0.9885 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.2424, allocations: 100.2 kB / 0.9886 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.2426, allocations: 142.4 kB / 0.9888 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.2429, allocations: 248 kB / 0.989 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2429, allocations: 0 / 0.989 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006377/0.2436, allocations: 416.6 kB / 0.9894 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.2436, allocations: 77.09 kB / 0.9895 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2436, allocations: 0 / 0.9895 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2437, allocations: 12.12 kB / 0.9895 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2438, allocations: 23.92 kB / 0.9895 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2438, allocations: 4 kB / 0.9895 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.2443, allocations: 63.78 kB / 0.9896 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.2444, allocations: 51.98 kB / 0.9896 GB, free: 2.492 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.0001515/0.2445, allocations: 168 kB / 0.9898 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.2446, allocations: 31.61 kB / 0.9898 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.2446, allocations: 30.27 kB / 0.9899 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.2446, allocations: 11.92 kB / 0.9899 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2447, allocations: 4 kB / 0.9899 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2447, allocations: 0 / 0.9899 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007333/0.2454, allocations: 0.5606 MB / 0.9904 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2454, allocations: 0 / 0.9904 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.2455, allocations: 15.98 kB / 0.9904 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2455, allocations: 3.938 kB / 0.9904 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.2455, allocations: 11.98 kB / 0.9904 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2455, allocations: 0 / 0.9904 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2455, allocations: 3.984 kB / 0.9904 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/0.2462, allocations: 0.9404 MB / 0.9914 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.2464, allocations: 152.6 kB / 0.9915 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.2465, allocations: 12 kB / 0.9915 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2467, allocations: 15.98 kB / 0.9915 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.2467, allocations: 19.91 kB / 0.9916 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.2468, allocations: 35.97 kB / 0.9916 GB, free: 356 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001709/0.247, allocations: 209.9 kB / 0.9918 GB, free: 140 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.247, allocations: 0 / 0.9918 GB, free: 140 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003784/0.2474, allocations: 47.98 kB / 0.9918 GB, free: 92 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.0001445/0.2475, allocations: 121.4 kB / 0.992 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005029/0.248, allocations: 342.6 kB / 0.9923 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.248, allocations: 0 / 0.9923 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.2482, allocations: 77.61 kB / 0.9924 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2485, allocations: 26.64 kB / 0.9924 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.2493, allocations: 0.606 MB / 0.993 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.2496, allocations: 0.7516 MB / 0.9937 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.2497, allocations: 33.42 kB / 0.9937 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.2498, allocations: 39.42 kB / 0.9938 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.2499, allocations: 0 / 0.9938 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of Templates: time 0.00754/0.2574, allocations: 4.123 MB / 0.9978 GB, free: 9.906 MB / 0.7292 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)