Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.56/1.56, allocations: 297.8 MB / 313.8 MB, free: 128 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.0009206/0.0009209, allocations: 184.2 kB / 384.6 MB, free: 10.85 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.272/1.272, allocations: 223.2 MB / 0.6626 GB, free: 4.352 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.0008666/0.0008665, allocations: 92.36 kB / 0.7808 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 12.84 kB / 0.9088 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5988/0.5992, allocations: 120.3 MB / 1.026 GB, free: 56.22 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/0.8016, allocations: 143.4 MB / 1.166 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/0.802, allocations: 71.95 kB / 1.166 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01638/0.8184, allocations: 5.23 MB / 1.172 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8185, allocations: 0 / 1.172 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.8185, allocations: 4 kB / 1.172 GB, free: 9.641 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001237/0.8198, allocations: 0.6421 MB / 1.172 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.8198, allocations: 8.031 kB / 1.172 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.82, allocations: 36.56 kB / 1.172 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.8205, allocations: 289.4 kB / 1.172 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.8206, allocations: 12.36 kB / 1.172 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/0.8206, allocations: 20.38 kB / 1.172 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.821, allocations: 175.3 kB / 1.173 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.821, allocations: 4.125 kB / 1.173 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.8211, allocations: 7.938 kB / 1.173 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.8211, allocations: 4 kB / 1.173 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.8212, allocations: 55.97 kB / 1.173 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.8225, allocations: 0.5834 MB / 1.173 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.8228, allocations: 138.7 kB / 1.173 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.8229, allocations: 64.53 kB / 1.173 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.823, allocations: 7.984 kB / 1.173 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004364/0.8234, allocations: 226.2 kB / 1.174 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.784e-06/0.8234, allocations: 0 / 1.174 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0006204/0.8241, allocations: 277.1 kB / 1.174 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.8241, allocations: 67.39 kB / 1.174 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.8245, allocations: 316.4 kB / 1.174 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.8246, allocations: 45.64 kB / 1.174 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.8247, allocations: 105 kB / 1.174 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.8248, allocations: 43.53 kB / 1.175 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.8248, allocations: 8 kB / 1.175 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.8249, allocations: 322.8 kB / 1.175 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.8252, allocations: 128.1 kB / 1.175 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.8256, allocations: 175.7 kB / 1.175 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.826, allocations: 251.2 kB / 1.175 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.826, allocations: 3.938 kB / 1.175 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008436/0.8268, allocations: 458.9 kB / 1.176 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/0.8269, allocations: 79.39 kB / 1.176 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.8269, allocations: 7.984 kB / 1.176 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.827, allocations: 0 / 1.176 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.8271, allocations: 27.92 kB / 1.176 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.8271, allocations: 4.188 kB / 1.176 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.8275, allocations: 47.88 kB / 1.176 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/0.8276, allocations: 51.98 kB / 1.176 GB, free: 4.703 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$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 (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.0002295/0.8278, allocations: 189.7 kB / 1.176 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.8279, allocations: 31.62 kB / 1.176 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.599e-05/0.828, allocations: 34.36 kB / 1.176 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.828, allocations: 0 / 1.176 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.828, allocations: 0 / 1.176 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.828, allocations: 4 kB / 1.176 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/0.8288, allocations: 0.5976 MB / 1.177 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8289, allocations: 0 / 1.177 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.8289, allocations: 4 kB / 1.177 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.8289, allocations: 6.484 kB / 1.177 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.829, allocations: 19.97 kB / 1.177 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.829, allocations: 4 kB / 1.177 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.829, allocations: 0 / 1.177 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.8294, allocations: 329 kB / 1.177 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.8296, allocations: 180.7 kB / 1.177 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.8297, allocations: 15.98 kB / 1.177 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.8298, allocations: 8 kB / 1.177 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.8299, allocations: 35.84 kB / 1.177 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.83, allocations: 27.98 kB / 1.177 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000228/0.8302, allocations: 227 kB / 1.178 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8302, allocations: 0 / 1.178 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003463/0.8306, allocations: 64.14 kB / 1.178 GB, free: 2.852 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0002197/0.8308, allocations: 125 kB / 1.178 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006341/0.8314, allocations: 382.8 kB / 1.178 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8314, allocations: 0 / 1.178 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.8316, allocations: 79.84 kB / 1.178 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.832, allocations: 35.69 kB / 1.178 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.8329, allocations: 496.6 kB / 1.179 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.8332, allocations: 0.7538 MB / 1.18 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.8334, allocations: 41.42 kB / 1.18 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.8335, allocations: 35.42 kB / 1.18 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.8335, allocations: 0 / 1.18 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of Templates: time 0.008992/0.8425, allocations: 4.777 MB / 1.184 GB, free: 12.14 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)