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.803/1.803, allocations: 288.4 MB / 304.3 MB, free: 7.973 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.0009836/0.0009837, allocations: 192 kB / 373 MB, free: 10.14 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.493/1.493, allocations: 205.4 MB / 0.6317 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007269/0.0007269, allocations: 90.3 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004092, allocations: 13.19 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2347, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7008/0.9356, allocations: 140.1 MB / 1.118 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.9358, allocations: 70.98 kB / 1.118 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01349/0.9493, allocations: 5.214 MB / 1.123 GB, free: 31.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9494, allocations: 0 / 1.123 GB, free: 31.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.9494, allocations: 3.812 kB / 1.123 GB, free: 31.83 MB / 0.698 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.001025/0.9504, allocations: 0.6415 MB / 1.123 GB, free: 31.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.9505, allocations: 14.58 kB / 1.123 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.9506, allocations: 35.91 kB / 1.123 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.951, allocations: 280.3 kB / 1.124 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.951, allocations: 13.81 kB / 1.124 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.289e-05/0.9511, allocations: 18.56 kB / 1.124 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.9514, allocations: 173 kB / 1.124 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9514, allocations: 192 / 1.124 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.9515, allocations: 7.438 kB / 1.124 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.9515, allocations: 7.844 kB / 1.124 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.9516, allocations: 59.14 kB / 1.124 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.9528, allocations: 0.5876 MB / 1.124 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.9531, allocations: 144 kB / 1.125 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.9532, allocations: 60.64 kB / 1.125 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.9533, allocations: 0 / 1.125 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000436/0.9537, allocations: 229.5 kB / 1.125 GB, free: 30.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.9537, allocations: 0 / 1.125 GB, free: 30.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005887/0.9543, allocations: 279.2 kB / 1.125 GB, free: 30.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.9544, allocations: 63.95 kB / 1.125 GB, free: 30.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.9547, allocations: 316 kB / 1.126 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.9548, allocations: 42.97 kB / 1.126 GB, free: 30.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.9549, allocations: 102.6 kB / 1.126 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.955, allocations: 43.2 kB / 1.126 GB, free: 30.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.955, allocations: 9.359 kB / 1.126 GB, free: 30.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9552, allocations: 328 kB / 1.126 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.9555, allocations: 118.5 kB / 1.126 GB, free: 29.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.9558, allocations: 171.8 kB / 1.126 GB, free: 29.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.9561, allocations: 264.7 kB / 1.127 GB, free: 29.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9561, allocations: 0 / 1.127 GB, free: 29.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000802/0.9569, allocations: 461.5 kB / 1.127 GB, free: 29.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/0.957, allocations: 78.56 kB / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.957, allocations: 0 / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.9571, allocations: 3.812 kB / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.9572, allocations: 29.38 kB / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.9572, allocations: 9.109 kB / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.9576, allocations: 54.06 kB / 1.127 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.9577, allocations: 54.72 kB / 1.127 GB, free: 29.5 MB / 0.698 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.000209/0.9579, allocations: 195.6 kB / 1.127 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.9579, allocations: 27.16 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.958, allocations: 30.2 kB / 1.127 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.958, allocations: 0 / 1.127 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.958, allocations: 4 kB / 1.127 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.958, allocations: 0 / 1.127 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007099/0.9587, allocations: 0.5955 MB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.9587, allocations: 2.812 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.9588, allocations: 11.72 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.9588, allocations: 0 / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.9588, allocations: 18.3 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9588, allocations: 0 / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.9588, allocations: 0 / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.9592, allocations: 335.6 kB / 1.128 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.9594, allocations: 186.5 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.9595, allocations: 13.66 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.9597, allocations: 9.828 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.9597, allocations: 22.98 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.9598, allocations: 29.33 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001871/0.96, allocations: 228.6 kB / 1.129 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.96, allocations: 4 kB / 1.129 GB, free: 28.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003337/0.9603, allocations: 57.88 kB / 1.129 GB, free: 28.67 MB / 0.698 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.0001899/0.9605, allocations: 129.4 kB / 1.129 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005926/0.9611, allocations: 383.7 kB / 1.129 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.9611, allocations: 0 / 1.129 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.9613, allocations: 76.73 kB / 1.129 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.9616, allocations: 31.2 kB / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006736/0.9623, allocations: 0.49 MB / 1.13 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.9626, allocations: 0.7518 MB / 1.131 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.9628, allocations: 39.52 kB / 1.131 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.9629, allocations: 34.77 kB / 1.131 GB, free: 27.42 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9629, allocations: 0 / 1.131 GB, free: 27.42 MB / 0.698 GB Notification: Performance of Templates: time 0.007105/0.97, allocations: 4.791 MB / 1.135 GB, free: 25.57 MB / 0.698 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)