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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01044/0.01044, allocations: 171.2 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008218/0.0008218, allocations: 21.59 kB / 0.6743 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3405, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.00229/0.3428, allocations: 1.39 MB / 0.7893 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3441, allocations: 0.5031 MB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.3442, allocations: 0 / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.3443, allocations: 7.922 kB / 0.7898 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.3444, allocations: 28.22 kB / 0.7898 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007239/0.3452, allocations: 258.9 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.3455, allocations: 367.8 kB / 0.7904 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.3457, allocations: 29.11 kB / 0.7904 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.346, allocations: 230.2 kB / 0.7906 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.3463, allocations: 131.5 kB / 0.7908 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.3464, allocations: 12 kB / 0.7908 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.595e-05/0.3464, allocations: 8 kB / 0.7908 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3466, allocations: 83.7 kB / 0.7909 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.3467, allocations: 161 kB / 0.791 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.3472, allocations: 418.8 kB / 0.7914 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3472, allocations: 0 / 0.7914 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3472, allocations: 0 / 0.7914 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3472, allocations: 4 kB / 0.7914 GB, free: 7.984 MB / 0.6075 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.001079/0.3483, allocations: 0.6798 MB / 0.7921 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3483, allocations: 11.97 kB / 0.7921 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.3484, allocations: 35.62 kB / 0.7921 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.3488, allocations: 286.9 kB / 0.7924 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/0.3489, allocations: 16 kB / 0.7924 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.3489, allocations: 16 kB / 0.7924 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.35, allocations: 252.2 kB / 0.7927 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.35, allocations: 0 / 0.7927 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.35, allocations: 7.984 kB / 0.7927 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.35, allocations: 4 kB / 0.7927 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.3508, allocations: 119.9 kB / 0.7928 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.3521, allocations: 0.5627 MB / 0.7933 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.3531, allocations: 198.5 kB / 0.7935 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/0.3539, allocations: 124.8 kB / 0.7936 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.354, allocations: 3.938 kB / 0.7937 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009866/0.3549, allocations: 233.7 kB / 0.7939 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 3.016e-06/0.355, allocations: 0 / 0.7939 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002649/0.3576, allocations: 489 kB / 0.7943 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.3577, allocations: 67.38 kB / 0.7944 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.3581, allocations: 324.4 kB / 0.7947 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.3582, allocations: 33.7 kB / 0.7947 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.3583, allocations: 105 kB / 0.7948 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.3583, allocations: 31.61 kB / 0.7949 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.3584, allocations: 37.7 kB / 0.7949 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3585, allocations: 330.8 kB / 0.7952 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.3588, allocations: 95.94 kB / 0.7953 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.359, allocations: 144.8 kB / 0.7955 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.3593, allocations: 253.2 kB / 0.7957 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3594, allocations: 3.938 kB / 0.7957 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000701/0.3601, allocations: 423.3 kB / 0.7961 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.534e-05/0.3602, allocations: 79.42 kB / 0.7962 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3602, allocations: 7.938 kB / 0.7962 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3602, allocations: 0 / 0.7962 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3604, allocations: 23.97 kB / 0.7962 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.3604, allocations: 4 kB / 0.7962 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.3609, allocations: 75.72 kB / 0.7963 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.361, allocations: 43.98 kB / 0.7963 GB, free: 2.602 MB / 0.6075 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002243/0.3612, allocations: 172.4 kB / 0.7965 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.3612, allocations: 23.72 kB / 0.7965 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/0.3613, allocations: 30.36 kB / 0.7965 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3613, allocations: 0 / 0.7965 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.3613, allocations: 4 kB / 0.7965 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3614, allocations: 15.86 kB / 0.7966 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.3635, allocations: 0.7583 MB / 0.7973 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3636, allocations: 0 / 0.7973 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.3636, allocations: 4 kB / 0.7973 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3636, allocations: 0 / 0.7973 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.3637, allocations: 19.91 kB / 0.7973 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3637, allocations: 7.938 kB / 0.7973 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3637, allocations: 4 kB / 0.7973 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.3654, allocations: 478.9 kB / 0.7978 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.3656, allocations: 188.6 kB / 0.798 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.3657, allocations: 23.92 kB / 0.798 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.3662, allocations: 39.97 kB / 0.798 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.3662, allocations: 11.98 kB / 0.798 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.3663, allocations: 39.97 kB / 0.7981 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000246/0.3665, allocations: 231 kB / 0.7983 GB, free: 488 kB / 0.6075 GB Notification: Performance of sort global known variables: time 4.7e-07/0.3665, allocations: 0 / 0.7983 GB, free: 488 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003848/0.3669, allocations: 48 kB / 0.7984 GB, free: 440 kB / 0.6075 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002095/0.3671, allocations: 135.6 kB / 0.7985 GB, free: 292 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.3684, allocations: 402.6 kB / 0.7989 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3684, allocations: 384 / 0.7989 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007577/0.3692, allocations: 134.7 kB / 0.799 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.3696, allocations: 31.06 kB / 0.799 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3711, allocations: 0.5765 MB / 0.7996 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.3715, allocations: 0.7516 MB / 0.8003 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.286e-05/0.3716, allocations: 13.44 kB / 0.8003 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.3716, allocations: 19.42 kB / 0.8004 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.162e-06/0.3716, allocations: 0 / 0.8004 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.007698/0.3793, allocations: 3.952 MB / 0.8042 GB, free: 10.38 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: