Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001337/0.001342, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00154/0.00154, allocations: 192.5 kB / 16.25 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.046/1.046, allocations: 143 MB / 433.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 59.91 kB / 0.5137 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1799, allocations: 82.03 MB / 0.5938 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002783/0.1827, allocations: 1.537 MB / 0.5953 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009633/0.1837, allocations: 433.5 kB / 0.5957 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.1838, allocations: 4 kB / 0.5957 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1839, allocations: 3.938 kB / 0.5957 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.1841, allocations: 20.28 kB / 0.5957 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.1848, allocations: 233.6 kB / 0.5959 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.1852, allocations: 335.8 kB / 0.5963 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.1853, allocations: 7.938 kB / 0.5963 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.1856, allocations: 234.3 kB / 0.5965 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1858, allocations: 131.6 kB / 0.5966 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.1859, allocations: 20 kB / 0.5966 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.462e-05/0.1859, allocations: 20 kB / 0.5967 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1861, allocations: 79.77 kB / 0.5967 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.1862, allocations: 139.3 kB / 0.5969 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.1866, allocations: 303.3 kB / 0.5972 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1866, allocations: 4 kB / 0.5972 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1866, allocations: 0 / 0.5972 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.1866, allocations: 0 / 0.5972 GB, free: 6.523 MB / 0.4981 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.001278/0.1879, allocations: 0.7498 MB / 0.5979 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1879, allocations: 8.031 kB / 0.5979 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.188, allocations: 31.72 kB / 0.5979 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1883, allocations: 266.2 kB / 0.5982 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.1884, allocations: 12 kB / 0.5982 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.1884, allocations: 19.98 kB / 0.5982 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009269/0.1894, allocations: 199.6 kB / 0.5984 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1894, allocations: 3.938 kB / 0.5984 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.1894, allocations: 0 / 0.5984 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1894, allocations: 4 kB / 0.5984 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.1902, allocations: 99.91 kB / 0.5985 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.1906, allocations: 317.3 kB / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.1916, allocations: 182.4 kB / 0.599 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/0.1924, allocations: 108.8 kB / 0.5991 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1924, allocations: 7.984 kB / 0.5991 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009285/0.1933, allocations: 215.1 kB / 0.5993 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.1933, allocations: 0 / 0.5993 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002444/0.1958, allocations: 451.5 kB / 0.5997 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1959, allocations: 55.41 kB / 0.5998 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1961, allocations: 294.9 kB / 0.6001 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.1962, allocations: 41.7 kB / 0.6001 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.1963, allocations: 85.14 kB / 0.6002 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.1963, allocations: 39.55 kB / 0.6002 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.1965, allocations: 97.48 kB / 0.6003 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1966, allocations: 326.8 kB / 0.6006 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.1968, allocations: 79.94 kB / 0.6007 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.197, allocations: 133.9 kB / 0.6008 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.1973, allocations: 245.2 kB / 0.6011 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1973, allocations: 0 / 0.6011 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006468/0.198, allocations: 399.2 kB / 0.6014 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/0.198, allocations: 79.31 kB / 0.6015 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1981, allocations: 7.938 kB / 0.6015 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1981, allocations: 0 / 0.6015 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1983, allocations: 27.92 kB / 0.6016 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1983, allocations: 4 kB / 0.6016 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.1988, allocations: 52.05 kB / 0.6016 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.1989, allocations: 47.97 kB / 0.6017 GB, free: 1.578 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.0001875/0.1991, allocations: 171.9 kB / 0.6018 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.1991, allocations: 27.66 kB / 0.6018 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.1992, allocations: 30.23 kB / 0.6019 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1992, allocations: 4 kB / 0.6019 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1992, allocations: 0 / 0.6019 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1992, allocations: 0 / 0.6019 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.2013, allocations: 0.6933 MB / 0.6026 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2013, allocations: 0 / 0.6026 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.2013, allocations: 8 kB / 0.6026 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2014, allocations: 4 kB / 0.6026 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.2014, allocations: 23.97 kB / 0.6026 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2014, allocations: 0 / 0.6026 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2014, allocations: 0 / 0.6026 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.2031, allocations: 445.9 kB / 0.603 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2971/0.5002, allocations: 163.3 kB / 0.6032 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/0.5003, allocations: 13.86 kB / 0.6032 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.5008, allocations: 29.31 kB / 0.6032 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.5009, allocations: 7.406 kB / 0.6032 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.501, allocations: 43.19 kB / 0.6033 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001863/0.5012, allocations: 216.2 kB / 0.6035 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5012, allocations: 0 / 0.6035 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003963/0.5016, allocations: 47.67 kB / 0.6035 GB, free: 44.08 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.0001361/0.5017, allocations: 115.5 kB / 0.6036 GB, free: 43.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.5028, allocations: 381.4 kB / 0.604 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5028, allocations: 2.938 kB / 0.604 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007493/0.5036, allocations: 113.3 kB / 0.6041 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.5039, allocations: 24.34 kB / 0.6041 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5051, allocations: 0.4995 MB / 0.6046 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.5053, allocations: 0.7419 MB / 0.6053 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.807e-05/0.5054, allocations: 16.92 kB / 0.6053 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.5054, allocations: 15 kB / 0.6054 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.5054, allocations: 0 / 0.6054 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.006423/0.5118, allocations: 3.734 MB / 0.609 GB, free: 42.68 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)