Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001596/0.001596, allocations: 106.1 kB / 16.36 MB, free: 6.289 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.001898/0.001898, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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 0.8626/0.8626, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4235, allocations: 82.04 MB / 0.5957 GB, free: 16.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002385/0.4259, allocations: 1.473 MB / 0.5971 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008395/0.4268, allocations: 440 kB / 0.5975 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.4269, allocations: 0 / 0.5975 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.427, allocations: 7.875 kB / 0.5975 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.235e-05/0.4271, allocations: 28.22 kB / 0.5976 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.4277, allocations: 245 kB / 0.5978 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.428, allocations: 328.7 kB / 0.5981 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.4281, allocations: 9.344 kB / 0.5981 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.4283, allocations: 195.7 kB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.4285, allocations: 115 kB / 0.5984 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.4286, allocations: 23.94 kB / 0.5985 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-05/0.4286, allocations: 20 kB / 0.5985 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.4287, allocations: 80.7 kB / 0.5985 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.4288, allocations: 127.3 kB / 0.5987 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.4291, allocations: 300.9 kB / 0.599 GB, free: 12.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4291, allocations: 1.219 kB / 0.599 GB, free: 12.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4291, allocations: 0 / 0.599 GB, free: 12.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.4291, allocations: 0 / 0.599 GB, free: 12.94 MB / 446.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.0008401/0.4299, allocations: 0.7398 MB / 0.5997 GB, free: 12.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.43, allocations: 12.03 kB / 0.5997 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.4301, allocations: 37.22 kB / 0.5997 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.4303, allocations: 260.6 kB / 0.6 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.4304, allocations: 16.36 kB / 0.6 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.4304, allocations: 27.92 kB / 0.6 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.4312, allocations: 204.7 kB / 0.6002 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4313, allocations: 0 / 0.6002 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4313, allocations: 5.219 kB / 0.6002 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4313, allocations: 0 / 0.6002 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006175/0.4319, allocations: 101.6 kB / 0.6003 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.4322, allocations: 309.3 kB / 0.6006 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.4331, allocations: 182 kB / 0.6008 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.4337, allocations: 102.2 kB / 0.6009 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.4337, allocations: 15.92 kB / 0.6009 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008008/0.4345, allocations: 206 kB / 0.6011 GB, free: 10.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.4345, allocations: 0 / 0.6011 GB, free: 10.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001984/0.4365, allocations: 448 kB / 0.6015 GB, free: 10.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4366, allocations: 59.41 kB / 0.6016 GB, free: 10.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.4368, allocations: 296.1 kB / 0.6019 GB, free: 9.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.4368, allocations: 37.69 kB / 0.6019 GB, free: 9.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.4369, allocations: 95.45 kB / 0.602 GB, free: 9.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.4369, allocations: 39.48 kB / 0.602 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.437, allocations: 97.48 kB / 0.6021 GB, free: 9.473 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.998e-05/0.4371, allocations: 322.8 kB / 0.6024 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.4372, allocations: 75.95 kB / 0.6025 GB, free: 9.074 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.4374, allocations: 141.5 kB / 0.6026 GB, free: 8.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.4377, allocations: 238.9 kB / 0.6029 GB, free: 8.656 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4377, allocations: 3.938 kB / 0.6029 GB, free: 8.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004982/0.4382, allocations: 389.9 kB / 0.6032 GB, free: 8.254 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.4382, allocations: 73.7 kB / 0.6033 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4382, allocations: 4 kB / 0.6033 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4383, allocations: 5.406 kB / 0.6033 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.4384, allocations: 23.91 kB / 0.6033 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4384, allocations: 4 kB / 0.6033 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.4388, allocations: 57.23 kB / 0.6034 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.4389, allocations: 44.73 kB / 0.6034 GB, free: 8.039 MB / 446.1 MB 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.0001312/0.439, allocations: 169.4 kB / 0.6036 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.4391, allocations: 23.72 kB / 0.6036 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.4391, allocations: 27.45 kB / 0.6036 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4391, allocations: 4 kB / 0.6037 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4392, allocations: 0 / 0.6037 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4392, allocations: 8.875 kB / 0.6037 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.4409, allocations: 0.6917 MB / 0.6043 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4409, allocations: 1.5 kB / 0.6043 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.441, allocations: 4 kB / 0.6043 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.441, allocations: 0 / 0.6043 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.441, allocations: 23.97 kB / 0.6044 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.441, allocations: 6.375 kB / 0.6044 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.441, allocations: 0 / 0.6044 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.4424, allocations: 446.2 kB / 0.6048 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.4425, allocations: 164.6 kB / 0.605 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.4426, allocations: 15.92 kB / 0.605 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.443, allocations: 29.31 kB / 0.605 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.443, allocations: 15.92 kB / 0.605 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.4431, allocations: 41.11 kB / 0.605 GB, free: 6.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.4432, allocations: 209.9 kB / 0.6052 GB, free: 6.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4432, allocations: 0.9062 kB / 0.6052 GB, free: 6.098 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.4436, allocations: 51.98 kB / 0.6053 GB, free: 6.047 MB / 446.1 MB 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.0001132/0.4437, allocations: 112.8 kB / 0.6054 GB, free: 5.926 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009186/0.4446, allocations: 383.8 kB / 0.6058 GB, free: 5.531 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4446, allocations: 2.625 kB / 0.6058 GB, free: 5.531 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.4452, allocations: 115.9 kB / 0.6059 GB, free: 5.418 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.4456, allocations: 24.58 kB / 0.6059 GB, free: 5.395 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4466, allocations: 429 kB / 0.6063 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.4468, allocations: 0.7452 MB / 0.607 GB, free: 4.191 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.494e-05/0.4468, allocations: 11.09 kB / 0.6071 GB, free: 4.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.4469, allocations: 19.95 kB / 0.6071 GB, free: 4.164 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4469, allocations: 1.281 kB / 0.6071 GB, free: 4.164 MB / 446.1 MB Notification: Performance of Templates: time 0.005603/0.4525, allocations: 3.636 MB / 0.6106 GB, free: 0.6133 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)