Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.0009324/0.0009324, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.0009817/0.0009817, allocations: 167.6 kB / 24.96 MB, free: 8.23 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 0.9504/0.9504, allocations: 177.1 MB / 205.4 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 1.867/1.867, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.776 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.833e-05, allocations: 7 kB / 0.776 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002134/0.002153, allocations: 1.824 MB / 0.7778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.003284, allocations: 0.6211 MB / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.003353, allocations: 0 / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.003467, allocations: 12.73 kB / 0.7784 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.003588, allocations: 33.97 kB / 0.7785 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.004165, allocations: 376.3 kB / 0.7788 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006599/0.004825, allocations: 0.6 MB / 0.7794 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.363e-05/0.004899, allocations: 29.94 kB / 0.7794 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003346/0.005233, allocations: 419.5 kB / 0.7798 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.005426, allocations: 139.7 kB / 0.78 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.005478, allocations: 41.75 kB / 0.78 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.458e-05/0.005522, allocations: 44 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.005609, allocations: 131.6 kB / 0.7802 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.005713, allocations: 151.7 kB / 0.7803 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.006001, allocations: 439.3 kB / 0.7807 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.006003, allocations: 0 / 0.7807 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.31e-07/0.006004, allocations: 0.5312 kB / 0.7807 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.006007, allocations: 3.469 kB / 0.7807 GB, free: 0.5234 MB / 0.7292 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.000767/0.006774, allocations: 0.7817 MB / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.006807, allocations: 9.344 kB / 0.7815 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.00688, allocations: 48.88 kB / 0.7816 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.007112, allocations: 251.9 kB / 0.7818 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.007143, allocations: 20.36 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.007183, allocations: 32.36 kB / 0.7818 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.007667, allocations: 192.2 kB / 0.782 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.00768, allocations: 192 / 0.782 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.007701, allocations: 8.359 kB / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.007707, allocations: 0.875 kB / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.007797, allocations: 50.95 kB / 0.7821 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.008463, allocations: 321.5 kB / 0.7824 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.008643, allocations: 106.7 kB / 0.7825 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.008716, allocations: 42.28 kB / 0.7825 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.008739, allocations: 4 kB / 0.7825 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.008916, allocations: 159.5 kB / 0.7827 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.008917, allocations: 0 / 0.7827 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003619/0.009279, allocations: 207.9 kB / 0.7829 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.009316, allocations: 71.27 kB / 0.783 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.009521, allocations: 340 kB / 0.7833 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.009563, allocations: 45.06 kB / 0.7833 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.009613, allocations: 101.4 kB / 0.7834 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.009643, allocations: 39.69 kB / 0.7835 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.009764, allocations: 121.4 kB / 0.7836 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.009844, allocations: 326.8 kB / 0.7839 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.01, allocations: 163.3 kB / 0.784 GB, free: 13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.01016, allocations: 217.3 kB / 0.7842 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.01035, allocations: 252.2 kB / 0.7845 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01035, allocations: 0 / 0.7845 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003756/0.01073, allocations: 450.7 kB / 0.7849 GB, free: 12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/0.01079, allocations: 87.38 kB / 0.785 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.0108, allocations: 8.969 kB / 0.785 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01082, allocations: 4 kB / 0.785 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.01094, allocations: 39.89 kB / 0.785 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01094, allocations: 4.938 kB / 0.7851 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.01111, allocations: 48.48 kB / 0.7851 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.01116, allocations: 57 kB / 0.7852 GB, free: 11.75 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 (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.0001306/0.01129, allocations: 140.2 kB / 0.7853 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.01133, allocations: 31.91 kB / 0.7853 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.01139, allocations: 35.73 kB / 0.7854 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.01139, allocations: 4.5 kB / 0.7854 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.0114, allocations: 4.734 kB / 0.7854 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.0114, allocations: 0 / 0.7854 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.01182, allocations: 396.2 kB / 0.7857 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01182, allocations: 4 kB / 0.7857 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.01185, allocations: 5.031 kB / 0.7857 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01185, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.01187, allocations: 11.97 kB / 0.7858 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01187, allocations: 1.062 kB / 0.7858 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01188, allocations: 0 / 0.7858 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.0121, allocations: 251.8 kB / 0.786 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.01227, allocations: 131.5 kB / 0.7861 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.01232, allocations: 22.44 kB / 0.7861 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.01249, allocations: 35.97 kB / 0.7862 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.01251, allocations: 7.984 kB / 0.7862 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.01256, allocations: 43.97 kB / 0.7862 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001038/0.01266, allocations: 145.4 kB / 0.7864 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01266, allocations: 0 / 0.7864 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002112/0.01287, allocations: 72.84 kB / 0.7864 GB, free: 10.4 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) * 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.0001188/0.01299, allocations: 105.4 kB / 0.7865 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.01341, allocations: 417.9 kB / 0.7869 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.01342, allocations: 4 kB / 0.7869 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.186e-05/0.01351, allocations: 69.97 kB / 0.787 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.01374, allocations: 51.83 kB / 0.7871 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.01429, allocations: 483.2 kB / 0.7875 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.492e-05/0.01434, allocations: 91.8 kB / 0.7876 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.39e-05/0.01439, allocations: 15.77 kB / 0.7876 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.01456, allocations: 118.9 kB / 0.7877 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.01456, allocations: 0.5 kB / 0.7877 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of Templates: time 0.006756/0.02131, allocations: 5.871 MB / 0.7935 GB, free: 3.152 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.804742679931223]