Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001115/0.001115, allocations: 182.1 kB / 371.6 MB, free: 3.344 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.561/1.561, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.001038/0.001038, allocations: 85.52 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.635e-05/4.636e-05, allocations: 4 kB / 0.8663 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3284, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.34, allocations: 141.8 MB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.34, allocations: 70.09 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0144/1.355, allocations: 5.301 MB / 1.124 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/1.355, allocations: 0 / 1.124 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.699e-05/1.355, allocations: 4 kB / 1.124 GB, free: 39.59 MB / 0.7448 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.000758/1.355, allocations: 0.646 MB / 1.124 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.356, allocations: 12.03 kB / 1.124 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/1.356, allocations: 38.28 kB / 1.124 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/1.356, allocations: 267.8 kB / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/1.356, allocations: 26.08 kB / 1.125 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.99e-05/1.356, allocations: 19.19 kB / 1.125 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/1.356, allocations: 174.9 kB / 1.125 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.356, allocations: 0 / 1.125 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/1.356, allocations: 3.469 kB / 1.125 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/1.356, allocations: 7.953 kB / 1.125 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/1.357, allocations: 60.11 kB / 1.125 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/1.358, allocations: 0.6022 MB / 1.125 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/1.358, allocations: 115.6 kB / 1.125 GB, free: 37.97 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/1.358, allocations: 62.81 kB / 1.126 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/1.358, allocations: 0 / 1.126 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/1.358, allocations: 171.9 kB / 1.126 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/1.358, allocations: 0 / 1.126 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005151/1.359, allocations: 263.1 kB / 1.126 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/1.359, allocations: 59.34 kB / 1.126 GB, free: 37.56 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/1.359, allocations: 283.2 kB / 1.126 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/1.359, allocations: 37.64 kB / 1.126 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/1.359, allocations: 100.2 kB / 1.126 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/1.359, allocations: 42.44 kB / 1.126 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/1.359, allocations: 7.562 kB / 1.126 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/1.359, allocations: 333 kB / 1.127 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/1.36, allocations: 100.6 kB / 1.127 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/1.36, allocations: 154.3 kB / 1.127 GB, free: 36.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/1.36, allocations: 168.4 kB / 1.127 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.36, allocations: 0 / 1.127 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005842/1.361, allocations: 421.1 kB / 1.128 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/1.361, allocations: 84.02 kB / 1.128 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.361, allocations: 0 / 1.128 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.361, allocations: 4 kB / 1.128 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/1.361, allocations: 27.2 kB / 1.128 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/1.361, allocations: 4 kB / 1.128 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/1.361, allocations: 43.22 kB / 1.128 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/1.361, allocations: 43.06 kB / 1.128 GB, free: 36.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001147/1.361, allocations: 139.7 kB / 1.128 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/1.362, allocations: 28.47 kB / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/1.362, allocations: 25.17 kB / 1.128 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.362, allocations: 4 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/1.362, allocations: 0.5 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.362, allocations: 3.422 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/1.362, allocations: 0.638 MB / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.362, allocations: 4 kB / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/1.362, allocations: 5.188 kB / 1.129 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.362, allocations: 3.281 kB / 1.129 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/1.362, allocations: 22.53 kB / 1.129 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.362, allocations: 3.938 kB / 1.129 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.362, allocations: 0 / 1.129 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/1.363, allocations: 356.1 kB / 1.129 GB, free: 35.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/1.363, allocations: 190.4 kB / 1.129 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/1.363, allocations: 19.33 kB / 1.129 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/1.363, allocations: 35.39 kB / 1.129 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/1.363, allocations: 7.469 kB / 1.129 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/1.364, allocations: 46.88 kB / 1.129 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001743/1.364, allocations: 226.6 kB / 1.129 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.364, allocations: 0 / 1.129 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003004/1.364, allocations: 55.3 kB / 1.13 GB, free: 34.68 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0002131/1.364, allocations: 136.2 kB / 1.13 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004918/1.365, allocations: 356.6 kB / 1.13 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.365, allocations: 0 / 1.13 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/1.365, allocations: 74.59 kB / 1.13 GB, free: 34.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/1.365, allocations: 36.17 kB / 1.13 GB, free: 34.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/1.366, allocations: 319.7 kB / 1.13 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/1.366, allocations: 0.756 MB / 1.131 GB, free: 33.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.935e-05/1.366, allocations: 17.52 kB / 1.131 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/1.366, allocations: 15.44 kB / 1.131 GB, free: 33.19 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/1.366, allocations: 1.031 kB / 1.131 GB, free: 33.19 MB / 0.7448 GB Notification: Performance of Templates: time 0.007057/1.373, allocations: 4.344 MB / 1.135 GB, free: 30.68 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)