Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001008/0.001008, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 291.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8813/0.8813, allocations: 169.3 MB / 0.499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 95.86 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3841, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002248/0.3864, allocations: 1.488 MB / 0.7685 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008531/0.3872, allocations: 429.1 kB / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.3873, allocations: 0 / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.766e-05/0.3874, allocations: 11.81 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.111e-05/0.3875, allocations: 28.22 kB / 0.7689 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.3881, allocations: 251 kB / 0.7692 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.3885, allocations: 327.5 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.3885, allocations: 8 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.3888, allocations: 199.7 kB / 0.7697 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.389, allocations: 116.1 kB / 0.7698 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.3891, allocations: 20 kB / 0.7698 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.564e-05/0.3892, allocations: 20 kB / 0.7698 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3893, allocations: 79.77 kB / 0.7699 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3894, allocations: 123.3 kB / 0.77 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3897, allocations: 297.3 kB / 0.7703 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3897, allocations: 0 / 0.7703 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3897, allocations: 4 kB / 0.7703 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3897, allocations: 0 / 0.7703 GB, free: 0.6055 MB / 0.5294 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.0009971/0.3907, allocations: 0.7383 MB / 0.771 GB, free: 15.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.3908, allocations: 8.031 kB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.3908, allocations: 36.64 kB / 0.7711 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.3911, allocations: 255.6 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.3912, allocations: 20.34 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.3912, allocations: 23.94 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009454/0.3922, allocations: 201.4 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3922, allocations: 3.938 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.3922, allocations: 0 / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3922, allocations: 4 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/0.393, allocations: 99.92 kB / 0.7716 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.3933, allocations: 317.3 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3944, allocations: 170.4 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/0.3951, allocations: 108.8 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3951, allocations: 8 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009091/0.396, allocations: 219.1 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.396, allocations: 0 / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002451/0.3985, allocations: 440.2 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3986, allocations: 63.39 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.3988, allocations: 294.9 kB / 0.7732 GB, free: 13.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.3989, allocations: 33.7 kB / 0.7732 GB, free: 13.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.399, allocations: 93.12 kB / 0.7733 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.399, allocations: 39.48 kB / 0.7733 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.3992, allocations: 97.48 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3993, allocations: 322.8 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.3995, allocations: 87.88 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.3997, allocations: 133.9 kB / 0.774 GB, free: 12.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.4, allocations: 236.1 kB / 0.7742 GB, free: 12.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4, allocations: 7.938 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005863/0.4006, allocations: 388.5 kB / 0.7746 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.4006, allocations: 75.38 kB / 0.7746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4007, allocations: 8.188 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4007, allocations: 0 / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4008, allocations: 27.92 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4008, allocations: 4 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.4013, allocations: 55.8 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.4014, allocations: 43.98 kB / 0.7748 GB, free: 11.69 MB / 0.545 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.0001642/0.4015, allocations: 171.9 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.4016, allocations: 27.7 kB / 0.775 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.4016, allocations: 26.3 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4017, allocations: 4 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4017, allocations: 0 / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4017, allocations: 3.984 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.4037, allocations: 0.6896 MB / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4037, allocations: 0 / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.4037, allocations: 11.92 kB / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4038, allocations: 0 / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.4038, allocations: 23.97 kB / 0.7757 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4038, allocations: 0 / 0.7757 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4038, allocations: 0 / 0.7757 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.4055, allocations: 443.4 kB / 0.7761 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.4057, allocations: 164.6 kB / 0.7763 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.4057, allocations: 16 kB / 0.7763 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.4062, allocations: 27.97 kB / 0.7763 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.4062, allocations: 11.98 kB / 0.7763 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.4063, allocations: 43.91 kB / 0.7764 GB, free: 9.945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00018/0.4065, allocations: 209.9 kB / 0.7766 GB, free: 9.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.373e-06/0.4065, allocations: 0 / 0.7766 GB, free: 9.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003192/0.4068, allocations: 51.94 kB / 0.7766 GB, free: 9.688 MB / 0.545 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.0001423/0.4069, allocations: 120 kB / 0.7767 GB, free: 9.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.4081, allocations: 381.7 kB / 0.7771 GB, free: 9.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4081, allocations: 0 / 0.7771 GB, free: 9.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007686/0.4089, allocations: 116.3 kB / 0.7772 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.4092, allocations: 24.58 kB / 0.7772 GB, free: 9.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.4105, allocations: 465.4 kB / 0.7777 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.4108, allocations: 0.7477 MB / 0.7784 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.4109, allocations: 15.44 kB / 0.7784 GB, free: 7.754 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.4109, allocations: 0 / 0.7784 GB, free: 7.754 MB / 0.545 GB Notification: Performance of Templates: time 0.004495/0.4154, allocations: 2.85 MB / 0.7812 GB, free: 4.941 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)