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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007444/0.0007446, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008067/0.0008067, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.987/0.987, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1671, allocations: 83.41 MB / 0.5975 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001919/0.1691, allocations: 1.19 MB / 0.5987 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009819/0.1701, allocations: 415.2 kB / 0.5991 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.1702, allocations: 3.938 kB / 0.5991 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.545e-05/0.1703, allocations: 0 / 0.5991 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.1704, allocations: 23.84 kB / 0.5991 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008717/0.1713, allocations: 215.2 kB / 0.5993 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.1717, allocations: 255.5 kB / 0.5996 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.1718, allocations: 7.984 kB / 0.5996 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.1724, allocations: 223.6 kB / 0.5998 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.1728, allocations: 135.7 kB / 0.5999 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.969e-05/0.1729, allocations: 11.98 kB / 0.5999 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.276e-05/0.1729, allocations: 12 kB / 0.5999 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.1731, allocations: 83.78 kB / 0.6 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1733, allocations: 69.58 kB / 0.6001 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.1736, allocations: 215.8 kB / 0.6003 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.1737, allocations: 4 kB / 0.6003 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.786e-06/0.1737, allocations: 0 / 0.6003 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.1737, allocations: 0 / 0.6003 GB, free: 4.883 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.001585/0.1753, allocations: 0.6604 MB / 0.6009 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.163e-05/0.1754, allocations: 12.03 kB / 0.601 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.112e-05/0.1755, allocations: 34.56 kB / 0.601 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1756, allocations: 39.66 kB / 0.601 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.176, allocations: 258.5 kB / 0.6013 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.1761, allocations: 12 kB / 0.6013 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.1762, allocations: 16 kB / 0.6013 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009111/0.1771, allocations: 213.4 kB / 0.6015 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1771, allocations: 0 / 0.6015 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.1771, allocations: 8 kB / 0.6015 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1772, allocations: 0 / 0.6015 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.1778, allocations: 103.9 kB / 0.6016 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.1782, allocations: 329.3 kB / 0.6019 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/0.1791, allocations: 186.4 kB / 0.6021 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.1797, allocations: 120.8 kB / 0.6022 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.1798, allocations: 7.984 kB / 0.6022 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008324/0.1806, allocations: 219.1 kB / 0.6024 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.1806, allocations: 0 / 0.6024 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002258/0.1829, allocations: 492.2 kB / 0.6029 GB, free: 2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.1829, allocations: 55.41 kB / 0.603 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.1833, allocations: 286.9 kB / 0.6032 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.1834, allocations: 41.69 kB / 0.6033 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.1835, allocations: 89.14 kB / 0.6034 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.1835, allocations: 35.61 kB / 0.6034 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.1836, allocations: 8 kB / 0.6034 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1837, allocations: 322.8 kB / 0.6037 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.1839, allocations: 91.94 kB / 0.6038 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.1842, allocations: 134.6 kB / 0.6039 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.1844, allocations: 153.2 kB / 0.6041 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1844, allocations: 0 / 0.6041 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006752/0.1851, allocations: 396.6 kB / 0.6044 GB, free: 336 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.737e-05/0.1852, allocations: 71.39 kB / 0.6045 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1852, allocations: 0 / 0.6045 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.1853, allocations: 7.984 kB / 0.6045 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1854, allocations: 27.92 kB / 0.6045 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.1855, allocations: 0 / 0.6045 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.1859, allocations: 64.05 kB / 0.6046 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.186, allocations: 39.98 kB / 0.6046 GB, free: 112 kB / 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3024/0.4884, allocations: 170.2 kB / 0.6048 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.4885, allocations: 27.58 kB / 0.6048 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.4886, allocations: 29.36 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4886, allocations: 5.562 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4886, allocations: 1.891 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4886, allocations: 0.5625 kB / 0.6049 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.4905, allocations: 0.7095 MB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4905, allocations: 0.625 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.4906, allocations: 2.594 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.4906, allocations: 7.281 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.4906, allocations: 17.36 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4906, allocations: 0.9375 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4906, allocations: 0.5 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.492, allocations: 475.9 kB / 0.606 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.4921, allocations: 159.7 kB / 0.6062 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.4922, allocations: 10.81 kB / 0.6062 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.4926, allocations: 39.58 kB / 0.6062 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.4926, allocations: 10.09 kB / 0.6063 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.4927, allocations: 39.31 kB / 0.6063 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001558/0.4928, allocations: 210.6 kB / 0.6065 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4928, allocations: 0 / 0.6065 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003485/0.4932, allocations: 46.56 kB / 0.6065 GB, free: 40.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.4948, allocations: 1.016 MB / 0.6075 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009604/0.4958, allocations: 388.7 kB / 0.6079 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4958, allocations: 4.516 kB / 0.6079 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.4964, allocations: 131.3 kB / 0.608 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.4968, allocations: 24.83 kB / 0.608 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.4988, allocations: 1.187 MB / 0.6092 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.499, allocations: 0.7367 MB / 0.6099 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.052e-05/0.4991, allocations: 17.23 kB / 0.6099 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.4991, allocations: 24.2 kB / 0.61 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4991, allocations: 2.625 kB / 0.61 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.5129, allocations: 4.553 MB / 0.6144 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/0.5131, allocations: 203 kB / 0.6146 GB, free: 37.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.338, allocations: 2.5 kB / 0.6146 GB, free: 37.46 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: