Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.607/1.607, allocations: 297.8 MB / 313.7 MB, free: 120 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.0008714/0.0008714, allocations: 178.9 kB / 384.6 MB, free: 10.87 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.336 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.0007442/0.0007442, allocations: 95.98 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003589, allocations: 12.53 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6284/0.6288, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.8115, allocations: 143.3 MB / 1.166 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.8119, allocations: 72.27 kB / 1.166 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01528/0.8272, allocations: 5.226 MB / 1.171 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8272, allocations: 2.188 kB / 1.171 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.8272, allocations: 4 kB / 1.171 GB, free: 12.98 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.00112/0.8283, allocations: 0.6367 MB / 1.172 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.8284, allocations: 12.69 kB / 1.172 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.8286, allocations: 41.3 kB / 1.172 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.829, allocations: 283.6 kB / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.829, allocations: 14.44 kB / 1.172 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.8291, allocations: 21.83 kB / 1.172 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.8295, allocations: 165.8 kB / 1.173 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8295, allocations: 3.234 kB / 1.173 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.8296, allocations: 15.11 kB / 1.173 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8296, allocations: 3.938 kB / 1.173 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.8297, allocations: 57.19 kB / 1.173 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.8309, allocations: 0.5843 MB / 1.173 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.8312, allocations: 140.6 kB / 1.173 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.8314, allocations: 59.56 kB / 1.173 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.8314, allocations: 0.5625 kB / 1.173 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.8318, allocations: 237.4 kB / 1.174 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.8318, allocations: 0 / 1.174 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0006048/0.8325, allocations: 278.1 kB / 1.174 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.8325, allocations: 61.61 kB / 1.174 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.8329, allocations: 322.1 kB / 1.174 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.8329, allocations: 37.7 kB / 1.174 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.833, allocations: 106 kB / 1.174 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.8331, allocations: 43.53 kB / 1.174 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.8331, allocations: 8 kB / 1.174 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8332, allocations: 326.8 kB / 1.175 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.8335, allocations: 125.4 kB / 1.175 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.8338, allocations: 172.9 kB / 1.175 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.8342, allocations: 260.1 kB / 1.175 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.8342, allocations: 3.938 kB / 1.175 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007863/0.835, allocations: 452.5 kB / 1.176 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.839e-05/0.8351, allocations: 83.38 kB / 1.176 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.8351, allocations: 0 / 1.176 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8352, allocations: 5.031 kB / 1.176 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.8353, allocations: 27.92 kB / 1.176 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.8353, allocations: 8.188 kB / 1.176 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.8357, allocations: 44.75 kB / 1.176 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/0.8358, allocations: 59.97 kB / 1.176 GB, free: 8.414 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.0002242/0.836, allocations: 185.2 kB / 1.176 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.836, allocations: 31.62 kB / 1.176 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.8361, allocations: 34.36 kB / 1.176 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.8361, allocations: 4 kB / 1.176 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8361, allocations: 0 / 1.176 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8361, allocations: 3.984 kB / 1.176 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007685/0.8369, allocations: 0.5956 MB / 1.177 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8369, allocations: 0 / 1.177 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.837, allocations: 8 kB / 1.177 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.837, allocations: 3.984 kB / 1.177 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.837, allocations: 19.98 kB / 1.177 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.837, allocations: 1.25 kB / 1.177 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.837, allocations: 0 / 1.177 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.8375, allocations: 328.8 kB / 1.177 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.8377, allocations: 180.7 kB / 1.177 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/0.8377, allocations: 19.98 kB / 1.177 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.8379, allocations: 4.656 kB / 1.177 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.838, allocations: 27.84 kB / 1.177 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.838, allocations: 31.98 kB / 1.177 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000231/0.8383, allocations: 227 kB / 1.178 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8383, allocations: 0 / 1.178 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003516/0.8386, allocations: 64.16 kB / 1.178 GB, free: 6.574 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.0002059/0.8389, allocations: 127.1 kB / 1.178 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006381/0.8395, allocations: 384.5 kB / 1.178 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8395, allocations: 0 / 1.178 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.8397, allocations: 75.91 kB / 1.178 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.8401, allocations: 35.61 kB / 1.178 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007649/0.8409, allocations: 492.6 kB / 1.179 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.8412, allocations: 0.7517 MB / 1.179 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000167/0.8414, allocations: 42.92 kB / 1.18 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.8415, allocations: 35.42 kB / 1.18 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.8415, allocations: 0 / 1.18 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of Templates: time 0.009249/0.8507, allocations: 4.785 MB / 1.184 GB, free: 15.93 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)