Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 113.8 kB / 16.37 MB, free: 5.535 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.001232/0.001232, allocations: 186.4 kB / 17.3 MB, free: 5.188 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.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.813/1.813, allocations: 292.3 MB / 0.5496 GB, free: 17.34 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.001461/0.001461, allocations: 72.12 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2906, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003691/0.2944, allocations: 1.507 MB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2956, allocations: 415.4 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.2957, allocations: 0 / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.2958, allocations: 7.875 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.2959, allocations: 24.22 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.2967, allocations: 247.5 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.2971, allocations: 327.5 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.2972, allocations: 4 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.2975, allocations: 211.6 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.2977, allocations: 108.1 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.2978, allocations: 20 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.2979, allocations: 20 kB / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.298, allocations: 79.72 kB / 0.7877 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.2982, allocations: 127.4 kB / 0.7878 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.5001/0.7982, allocations: 288 kB / 0.788 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7983, allocations: 0 / 0.788 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7983, allocations: 0 / 0.788 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.7983, allocations: 0.8438 kB / 0.788 GB, free: 46.92 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001026/0.7994, allocations: 0.7408 MB / 0.7888 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7994, allocations: 11.86 kB / 0.7888 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.7995, allocations: 33.02 kB / 0.7888 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.7998, allocations: 262.9 kB / 0.7891 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.7998, allocations: 16.34 kB / 0.7891 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.7999, allocations: 21.19 kB / 0.7891 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008512/0.8008, allocations: 198.6 kB / 0.7893 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.8008, allocations: 4.281 kB / 0.7893 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.8008, allocations: 3.375 kB / 0.7893 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.8008, allocations: 4.625 kB / 0.7893 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.8015, allocations: 94.98 kB / 0.7894 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.8018, allocations: 318.4 kB / 0.7897 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009072/0.8027, allocations: 175.3 kB / 0.7899 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.8033, allocations: 107.3 kB / 0.79 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.8034, allocations: 8.156 kB / 0.79 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008876/0.8043, allocations: 213.9 kB / 0.7902 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/0.8043, allocations: 1.172 kB / 0.7902 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002201/0.8065, allocations: 446.8 kB / 0.7906 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.8065, allocations: 59.2 kB / 0.7907 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.8068, allocations: 295.2 kB / 0.7909 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.8069, allocations: 40.39 kB / 0.791 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.8069, allocations: 94.19 kB / 0.7911 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.807, allocations: 43.23 kB / 0.7911 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.8071, allocations: 95.8 kB / 0.7912 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.8072, allocations: 328.5 kB / 0.7915 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.8074, allocations: 76.48 kB / 0.7916 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.8076, allocations: 134 kB / 0.7917 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.8079, allocations: 242 kB / 0.7919 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.8079, allocations: 2.625 kB / 0.792 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005441/0.8084, allocations: 393.6 kB / 0.7923 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/0.8085, allocations: 76.88 kB / 0.7924 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8085, allocations: 3.281 kB / 0.7924 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.8085, allocations: 1.312 kB / 0.7924 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.8087, allocations: 23.88 kB / 0.7924 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8087, allocations: 3.188 kB / 0.7924 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.8092, allocations: 59.59 kB / 0.7925 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.8092, allocations: 40 kB / 0.7925 GB, free: 44.72 MB / 0.6544 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0001997/0.8094, allocations: 163.6 kB / 0.7927 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.8095, allocations: 38.22 kB / 0.7927 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.8096, allocations: 27.48 kB / 0.7927 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8096, allocations: 0 / 0.7927 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.8096, allocations: 5.828 kB / 0.7927 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.8096, allocations: 0 / 0.7927 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.8115, allocations: 0.6941 MB / 0.7934 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8115, allocations: 0 / 0.7934 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.8116, allocations: 4.688 kB / 0.7934 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.8116, allocations: 5.125 kB / 0.7934 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.8116, allocations: 13.36 kB / 0.7934 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.8116, allocations: 3.406 kB / 0.7935 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8116, allocations: 1.031 kB / 0.7935 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.8131, allocations: 455.6 kB / 0.7939 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.8133, allocations: 156.3 kB / 0.794 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.8134, allocations: 19 kB / 0.7941 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.8138, allocations: 30.97 kB / 0.7941 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.8138, allocations: 9.625 kB / 0.7941 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/0.8139, allocations: 40.55 kB / 0.7941 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001789/0.8141, allocations: 211.1 kB / 0.7943 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.61e-07/0.8141, allocations: 0.5 kB / 0.7943 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003147/0.8144, allocations: 54.72 kB / 0.7944 GB, free: 43.94 MB / 0.6544 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001477/0.8146, allocations: 124.8 kB / 0.7945 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.8156, allocations: 382.8 kB / 0.7949 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8156, allocations: 0 / 0.7949 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006665/0.8163, allocations: 116.3 kB / 0.795 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.8167, allocations: 18.62 kB / 0.795 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.818, allocations: 464 kB / 0.7954 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.8182, allocations: 0.7415 MB / 0.7962 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.8182, allocations: 21.05 kB / 0.7962 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.8182, allocations: 0 / 0.7962 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.005292/0.8235, allocations: 2.83 MB / 0.7989 GB, free: 42.6 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)