Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.695/2.695, allocations: 287.5 MB / 302.4 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 181.1 kB / 371 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 0.6297 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.001189, allocations: 96.08 kB / 0.743 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007617/0.0007613, allocations: 17.75 kB / 0.8659 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2424, allocations: 115.3 MB / 0.9784 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.295, allocations: 139.9 MB / 1.115 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/1.296, allocations: 74.41 kB / 1.115 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05132/1.347, allocations: 5.193 MB / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.657e-06/1.347, allocations: 0 / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.525e-05/1.347, allocations: 4.125 kB / 1.12 GB, free: 31.18 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.002671/1.35, allocations: 0.637 MB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.386e-05/1.35, allocations: 15.55 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/1.35, allocations: 39.06 kB / 1.121 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007572/1.351, allocations: 278.7 kB / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/1.351, allocations: 13.42 kB / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/1.351, allocations: 21.61 kB / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/1.352, allocations: 161.7 kB / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.352, allocations: 0 / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/1.352, allocations: 10.67 kB / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/1.352, allocations: 4 kB / 1.121 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/1.353, allocations: 66.69 kB / 1.121 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/1.355, allocations: 0.5868 MB / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/1.356, allocations: 135.6 kB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/1.356, allocations: 11.69 kB / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/1.357, allocations: 220.8 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 8.366e-06/1.357, allocations: 4 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001656/1.359, allocations: 281.2 kB / 1.123 GB, free: 29.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/1.359, allocations: 62.06 kB / 1.123 GB, free: 29.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/1.36, allocations: 281.2 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002617/1.36, allocations: 39.64 kB / 1.123 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/1.36, allocations: 98.73 kB / 1.123 GB, free: 29.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/1.36, allocations: 54.03 kB / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/1.361, allocations: 7.188 kB / 1.123 GB, free: 29.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.361, allocations: 328.2 kB / 1.123 GB, free: 29.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008658/1.362, allocations: 120.4 kB / 1.123 GB, free: 29.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008016/1.362, allocations: 170.8 kB / 1.124 GB, free: 29.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/1.363, allocations: 172.3 kB / 1.124 GB, free: 29.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/1.363, allocations: 0 / 1.124 GB, free: 29.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.002289/1.365, allocations: 444.6 kB / 1.124 GB, free: 29.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/1.366, allocations: 81.78 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/1.366, allocations: 0 / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/1.366, allocations: 3.812 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/1.366, allocations: 29.48 kB / 1.124 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/1.366, allocations: 3.844 kB / 1.124 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/1.367, allocations: 56.2 kB / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/1.368, allocations: 52.38 kB / 1.124 GB, free: 28.94 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.0005732/1.368, allocations: 188.9 kB / 1.125 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/1.368, allocations: 27.34 kB / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/1.368, allocations: 38 kB / 1.125 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.369, allocations: 0 / 1.125 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.369, allocations: 3.844 kB / 1.125 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/1.369, allocations: 0 / 1.125 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/1.37, allocations: 0.6001 MB / 1.125 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/1.37, allocations: 0 / 1.125 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/1.371, allocations: 3.812 kB / 1.125 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.371, allocations: 3.844 kB / 1.125 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/1.371, allocations: 14.09 kB / 1.125 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/1.371, allocations: 4 kB / 1.125 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.371, allocations: 3.812 kB / 1.125 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/1.372, allocations: 324.6 kB / 1.126 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/1.372, allocations: 185.3 kB / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/1.373, allocations: 22.2 kB / 1.126 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/1.373, allocations: 10.31 kB / 1.126 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.373, allocations: 14.25 kB / 1.126 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/1.373, allocations: 34 kB / 1.126 GB, free: 28.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000512/1.374, allocations: 226.6 kB / 1.126 GB, free: 28.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.52e-07/1.374, allocations: 3.938 kB / 1.126 GB, free: 28.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009294/1.375, allocations: 64.36 kB / 1.126 GB, free: 28.11 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.000339/1.375, allocations: 125.9 kB / 1.126 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001548/1.377, allocations: 384.4 kB / 1.127 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.377, allocations: 4.125 kB / 1.127 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000354/1.377, allocations: 73.62 kB / 1.127 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/1.378, allocations: 36.48 kB / 1.127 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/1.379, allocations: 488.5 kB / 1.127 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/1.38, allocations: 0.761 MB / 1.128 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003966/1.38, allocations: 39.27 kB / 1.128 GB, free: 26.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/1.381, allocations: 32.39 kB / 1.128 GB, free: 26.86 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/1.381, allocations: 4 kB / 1.128 GB, free: 26.86 MB / 0.698 GB Notification: Performance of Templates: time 0.01801/1.399, allocations: 4.744 MB / 1.133 GB, free: 25.99 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)