Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.592/1.592, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001302/0.001302, allocations: 176.4 kB / 361.4 MB, free: 6.812 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.674/1.674, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008889/0.0008889, allocations: 92.55 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.811e-05, allocations: 8 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7189/0.7189, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.9295, allocations: 139.3 MB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.9298, allocations: 67.95 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.9448, allocations: 5.158 MB / 1.106 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9448, allocations: 3.938 kB / 1.106 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.9448, allocations: 8 kB / 1.106 GB, free: 11.37 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009112/0.9458, allocations: 0.5986 MB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.9458, allocations: 12.03 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.97e-05/0.9459, allocations: 36.66 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.9463, allocations: 268.1 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.9463, allocations: 8 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.9464, allocations: 23.98 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001387/0.9465, allocations: 55.92 kB / 1.107 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.9468, allocations: 154.1 kB / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.9468, allocations: 3.984 kB / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.9469, allocations: 7.938 kB / 1.107 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.9469, allocations: 0 / 1.107 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.948, allocations: 0.5517 MB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.9482, allocations: 126.7 kB / 1.107 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.9483, allocations: 56.84 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.9484, allocations: 5.406 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.9487, allocations: 222.2 kB / 1.108 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.844e-06/0.9488, allocations: 0 / 1.108 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004271/0.9492, allocations: 226.1 kB / 1.108 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.9493, allocations: 59.41 kB / 1.108 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.9495, allocations: 265.1 kB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.9496, allocations: 37.7 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.9497, allocations: 101.3 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.9497, allocations: 43.45 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.9498, allocations: 4 kB / 1.108 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9499, allocations: 322.8 kB / 1.109 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.9501, allocations: 108.2 kB / 1.109 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.9503, allocations: 158.2 kB / 1.109 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.9505, allocations: 74.02 kB / 1.109 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9505, allocations: 4 kB / 1.109 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005709/0.9511, allocations: 356.2 kB / 1.109 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.9512, allocations: 75.39 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.9512, allocations: 0 / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.9512, allocations: 4 kB / 1.109 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.9514, allocations: 27.91 kB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.9514, allocations: 4 kB / 1.109 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.9518, allocations: 48 kB / 1.109 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/0.9519, allocations: 55.98 kB / 1.109 GB, free: 7.074 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: 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 () * 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.0001389/0.952, allocations: 132.7 kB / 1.11 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.9521, allocations: 27.67 kB / 1.11 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.9521, allocations: 30.14 kB / 1.11 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9521, allocations: 7.875 kB / 1.11 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.9522, allocations: 0 / 1.11 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9522, allocations: 0 / 1.11 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.9528, allocations: 0.5582 MB / 1.11 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.9528, allocations: 0 / 1.11 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.9529, allocations: 8 kB / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.9529, allocations: 0 / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.9529, allocations: 11.98 kB / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.9529, allocations: 3.984 kB / 1.11 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.9529, allocations: 0 / 1.11 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.9533, allocations: 323 kB / 1.111 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.9535, allocations: 188.5 kB / 1.111 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.9536, allocations: 12 kB / 1.111 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.9537, allocations: 7.984 kB / 1.111 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.9538, allocations: 23.91 kB / 1.111 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.9539, allocations: 27.98 kB / 1.111 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001931/0.9541, allocations: 216.6 kB / 1.111 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9541, allocations: 0 / 1.111 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000326/0.9544, allocations: 56.23 kB / 1.111 GB, free: 5.379 MB / 0.7136 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) * 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.0002516/0.9546, allocations: 133.3 kB / 1.111 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005351/0.9552, allocations: 356.9 kB / 1.112 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9552, allocations: 0 / 1.112 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.9553, allocations: 68.34 kB / 1.112 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.9557, allocations: 32.75 kB / 1.112 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.9563, allocations: 305.4 kB / 1.112 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.9567, allocations: 0.7631 MB / 1.113 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.9569, allocations: 41.19 kB / 1.113 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.957, allocations: 35.42 kB / 1.113 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.957, allocations: 0 / 1.113 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.008013/0.965, allocations: 4.513 MB / 1.117 GB, free: 15.14 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)