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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.681/2.681, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001459/0.001458, allocations: 169.2 kB / 371 MB, free: 10.76 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.48 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.001102/0.001102, allocations: 91.47 kB / 0.743 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004984, allocations: 12.84 kB / 0.8658 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2507, allocations: 115.3 MB / 0.9784 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.993/1.244, allocations: 139.9 MB / 1.115 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/1.244, allocations: 75.14 kB / 1.115 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0381/1.282, allocations: 5.186 MB / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.657e-06/1.282, allocations: 0 / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.268e-05/1.282, allocations: 4.125 kB / 1.12 GB, free: 31.05 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.001888/1.284, allocations: 0.6441 MB / 1.121 GB, free: 30.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.284, allocations: 11.67 kB / 1.121 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/1.285, allocations: 37.92 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006462/1.285, allocations: 277.9 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/1.285, allocations: 18.36 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/1.286, allocations: 18.75 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007112/1.286, allocations: 174.1 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.286, allocations: 0 / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/1.286, allocations: 3.953 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/1.286, allocations: 3.844 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/1.287, allocations: 67.91 kB / 1.121 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/1.289, allocations: 0.5761 MB / 1.122 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/1.29, allocations: 145.2 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/1.29, allocations: 3.938 kB / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009365/1.291, allocations: 228.6 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 4.068e-06/1.291, allocations: 0 / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001472/1.293, allocations: 283.5 kB / 1.123 GB, free: 29.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/1.293, allocations: 62.47 kB / 1.123 GB, free: 29.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/1.293, allocations: 280.4 kB / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001728/1.293, allocations: 41.02 kB / 1.123 GB, free: 29.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/1.294, allocations: 95.44 kB / 1.123 GB, free: 29.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.329e-05/1.294, allocations: 49.75 kB / 1.123 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/1.294, allocations: 11.14 kB / 1.123 GB, free: 29.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.294, allocations: 332 kB / 1.123 GB, free: 29.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/1.295, allocations: 117.9 kB / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/1.296, allocations: 172.8 kB / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/1.296, allocations: 173.8 kB / 1.124 GB, free: 28.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.296, allocations: 0 / 1.124 GB, free: 28.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.002024/1.298, allocations: 446.9 kB / 1.124 GB, free: 28.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/1.299, allocations: 75.64 kB / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.299, allocations: 0 / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/1.299, allocations: 3.844 kB / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/1.299, allocations: 33.25 kB / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/1.299, allocations: 3.812 kB / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.3, allocations: 50.25 kB / 1.124 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/1.3, allocations: 55.64 kB / 1.125 GB, free: 28.81 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.0005168/1.301, allocations: 194.4 kB / 1.125 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/1.301, allocations: 30.36 kB / 1.125 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/1.301, allocations: 31.56 kB / 1.125 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/1.301, allocations: 3.812 kB / 1.125 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.301, allocations: 0 / 1.125 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/1.301, allocations: 0 / 1.125 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/1.303, allocations: 0.5955 MB / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.303, allocations: 0 / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/1.303, allocations: 6.797 kB / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/1.303, allocations: 7.844 kB / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/1.303, allocations: 13.14 kB / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/1.303, allocations: 0 / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.303, allocations: 0 / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.304, allocations: 332.6 kB / 1.126 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/1.305, allocations: 182.8 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/1.305, allocations: 16.84 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/1.305, allocations: 15.06 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.306, allocations: 17.59 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.555e-05/1.306, allocations: 33.08 kB / 1.126 GB, free: 28.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004586/1.306, allocations: 233.3 kB / 1.126 GB, free: 27.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.062e-06/1.306, allocations: 3.938 kB / 1.126 GB, free: 27.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000854/1.307, allocations: 57.27 kB / 1.126 GB, free: 27.97 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.0003243/1.307, allocations: 135 kB / 1.126 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001497/1.309, allocations: 377.3 kB / 1.127 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.309, allocations: 3.719 kB / 1.127 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/1.309, allocations: 79.39 kB / 1.127 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/1.31, allocations: 26.33 kB / 1.127 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/1.312, allocations: 493.8 kB / 1.127 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/1.312, allocations: 0.7638 MB / 1.128 GB, free: 26.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003689/1.312, allocations: 39.86 kB / 1.128 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/1.313, allocations: 33.3 kB / 1.128 GB, free: 26.72 MB / 0.698 GB Notification: Performance of SimCode: time 1.423e-06/1.313, allocations: 0 / 1.128 GB, free: 26.72 MB / 0.698 GB Notification: Performance of Templates: time 0.0175/1.33, allocations: 4.744 MB / 1.133 GB, free: 25.88 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)