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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001125/0.001125, allocations: 184.8 kB / 366.7 MB, free: 1.672 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.733/1.733, allocations: 205.2 MB / 0.626 GB, free: 7.117 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.0008634/0.0008633, allocations: 93.12 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.824e-05, allocations: 8 kB / 0.8597 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6056/0.6056, allocations: 116.3 MB / 0.9733 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.787, allocations: 141.1 MB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.7872, allocations: 76.38 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.8034, allocations: 5.278 MB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.594e-06/0.8034, allocations: 3.938 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.609e-05/0.8035, allocations: 4 kB / 1.116 GB, free: 3.758 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001063/0.8045, allocations: 0.6488 MB / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.8046, allocations: 8.031 kB / 1.117 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.8048, allocations: 42.23 kB / 1.117 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.8052, allocations: 276 kB / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.8052, allocations: 8 kB / 1.117 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.8053, allocations: 19.98 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001501/0.8055, allocations: 59.92 kB / 1.117 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.8057, allocations: 157.5 kB / 1.118 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8058, allocations: 3.984 kB / 1.118 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.8058, allocations: 11.95 kB / 1.118 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.8058, allocations: 0 / 1.118 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.807, allocations: 0.5518 MB / 1.118 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.8072, allocations: 122.4 kB / 1.118 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.8073, allocations: 64.12 kB / 1.118 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.8073, allocations: 3.984 kB / 1.118 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.8076, allocations: 161.1 kB / 1.118 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.8076, allocations: 0 / 1.118 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004781/0.8081, allocations: 253.2 kB / 1.119 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.8081, allocations: 59.41 kB / 1.119 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.8084, allocations: 277 kB / 1.119 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.8085, allocations: 37.7 kB / 1.119 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.8086, allocations: 101.3 kB / 1.119 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.8086, allocations: 31.62 kB / 1.119 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.8087, allocations: 3.984 kB / 1.119 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8088, allocations: 322.8 kB / 1.119 GB, free: 356 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.809, allocations: 87.98 kB / 1.12 GB, free: 268 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.8092, allocations: 146 kB / 1.12 GB, free: 100 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.8093, allocations: 85.97 kB / 1.12 GB, free: 16 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8094, allocations: 4 kB / 1.12 GB, free: 12 kB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000574/0.8099, allocations: 313.2 kB / 1.12 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/0.81, allocations: 84.62 kB / 1.12 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.81, allocations: 0 / 1.12 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.8101, allocations: 7.953 kB / 1.12 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.8102, allocations: 23.92 kB / 1.12 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.8102, allocations: 7.938 kB / 1.12 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.8106, allocations: 44 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.8106, allocations: 39.98 kB / 1.12 GB, free: 15.48 MB / 0.7292 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 () * 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.0001237/0.8108, allocations: 124 kB / 1.12 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.8108, allocations: 27.7 kB / 1.12 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.8109, allocations: 30.14 kB / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.8109, allocations: 0 / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8109, allocations: 9.953 kB / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8109, allocations: 4 kB / 1.12 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.8117, allocations: 0.5973 MB / 1.121 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8117, allocations: 0 / 1.121 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.8117, allocations: 4 kB / 1.121 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.8117, allocations: 3.984 kB / 1.121 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.8118, allocations: 23.92 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8118, allocations: 1.969 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.8118, allocations: 3.938 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.8122, allocations: 352.4 kB / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.8124, allocations: 184.7 kB / 1.122 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.8125, allocations: 19.98 kB / 1.122 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.8129, allocations: 39.92 kB / 1.122 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.8129, allocations: 11.98 kB / 1.122 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.813, allocations: 37.8 kB / 1.122 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001908/0.8132, allocations: 216.6 kB / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8132, allocations: 0 / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003259/0.8135, allocations: 48 kB / 1.122 GB, free: 13.69 MB / 0.7292 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) * 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.0001861/0.8137, allocations: 131.4 kB / 1.122 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004733/0.8142, allocations: 342.9 kB / 1.122 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8142, allocations: 4.062 kB / 1.122 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.8143, allocations: 70.22 kB / 1.122 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.8146, allocations: 28.75 kB / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.8152, allocations: 310.9 kB / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.8155, allocations: 0.763 MB / 1.124 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.293e-05/0.8156, allocations: 13.2 kB / 1.124 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.8156, allocations: 15 kB / 1.124 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.8156, allocations: 0 / 1.124 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.007462/0.8231, allocations: 4.136 MB / 1.128 GB, free: 7.891 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (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)