Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.68/1.68, allocations: 297.8 MB / 313.7 MB, free: 148 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.001072/0.001071, allocations: 183.4 kB / 384.6 MB, free: 10.86 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.474/1.474, allocations: 223.2 MB / 0.6626 GB, free: 4.348 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.0008507/0.000851, allocations: 103 kB / 0.7808 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004333, allocations: 16 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7779, allocations: 120.3 MB / 1.026 GB, free: 56.47 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/0.9829, allocations: 143.1 MB / 1.166 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.9832, allocations: 67.95 kB / 1.166 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01358/0.9968, allocations: 4.494 MB / 1.171 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9969, allocations: 0 / 1.171 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.9969, allocations: 4 kB / 1.171 GB, free: 10.58 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.001086/0.998, allocations: 0.6183 MB / 1.171 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.998, allocations: 8.031 kB / 1.171 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.9982, allocations: 36.64 kB / 1.171 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.9986, allocations: 259.6 kB / 1.171 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.9986, allocations: 8.375 kB / 1.171 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.9987, allocations: 20.38 kB / 1.171 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.999, allocations: 154.1 kB / 1.172 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.999, allocations: 192 / 1.172 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.999, allocations: 3.938 kB / 1.172 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.9991, allocations: 1.641 kB / 1.172 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.9992, allocations: 47.97 kB / 1.172 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.9996, allocations: 329.3 kB / 1.172 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.9999, allocations: 126.7 kB / 1.172 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/1, allocations: 60.83 kB / 1.172 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/1, allocations: 4 kB / 1.172 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/1, allocations: 224.2 kB / 1.172 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 2.034e-06/1, allocations: 0 / 1.172 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005998/1.001, allocations: 275.3 kB / 1.173 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/1.001, allocations: 55.41 kB / 1.173 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/1.001, allocations: 290.9 kB / 1.173 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/1.002, allocations: 41.69 kB / 1.173 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/1.002, allocations: 85.14 kB / 1.173 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/1.002, allocations: 47.44 kB / 1.173 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/1.002, allocations: 8 kB / 1.173 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.002, allocations: 330.8 kB / 1.173 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/1.002, allocations: 100.2 kB / 1.174 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/1.002, allocations: 151.7 kB / 1.174 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/1.003, allocations: 248.1 kB / 1.174 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.003, allocations: 0 / 1.174 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007956/1.004, allocations: 424.5 kB / 1.174 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/1.004, allocations: 79.56 kB / 1.174 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.004, allocations: 8 kB / 1.174 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.004, allocations: 0 / 1.174 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/1.004, allocations: 35.86 kB / 1.174 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.004, allocations: 0 / 1.174 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/1.004, allocations: 45.14 kB / 1.174 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/1.004, allocations: 51.97 kB / 1.175 GB, free: 6.164 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.0002058/1.005, allocations: 183.9 kB / 1.175 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/1.005, allocations: 29.17 kB / 1.175 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.925e-05/1.005, allocations: 26.25 kB / 1.175 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/1.005, allocations: 7.938 kB / 1.175 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.005, allocations: 0 / 1.175 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.005, allocations: 7.922 kB / 1.175 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/1.006, allocations: 0.5529 MB / 1.175 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/1.006, allocations: 3.938 kB / 1.175 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/1.006, allocations: 8 kB / 1.175 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.006, allocations: 0 / 1.175 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/1.006, allocations: 15.97 kB / 1.175 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.006, allocations: 4 kB / 1.175 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.006, allocations: 0 / 1.175 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/1.006, allocations: 317 kB / 1.176 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/1.006, allocations: 164.6 kB / 1.176 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/1.006, allocations: 8 kB / 1.176 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/1.006, allocations: 11.98 kB / 1.176 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/1.007, allocations: 11.98 kB / 1.176 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/1.007, allocations: 37.33 kB / 1.176 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001993/1.007, allocations: 205.9 kB / 1.176 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.007, allocations: 3.938 kB / 1.176 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003448/1.007, allocations: 51.98 kB / 1.176 GB, free: 4.438 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.0001701/1.007, allocations: 122.8 kB / 1.176 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005927/1.008, allocations: 358.4 kB / 1.177 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.008, allocations: 0 / 1.177 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/1.008, allocations: 71.91 kB / 1.177 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/1.008, allocations: 27.52 kB / 1.177 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000764/1.009, allocations: 447.4 kB / 1.177 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.01, allocations: 0.745 MB / 1.178 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001503/1.01, allocations: 34.53 kB / 1.178 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/1.01, allocations: 39.42 kB / 1.178 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of SimCode: time 3.9e-07/1.01, allocations: 0 / 1.178 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of Templates: time 0.008519/1.018, allocations: 4.32 MB / 1.182 GB, free: 14.26 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)