Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00132/0.00132, allocations: 109 kB / 16.41 MB, free: 6.496 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.001317/0.001317, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 294.9 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.8996/0.8996, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.384, allocations: 86.98 MB / 0.767 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002349/0.3864, allocations: 1.476 MB / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.3873, allocations: 437.1 kB / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.3873, allocations: 0 / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.618e-05/0.3874, allocations: 11.86 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.3875, allocations: 24.23 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.3881, allocations: 242.6 kB / 0.7692 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.3885, allocations: 347.4 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.3885, allocations: 4 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.3888, allocations: 191.7 kB / 0.7697 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.389, allocations: 121 kB / 0.7698 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.3891, allocations: 24 kB / 0.7698 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.3892, allocations: 16 kB / 0.7698 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3893, allocations: 83.77 kB / 0.7699 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3894, allocations: 127.3 kB / 0.77 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.3897, allocations: 285.4 kB / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3897, allocations: 0 / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3897, allocations: 0 / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3897, allocations: 0 / 0.7703 GB, free: 0.6133 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.001033/0.3908, allocations: 0.7461 MB / 0.771 GB, free: 15.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3908, allocations: 12.03 kB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/0.3909, allocations: 32.66 kB / 0.7711 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.3912, allocations: 263.6 kB / 0.7713 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.3912, allocations: 8.375 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.3913, allocations: 27.86 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009556/0.3923, allocations: 197.5 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3923, allocations: 0 / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.3923, allocations: 4 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3923, allocations: 4 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000756/0.3931, allocations: 99.91 kB / 0.7716 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.3934, allocations: 325.3 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3944, allocations: 170.4 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.3952, allocations: 116.7 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3952, allocations: 4 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009047/0.3961, allocations: 207.1 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3961, allocations: 4 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002455/0.3986, allocations: 444.2 kB / 0.7729 GB, free: 13.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3986, allocations: 59.41 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.3989, allocations: 294.8 kB / 0.7732 GB, free: 13.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.3989, allocations: 41.69 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.399, allocations: 93.14 kB / 0.7733 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.3991, allocations: 47.47 kB / 0.7734 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3992, allocations: 93.48 kB / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3993, allocations: 322.8 kB / 0.7738 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.3995, allocations: 79.95 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3997, allocations: 133.9 kB / 0.774 GB, free: 12.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.4, allocations: 231.5 kB / 0.7742 GB, free: 12.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4, allocations: 11.88 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005922/0.4006, allocations: 392.6 kB / 0.7746 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.4007, allocations: 71.39 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4007, allocations: 4 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4007, allocations: 0 / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4009, allocations: 27.92 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.4009, allocations: 7.984 kB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.4013, allocations: 52 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/0.4014, allocations: 39.98 kB / 0.7748 GB, free: 11.7 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.0001687/0.4016, allocations: 175.9 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.4016, allocations: 23.72 kB / 0.775 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.4017, allocations: 26.3 kB / 0.775 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4017, allocations: 8 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4017, allocations: 0 / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4017, allocations: 0 / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.4037, allocations: 0.6935 MB / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4037, allocations: 4 kB / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.4037, allocations: 4 kB / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4037, allocations: 0 / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.4038, allocations: 19.97 kB / 0.7757 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4038, allocations: 4 kB / 0.7757 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4038, allocations: 0 / 0.7757 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.4054, allocations: 451.3 kB / 0.7761 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.4056, allocations: 160.6 kB / 0.7763 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.4057, allocations: 12 kB / 0.7763 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.4061, allocations: 31.94 kB / 0.7763 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.4062, allocations: 19.98 kB / 0.7763 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/0.4062, allocations: 43.92 kB / 0.7764 GB, free: 9.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001794/0.4064, allocations: 209.9 kB / 0.7766 GB, free: 9.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4064, allocations: 0 / 0.7766 GB, free: 9.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003045/0.4067, allocations: 52 kB / 0.7766 GB, free: 9.68 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.0001383/0.4069, allocations: 111.2 kB / 0.7767 GB, free: 9.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.408, allocations: 385.5 kB / 0.7771 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.408, allocations: 0 / 0.7771 GB, free: 9.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007282/0.4087, allocations: 119.8 kB / 0.7772 GB, free: 9.043 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.409, allocations: 22.52 kB / 0.7772 GB, free: 9.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.4103, allocations: 461.8 kB / 0.7777 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.4105, allocations: 0.7439 MB / 0.7784 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.4106, allocations: 15.42 kB / 0.7784 GB, free: 7.754 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4106, allocations: 7.938 kB / 0.7784 GB, free: 7.746 MB / 0.545 GB Notification: Performance of Templates: time 0.004348/0.415, allocations: 2.84 MB / 0.7812 GB, free: 4.938 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)