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.642/1.642, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001084/0.001084, allocations: 176.9 kB / 366.7 MB, free: 1.633 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.47/1.47, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009955/0.0009954, allocations: 91.92 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.338e-05/1.342e-05, allocations: 0 / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6828/0.6828, allocations: 116.3 MB / 0.9732 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.8619, allocations: 140.9 MB / 1.111 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.8621, allocations: 71.95 kB / 1.111 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01384/0.876, allocations: 4.531 MB / 1.115 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/0.876, allocations: 0 / 1.115 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.39e-05/0.8761, allocations: 4 kB / 1.115 GB, free: 4.703 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.0007174/0.8768, allocations: 0.6328 MB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8769, allocations: 8.031 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.906e-05/0.877, allocations: 33.59 kB / 1.116 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.8773, allocations: 254.5 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.8773, allocations: 11.98 kB / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.8774, allocations: 12 kB / 1.116 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001152/0.8775, allocations: 44.83 kB / 1.116 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.8777, allocations: 155 kB / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.8778, allocations: 0 / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.8778, allocations: 0 / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8778, allocations: 0 / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.8781, allocations: 305.9 kB / 1.117 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.8783, allocations: 106.5 kB / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.8784, allocations: 56.84 kB / 1.117 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.8784, allocations: 3.984 kB / 1.117 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.8787, allocations: 158.6 kB / 1.117 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.8787, allocations: 0 / 1.117 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.00044/0.8791, allocations: 249.1 kB / 1.117 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.8792, allocations: 63.41 kB / 1.117 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.8794, allocations: 238.3 kB / 1.118 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.8794, allocations: 37.7 kB / 1.118 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.8795, allocations: 89.45 kB / 1.118 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.8796, allocations: 31.61 kB / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.8796, allocations: 4 kB / 1.118 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8797, allocations: 326.8 kB / 1.118 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.8798, allocations: 75.97 kB / 1.118 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.88, allocations: 122 kB / 1.118 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.8802, allocations: 77.95 kB / 1.118 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.8802, allocations: 7.047 kB / 1.118 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005063/0.8808, allocations: 293.2 kB / 1.119 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.8808, allocations: 71.58 kB / 1.119 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.8808, allocations: 8 kB / 1.119 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8809, allocations: 7.922 kB / 1.119 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.881, allocations: 27.94 kB / 1.119 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.881, allocations: 4 kB / 1.119 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.8813, allocations: 37.81 kB / 1.119 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.8814, allocations: 43.92 kB / 1.119 GB, free: 0.9062 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: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 () * 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.0001179/0.8815, allocations: 119.2 kB / 1.119 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.8816, allocations: 23.72 kB / 1.119 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.8817, allocations: 30.08 kB / 1.119 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.8817, allocations: 0 / 1.119 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8817, allocations: 3.953 kB / 1.119 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8817, allocations: 3.984 kB / 1.119 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.8824, allocations: 0.5625 MB / 1.12 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8824, allocations: 4 kB / 1.12 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.8824, allocations: 4 kB / 1.12 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.8824, allocations: 0 / 1.12 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.8825, allocations: 19.97 kB / 1.12 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8825, allocations: 3.953 kB / 1.12 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8825, allocations: 4 kB / 1.12 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.8829, allocations: 335 kB / 1.12 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.8831, allocations: 160.6 kB / 1.12 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.8831, allocations: 17.69 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.8835, allocations: 27.97 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.8836, allocations: 11.94 kB / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.8836, allocations: 47.97 kB / 1.12 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001518/0.8838, allocations: 190 kB / 1.12 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8838, allocations: 0 / 1.12 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000323/0.8841, allocations: 47.98 kB / 1.12 GB, free: 15.23 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.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001627/0.8843, allocations: 131.2 kB / 1.12 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.8847, allocations: 311.9 kB / 1.121 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8847, allocations: 3.75 kB / 1.121 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.8848, allocations: 67.91 kB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.8851, allocations: 21.52 kB / 1.121 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.8856, allocations: 270.3 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.8859, allocations: 0.7474 MB / 1.122 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.702e-05/0.8859, allocations: 15.12 kB / 1.122 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.886, allocations: 15.42 kB / 1.122 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.886, allocations: 0 / 1.122 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.006173/0.8922, allocations: 3.748 MB / 1.126 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)