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.0015/0.0015, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001788/0.001788, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002537/0.002537, allocations: 274.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 178.6 MB / 0.5069 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003879/0.00388, allocations: 104.3 kB / 0.6059 GB, free: 25.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1746, allocations: 89.15 MB / 0.693 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002944/0.1776, allocations: 1.581 MB / 0.6945 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1789, allocations: 0.5394 MB / 0.695 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.179, allocations: 4 kB / 0.695 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.1791, allocations: 7.922 kB / 0.6951 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.1792, allocations: 19.92 kB / 0.6951 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007485/0.18, allocations: 286.6 kB / 0.6953 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.1805, allocations: 0.5033 MB / 0.6958 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.1806, allocations: 11.98 kB / 0.6958 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.1811, allocations: 339 kB / 0.6962 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.1814, allocations: 175.2 kB / 0.6963 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.1815, allocations: 28 kB / 0.6964 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.238e-05/0.1816, allocations: 28 kB / 0.6964 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.1817, allocations: 115.6 kB / 0.6965 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.1819, allocations: 194.8 kB / 0.6967 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.1824, allocations: 434.7 kB / 0.6971 GB, free: 448 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1824, allocations: 0 / 0.6971 GB, free: 448 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1824, allocations: 3.938 kB / 0.6971 GB, free: 444 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1824, allocations: 0 / 0.6971 GB, free: 444 kB / 494.1 MB 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.001322/0.1838, allocations: 0.8625 MB / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1838, allocations: 12.03 kB / 0.698 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.1839, allocations: 48.47 kB / 0.698 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.1843, allocations: 314.3 kB / 0.6983 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.1844, allocations: 20.36 kB / 0.6983 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.1845, allocations: 24.36 kB / 0.6983 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1855, allocations: 216.1 kB / 0.6986 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1856, allocations: 4.188 kB / 0.6986 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.1856, allocations: 15.92 kB / 0.6986 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1856, allocations: 0 / 0.6986 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.1864, allocations: 99.86 kB / 0.6987 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.1869, allocations: 389.2 kB / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.1881, allocations: 182.4 kB / 0.6992 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.1889, allocations: 116.7 kB / 0.6993 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1889, allocations: 0 / 0.6993 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.19, allocations: 231 kB / 0.6995 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.19, allocations: 0 / 0.6995 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002703/0.1927, allocations: 482.4 kB / 0.7 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.1928, allocations: 63.34 kB / 0.7001 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.1933, allocations: 413.9 kB / 0.7005 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.492e-05/0.1933, allocations: 37.7 kB / 0.7005 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1935, allocations: 101.3 kB / 0.7006 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.1935, allocations: 35.59 kB / 0.7006 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.1938, allocations: 129.3 kB / 0.7008 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1939, allocations: 322.8 kB / 0.7011 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.1942, allocations: 115.9 kB / 0.7012 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.1945, allocations: 174.5 kB / 0.7013 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.195, allocations: 275.7 kB / 0.7016 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.195, allocations: 4 kB / 0.7016 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008804/0.1958, allocations: 496.5 kB / 0.7021 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.196, allocations: 95.31 kB / 0.7022 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.196, allocations: 0 / 0.7022 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.196, allocations: 4 kB / 0.7022 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1962, allocations: 20.17 kB / 0.7022 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1962, allocations: 11.94 kB / 0.7022 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.1967, allocations: 55.8 kB / 0.7023 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.556e-05/0.1968, allocations: 63.97 kB / 0.7023 GB, free: 10.76 MB / 0.4981 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.0002463/0.1971, allocations: 184 kB / 0.7025 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.1971, allocations: 51.41 kB / 0.7025 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.714e-05/0.1972, allocations: 43.73 kB / 0.7026 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1972, allocations: 0 / 0.7026 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1972, allocations: 3.984 kB / 0.7026 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1972, allocations: 0 / 0.7026 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.1995, allocations: 0.748 MB / 0.7033 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1995, allocations: 0 / 0.7033 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.1996, allocations: 11.92 kB / 0.7033 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1996, allocations: 0 / 0.7033 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.1996, allocations: 15.98 kB / 0.7033 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/0.1997, allocations: 3.984 kB / 0.7033 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1997, allocations: 0 / 0.7033 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.2015, allocations: 472.6 kB / 0.7038 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.2018, allocations: 204.4 kB / 0.704 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/0.2019, allocations: 15.98 kB / 0.704 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.2024, allocations: 39.91 kB / 0.704 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.2024, allocations: 7.984 kB / 0.7041 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.561e-05/0.2025, allocations: 55.97 kB / 0.7041 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003238/0.2028, allocations: 299.1 kB / 0.7044 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2028, allocations: 3.938 kB / 0.7044 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000389/0.2032, allocations: 64 kB / 0.7045 GB, free: 8.469 MB / 0.4981 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.0001842/0.2034, allocations: 120 kB / 0.7046 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.2048, allocations: 455.7 kB / 0.705 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2048, allocations: 0 / 0.705 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007896/0.2056, allocations: 116.2 kB / 0.7051 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.206, allocations: 35.59 kB / 0.7052 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.2076, allocations: 0.6686 MB / 0.7058 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.2081, allocations: 0.7669 MB / 0.7066 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.562e-05/0.2082, allocations: 9.094 kB / 0.7066 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.2082, allocations: 23.42 kB / 0.7066 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.2082, allocations: 0 / 0.7066 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of Templates: time 0.01019/0.2184, allocations: 5.14 MB / 0.7116 GB, free: 0.9844 MB / 0.4981 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)