Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008567/0.0008568, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008877/0.0008877, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.4 MB / 222.1 MB, free: 5.555 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.538/1.538, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005798/0.0005798, allocations: 15.25 kB / 0.6736 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.245, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.00181/0.2469, allocations: 1.355 MB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008186/0.2477, allocations: 459.1 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.2478, allocations: 7.875 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.2478, allocations: 7.922 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.2479, allocations: 27.91 kB / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.2485, allocations: 214.6 kB / 0.7892 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.2487, allocations: 191.7 kB / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.2488, allocations: 29.03 kB / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.2491, allocations: 175.5 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2493, allocations: 135.7 kB / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.2493, allocations: 16 kB / 0.7897 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.532e-05/0.2494, allocations: 12 kB / 0.7897 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.12e-05/0.2495, allocations: 75.78 kB / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.2496, allocations: 81.56 kB / 0.7898 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.2498, allocations: 319.5 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.2498, allocations: 4 kB / 0.7901 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2498, allocations: 0 / 0.7901 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2498, allocations: 3.938 kB / 0.7901 GB, free: 8.859 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008562/0.2507, allocations: 0.6837 MB / 0.7908 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2507, allocations: 12.03 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.2508, allocations: 39.58 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.2512, allocations: 267.2 kB / 0.7911 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.2513, allocations: 19.98 kB / 0.7911 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.2513, allocations: 20 kB / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.2523, allocations: 245.3 kB / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2523, allocations: 0 / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.2523, allocations: 0 / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2523, allocations: 4 kB / 0.7914 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007456/0.2531, allocations: 123.9 kB / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.2542, allocations: 0.5589 MB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009637/0.2552, allocations: 202.4 kB / 0.7923 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.2552, allocations: 3.984 kB / 0.7923 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008953/0.2561, allocations: 231.2 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.2561, allocations: 0 / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002391/0.2585, allocations: 493.2 kB / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.2586, allocations: 67.34 kB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.2589, allocations: 312.5 kB / 0.7933 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.2589, allocations: 41.69 kB / 0.7933 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.259, allocations: 93.05 kB / 0.7934 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.2591, allocations: 43.48 kB / 0.7935 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.2591, allocations: 8 kB / 0.7935 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2592, allocations: 322.8 kB / 0.7938 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.2594, allocations: 99.94 kB / 0.7939 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2597, allocations: 138.6 kB / 0.794 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.2599, allocations: 177.6 kB / 0.7942 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2599, allocations: 0 / 0.7942 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006269/0.2605, allocations: 420.6 kB / 0.7946 GB, free: 4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.2606, allocations: 75.39 kB / 0.7947 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2606, allocations: 0 / 0.7947 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2606, allocations: 4 kB / 0.7947 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2608, allocations: 23.92 kB / 0.7947 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2608, allocations: 4.188 kB / 0.7947 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.2613, allocations: 67.8 kB / 0.7948 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.2613, allocations: 39.98 kB / 0.7948 GB, free: 3.777 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.2616, allocations: 192.3 kB / 0.795 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.2616, allocations: 23.72 kB / 0.795 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.2617, allocations: 30.36 kB / 0.795 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2617, allocations: 4 kB / 0.795 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2617, allocations: 4 kB / 0.795 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2617, allocations: 0 / 0.795 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.2637, allocations: 0.7618 MB / 0.7958 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2637, allocations: 0 / 0.7958 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.2638, allocations: 7.984 kB / 0.7958 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2638, allocations: 7.984 kB / 0.7958 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.2638, allocations: 15.98 kB / 0.7958 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2638, allocations: 0 / 0.7958 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2638, allocations: 3.984 kB / 0.7958 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.2655, allocations: 478.8 kB / 0.7963 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.2657, allocations: 188.6 kB / 0.7965 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.2658, allocations: 12 kB / 0.7965 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/0.2662, allocations: 43.95 kB / 0.7965 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.2663, allocations: 7.984 kB / 0.7965 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.2663, allocations: 39.98 kB / 0.7966 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001948/0.2665, allocations: 227 kB / 0.7968 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2665, allocations: 0 / 0.7968 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00032/0.2668, allocations: 59.83 kB / 0.7968 GB, free: 1.598 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.267, allocations: 134.3 kB / 0.797 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.2682, allocations: 414.5 kB / 0.7974 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2682, allocations: 0 / 0.7974 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000739/0.2689, allocations: 131.4 kB / 0.7975 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.2692, allocations: 31 kB / 0.7975 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.2705, allocations: 0.5463 MB / 0.798 GB, free: 312 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.2708, allocations: 0.7594 MB / 0.7988 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.812e-05/0.2709, allocations: 17.44 kB / 0.7988 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.271, allocations: 19.36 kB / 0.7988 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.271, allocations: 0 / 0.7988 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.007039/0.278, allocations: 3.866 MB / 0.8026 GB, free: 11.65 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: