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.644/2.644, allocations: 284.8 MB / 297.3 MB, free: 6.348 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.00221/0.002209, allocations: 188.6 kB / 365.7 MB, free: 2.598 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.001/2.001, allocations: 205.1 MB / 0.6241 GB, free: 8.195 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 94.02 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.643e-05/4.655e-05, allocations: 8 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9016/0.9016, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2625/1.164, allocations: 139.8 MB / 1.107 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.164, allocations: 73.69 kB / 1.107 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02589/1.19, allocations: 5.18 MB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.827e-06/1.19, allocations: 5.219 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.942e-05/1.19, allocations: 7.938 kB / 1.112 GB, free: 7.43 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.001337/1.192, allocations: 0.602 MB / 1.112 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.192, allocations: 8.031 kB / 1.112 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/1.192, allocations: 35.62 kB / 1.112 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/1.193, allocations: 276.1 kB / 1.113 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/1.193, allocations: 19.94 kB / 1.113 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/1.193, allocations: 23.98 kB / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/1.193, allocations: 157.5 kB / 1.113 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.193, allocations: 0 / 1.113 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/1.193, allocations: 7.938 kB / 1.113 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/1.193, allocations: 4 kB / 1.113 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/1.194, allocations: 59.97 kB / 1.113 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/1.196, allocations: 0.593 MB / 1.113 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/1.196, allocations: 130.7 kB / 1.114 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/1.196, allocations: 68.72 kB / 1.114 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/1.196, allocations: 8 kB / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006159/1.197, allocations: 216.6 kB / 1.114 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/1.197, allocations: 4 kB / 1.114 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007842/1.198, allocations: 233.9 kB / 1.114 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/1.198, allocations: 59.39 kB / 1.114 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/1.198, allocations: 274.7 kB / 1.114 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.198, allocations: 41.7 kB / 1.114 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.198, allocations: 101 kB / 1.114 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/1.199, allocations: 47.44 kB / 1.115 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/1.199, allocations: 8 kB / 1.115 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.199, allocations: 330.8 kB / 1.115 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/1.199, allocations: 120.2 kB / 1.115 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/1.2, allocations: 170.4 kB / 1.115 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/1.2, allocations: 164 kB / 1.115 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.2, allocations: 0 / 1.115 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001226/1.201, allocations: 443 kB / 1.116 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.201, allocations: 83.38 kB / 1.116 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.202, allocations: 0 / 1.116 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/1.202, allocations: 4 kB / 1.116 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/1.202, allocations: 23.92 kB / 1.116 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.202, allocations: 8.188 kB / 1.116 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/1.203, allocations: 47.81 kB / 1.116 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.203, allocations: 59.97 kB / 1.116 GB, free: 2.773 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.0002196/1.203, allocations: 128 kB / 1.116 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/1.203, allocations: 39.7 kB / 1.116 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/1.203, allocations: 26.14 kB / 1.116 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.203, allocations: 4 kB / 1.116 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.203, allocations: 3 kB / 1.116 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.203, allocations: 3.984 kB / 1.116 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/1.205, allocations: 0.5932 MB / 1.117 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.205, allocations: 0 / 1.117 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/1.205, allocations: 4 kB / 1.117 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/1.205, allocations: 7.984 kB / 1.117 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/1.205, allocations: 15.98 kB / 1.117 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/1.205, allocations: 0 / 1.117 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.205, allocations: 4 kB / 1.117 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/1.206, allocations: 325.2 kB / 1.117 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/1.206, allocations: 192.5 kB / 1.117 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.492e-05/1.206, allocations: 12 kB / 1.117 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/1.207, allocations: 8 kB / 1.117 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/1.207, allocations: 23.97 kB / 1.117 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/1.207, allocations: 27.98 kB / 1.117 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003435/1.207, allocations: 230.1 kB / 1.118 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.207, allocations: 0 / 1.118 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005713/1.208, allocations: 60 kB / 1.118 GB, free: 0.9961 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.0002306/1.208, allocations: 122 kB / 1.118 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009258/1.209, allocations: 378.9 kB / 1.118 GB, free: 484 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.209, allocations: 4 kB / 1.118 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/1.209, allocations: 75.91 kB / 1.118 GB, free: 404 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/1.21, allocations: 31.05 kB / 1.118 GB, free: 376 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008927/1.21, allocations: 315 kB / 1.118 GB, free: 44 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/1.211, allocations: 0.7595 MB / 1.119 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002721/1.211, allocations: 45.19 kB / 1.119 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/1.211, allocations: 31.42 kB / 1.119 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of SimCode: time 1.834e-06/1.211, allocations: 0 / 1.119 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.01432/1.226, allocations: 4.746 MB / 1.124 GB, free: 10.5 MB / 0.7292 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)