Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002274/0.002274, allocations: 177.2 kB / 23.24 MB, free: 1.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.606/1.606, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.158/3.158, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.859e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003084/0.003113, allocations: 1.735 MB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.004595, allocations: 0.6153 MB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.004665, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.004768, allocations: 11.86 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.00492, allocations: 43.45 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.005812, allocations: 378.8 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007343/0.006547, allocations: 0.6009 MB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.006648, allocations: 17.3 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.007255, allocations: 415.6 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.00758, allocations: 143.7 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.007719, allocations: 40 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.007862, allocations: 44 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.008032, allocations: 131.6 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.008243, allocations: 151.7 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008248/0.009068, allocations: 0.6506 MB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.009071, allocations: 0 / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.583e-06/0.009073, allocations: 0 / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.009079, allocations: 0 / 1.006 GB, free: 8.004 MB / 0.9636 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.001557/0.01064, allocations: 0.8339 MB / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.01068, allocations: 8.75 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.01082, allocations: 56.69 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.01126, allocations: 283.9 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.01131, allocations: 20.38 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.232e-05/0.01139, allocations: 32.36 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.01241, allocations: 252 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.01242, allocations: 4.188 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.01245, allocations: 8.359 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.01246, allocations: 4.375 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007752/0.01323, allocations: 131.9 kB / 1.008 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.01454, allocations: 0.5313 MB / 1.008 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.01559, allocations: 186.5 kB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/0.01634, allocations: 124.7 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.01638, allocations: 4 kB / 1.008 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009552/0.01733, allocations: 243.2 kB / 1.009 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 2.374e-06/0.01733, allocations: 3.938 kB / 1.009 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.002688/0.02002, allocations: 0.5324 MB / 1.009 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.0201, allocations: 71.38 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005905/0.02069, allocations: 445.8 kB / 1.01 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/0.02077, allocations: 37.7 kB / 1.01 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.02088, allocations: 105.4 kB / 1.01 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.02093, allocations: 39.62 kB / 1.01 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.02118, allocations: 141.4 kB / 1.01 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.02137, allocations: 318.8 kB / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.02177, allocations: 227.3 kB / 1.01 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.0222, allocations: 271.9 kB / 1.011 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.02266, allocations: 295.7 kB / 1.011 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.02266, allocations: 0 / 1.011 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001068/0.02373, allocations: 0.6093 MB / 1.012 GB, free: 1.941 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.02384, allocations: 91.38 kB / 1.012 GB, free: 1.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.02385, allocations: 3.984 kB / 1.012 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.02387, allocations: 8.188 kB / 1.012 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.02405, allocations: 27.91 kB / 1.012 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.02406, allocations: 7.938 kB / 1.012 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.02455, allocations: 59.84 kB / 1.012 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.02466, allocations: 63.98 kB / 1.012 GB, free: 1.672 MB / 0.9636 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.000324/0.02498, allocations: 212.4 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.02506, allocations: 55.64 kB / 1.012 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.641e-05/0.02514, allocations: 39.73 kB / 1.012 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.02514, allocations: 3.938 kB / 1.012 GB, free: 1.355 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.02515, allocations: 0 / 1.012 GB, free: 1.355 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.02516, allocations: 4 kB / 1.012 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.02743, allocations: 0.7363 MB / 1.013 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02744, allocations: 0 / 1.013 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.02749, allocations: 11.94 kB / 1.013 GB, free: 0.5625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.02749, allocations: 0 / 1.013 GB, free: 0.5625 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.02753, allocations: 19.97 kB / 1.013 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.02754, allocations: 4 kB / 1.013 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02754, allocations: 0 / 1.013 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.02935, allocations: 0.5208 MB / 1.013 GB, free: 4 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.02972, allocations: 177.5 kB / 1.014 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/0.0298, allocations: 20 kB / 1.014 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/0.03043, allocations: 43.89 kB / 1.014 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.03048, allocations: 7.984 kB / 1.014 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.03056, allocations: 59.97 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004049/0.03097, allocations: 323.1 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.03097, allocations: 0 / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004644/0.03143, allocations: 67.98 kB / 1.014 GB, free: 15.32 MB / 0.9792 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.0002265/0.03166, allocations: 131.1 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.03315, allocations: 0.5254 MB / 1.015 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.03315, allocations: 0 / 1.015 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007706/0.03392, allocations: 131 kB / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.03433, allocations: 39.25 kB / 1.015 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.0361, allocations: 0.6127 MB / 1.015 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.03635, allocations: 179 kB / 1.016 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.675e-05/0.03643, allocations: 9.5 kB / 1.016 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.03649, allocations: 20.48 kB / 1.016 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of SimCode: time 1.112e-06/0.03649, allocations: 0 / 1.016 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of Templates: time 0.01253/0.04902, allocations: 6.372 MB / 1.022 GB, free: 7.176 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.139034050516784]