Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.714/1.714, allocations: 297.8 MB / 313.8 MB, free: 56 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 180.5 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.2 MB / 0.6626 GB, free: 4.281 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008319/0.0008321, allocations: 98.83 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004214, allocations: 8 kB / 0.9088 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8267, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/1.029, allocations: 143.1 MB / 1.166 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.029, allocations: 70.31 kB / 1.166 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01459/1.043, allocations: 4.492 MB / 1.171 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/1.043, allocations: 0.5938 kB / 1.171 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.671e-05/1.044, allocations: 4 kB / 1.171 GB, free: 13.56 MB / 0.7448 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.0009729/1.044, allocations: 0.6116 MB / 1.171 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.045, allocations: 17 kB / 1.171 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/1.045, allocations: 30.38 kB / 1.171 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/1.045, allocations: 265 kB / 1.171 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/1.045, allocations: 10.34 kB / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/1.045, allocations: 17.64 kB / 1.171 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/1.045, allocations: 150.4 kB / 1.172 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.045, allocations: 192 / 1.172 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/1.046, allocations: 5.109 kB / 1.172 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.046, allocations: 4 kB / 1.172 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/1.046, allocations: 48.11 kB / 1.172 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/1.046, allocations: 330.3 kB / 1.172 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/1.046, allocations: 130.9 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/1.047, allocations: 55.98 kB / 1.172 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/1.047, allocations: 4 kB / 1.172 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/1.047, allocations: 222 kB / 1.172 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/1.047, allocations: 0 / 1.172 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005954/1.048, allocations: 272.2 kB / 1.173 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/1.048, allocations: 64.61 kB / 1.173 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/1.048, allocations: 287.9 kB / 1.173 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/1.048, allocations: 48.05 kB / 1.173 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/1.048, allocations: 86.73 kB / 1.173 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/1.048, allocations: 44.03 kB / 1.173 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/1.048, allocations: 4.609 kB / 1.173 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.048, allocations: 322.6 kB / 1.173 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/1.049, allocations: 100.3 kB / 1.174 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/1.049, allocations: 159.6 kB / 1.174 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/1.049, allocations: 243.8 kB / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.049, allocations: 4 kB / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007942/1.05, allocations: 429.1 kB / 1.174 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.482e-05/1.05, allocations: 72.84 kB / 1.174 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.05, allocations: 0 / 1.174 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.05, allocations: 5.125 kB / 1.174 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/1.051, allocations: 33.97 kB / 1.174 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.051, allocations: 4.656 kB / 1.174 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/1.051, allocations: 44.72 kB / 1.174 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.811e-05/1.051, allocations: 58.12 kB / 1.175 GB, free: 9.613 MB / 0.7448 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002173/1.051, allocations: 174.3 kB / 1.175 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/1.051, allocations: 29.64 kB / 1.175 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/1.051, allocations: 29.64 kB / 1.175 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.051, allocations: 7.938 kB / 1.175 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.051, allocations: 0.5625 kB / 1.175 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.051, allocations: 0.7031 kB / 1.175 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/1.052, allocations: 0.5533 MB / 1.175 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.052, allocations: 8.875 kB / 1.175 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/1.052, allocations: 6.859 kB / 1.175 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.052, allocations: 0 / 1.175 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/1.052, allocations: 17.81 kB / 1.175 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/1.052, allocations: 0.8594 kB / 1.175 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.052, allocations: 4 kB / 1.175 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/1.053, allocations: 326.5 kB / 1.176 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/1.053, allocations: 152.3 kB / 1.176 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/1.053, allocations: 9.266 kB / 1.176 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/1.053, allocations: 15.33 kB / 1.176 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/1.053, allocations: 15.55 kB / 1.176 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/1.053, allocations: 37.3 kB / 1.176 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001849/1.054, allocations: 206.5 kB / 1.176 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.81e-07/1.054, allocations: 0 / 1.176 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003245/1.054, allocations: 52 kB / 1.176 GB, free: 8.055 MB / 0.7448 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 (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.0001674/1.054, allocations: 124.6 kB / 1.176 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005742/1.055, allocations: 346.5 kB / 1.177 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.055, allocations: 8.312 kB / 1.177 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/1.055, allocations: 84.02 kB / 1.177 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/1.055, allocations: 26.02 kB / 1.177 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007248/1.056, allocations: 440.7 kB / 1.177 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/1.056, allocations: 0.7408 MB / 1.178 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001448/1.056, allocations: 41.08 kB / 1.178 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.057, allocations: 35.42 kB / 1.178 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/1.057, allocations: 0 / 1.178 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of Templates: time 0.007787/1.064, allocations: 4.323 MB / 1.182 GB, free: 1.914 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)