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.004967/0.004966, allocations: 102.6 kB / 15.73 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.001105/0.001105, allocations: 192 kB / 16.67 MB, free: 6.379 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 278.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9224/0.9224, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.164, allocations: 86.98 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002443/0.1665, allocations: 1.483 MB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009497/0.1675, allocations: 419.4 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.1675, allocations: 4 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.1677, allocations: 7.875 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.779e-05/0.1678, allocations: 24.22 kB / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.1684, allocations: 246.9 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.1688, allocations: 327.5 kB / 0.7688 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.1688, allocations: 11.98 kB / 0.7688 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.1691, allocations: 195.7 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.1693, allocations: 116.1 kB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.114e-05/0.1694, allocations: 20 kB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.1695, allocations: 19.94 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1696, allocations: 95.7 kB / 0.7692 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1697, allocations: 119.4 kB / 0.7694 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.17, allocations: 303 kB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.17, allocations: 0 / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.17, allocations: 0 / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.17, allocations: 0 / 0.7696 GB, free: 5.082 MB / 0.5606 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.0009723/0.171, allocations: 0.7345 MB / 0.7704 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.171, allocations: 8.031 kB / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.1711, allocations: 36.64 kB / 0.7704 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1714, allocations: 263.6 kB / 0.7707 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.1715, allocations: 16.36 kB / 0.7707 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.1715, allocations: 19.94 kB / 0.7707 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/0.1724, allocations: 197.5 kB / 0.7709 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1724, allocations: 7.922 kB / 0.7709 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.1724, allocations: 3.984 kB / 0.7709 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.1725, allocations: 8 kB / 0.7709 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.1731, allocations: 95.92 kB / 0.771 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.1735, allocations: 309.3 kB / 0.7713 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/0.1745, allocations: 178.4 kB / 0.7715 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/0.1751, allocations: 104.8 kB / 0.7716 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1752, allocations: 4 kB / 0.7716 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008397/0.176, allocations: 215.5 kB / 0.7718 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.176, allocations: 0 / 0.7718 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002319/0.1784, allocations: 446.7 kB / 0.7722 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1784, allocations: 67.33 kB / 0.7723 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1787, allocations: 290.9 kB / 0.7725 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.1787, allocations: 37.7 kB / 0.7726 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.1788, allocations: 89.64 kB / 0.7727 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.1789, allocations: 43.55 kB / 0.7727 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.179, allocations: 97.39 kB / 0.7728 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1791, allocations: 326.8 kB / 0.7731 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1793, allocations: 79.94 kB / 0.7732 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1795, allocations: 141.9 kB / 0.7733 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.1798, allocations: 235.5 kB / 0.7735 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1798, allocations: 3.938 kB / 0.7735 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006049/0.1804, allocations: 388.6 kB / 0.7739 GB, free: 396 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.511e-05/0.1805, allocations: 79.38 kB / 0.774 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1805, allocations: 0 / 0.774 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1805, allocations: 4 kB / 0.774 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1807, allocations: 23.92 kB / 0.774 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1807, allocations: 3.938 kB / 0.774 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.1811, allocations: 71.92 kB / 0.7741 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.1812, allocations: 39.98 kB / 0.7741 GB, free: 160 kB / 0.5606 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.3681/0.5493, allocations: 168.6 kB / 0.7743 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.5494, allocations: 25 kB / 0.7743 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.59e-05/0.5495, allocations: 27.28 kB / 0.7743 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5495, allocations: 1.906 kB / 0.7743 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5496, allocations: 0.7812 kB / 0.7743 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.5496, allocations: 3.578 kB / 0.7743 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.5519, allocations: 0.6924 MB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5519, allocations: 0.5 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.552, allocations: 5.281 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.552, allocations: 5.625 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.5521, allocations: 21.27 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.5521, allocations: 1.812 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5521, allocations: 0 / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.5538, allocations: 444.3 kB / 0.7755 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.554, allocations: 162.8 kB / 0.7756 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.554, allocations: 10.78 kB / 0.7756 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.5545, allocations: 35.44 kB / 0.7757 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.5546, allocations: 6.547 kB / 0.7757 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.5546, allocations: 44.75 kB / 0.7757 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000203/0.5548, allocations: 211.4 kB / 0.7759 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5548, allocations: 0.875 kB / 0.7759 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003951/0.5552, allocations: 46.28 kB / 0.776 GB, free: 14.26 MB / 0.5606 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.0001247/0.5554, allocations: 116.6 kB / 0.7761 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.5565, allocations: 385.3 kB / 0.7764 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5565, allocations: 0 / 0.7764 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00077/0.5573, allocations: 122.8 kB / 0.7766 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.5577, allocations: 21.52 kB / 0.7766 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.559, allocations: 420.5 kB / 0.777 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.5592, allocations: 0.7414 MB / 0.7777 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.085e-05/0.5592, allocations: 17.11 kB / 0.7777 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.5593, allocations: 19.09 kB / 0.7777 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5593, allocations: 0 / 0.7777 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.00868/0.568, allocations: 3.748 MB / 0.7814 GB, free: 12.88 MB / 0.5606 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)