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.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.CalendarTimeMonthsMinus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.0007936/0.0007936, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008049/0.0008051, allocations: 168.7 kB / 15.95 MB, free: 204 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.377/1.377, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9988/0.9988, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001431/0.1778, allocations: 1.194 MB / 0.5987 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007924/0.1786, allocations: 412.8 kB / 0.5991 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.1787, allocations: 3.938 kB / 0.5991 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.527e-05/0.1788, allocations: 7.984 kB / 0.5991 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.704e-05/0.1789, allocations: 19.86 kB / 0.5991 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.1794, allocations: 215.2 kB / 0.5993 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.1797, allocations: 251.5 kB / 0.5996 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.1797, allocations: 7.938 kB / 0.5996 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1801, allocations: 227.6 kB / 0.5998 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1803, allocations: 139.7 kB / 0.5999 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.1803, allocations: 12 kB / 0.5999 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.501e-05/0.1804, allocations: 8 kB / 0.5999 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1805, allocations: 87.77 kB / 0.6 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.1806, allocations: 65.58 kB / 0.6001 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1808, allocations: 219.8 kB / 0.6003 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1808, allocations: 0 / 0.6003 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1808, allocations: 0 / 0.6003 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.1808, allocations: 0 / 0.6003 GB, free: 4.855 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.0008716/0.1817, allocations: 0.6643 MB / 0.601 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1817, allocations: 8.031 kB / 0.601 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.1818, allocations: 42.55 kB / 0.601 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.1819, allocations: 31.67 kB / 0.601 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1821, allocations: 254.4 kB / 0.6013 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.1822, allocations: 12 kB / 0.6013 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.1822, allocations: 23.98 kB / 0.6013 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008435/0.1831, allocations: 209.5 kB / 0.6015 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1831, allocations: 0 / 0.6015 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.1831, allocations: 0 / 0.6015 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1832, allocations: 4 kB / 0.6015 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.1838, allocations: 111.9 kB / 0.6016 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.1842, allocations: 317.3 kB / 0.6019 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008944/0.1851, allocations: 190.4 kB / 0.6021 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.1857, allocations: 120.8 kB / 0.6022 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.1857, allocations: 4 kB / 0.6022 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008063/0.1866, allocations: 227.1 kB / 0.6024 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.1866, allocations: 0 / 0.6024 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002177/0.1888, allocations: 477 kB / 0.6029 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1888, allocations: 67.33 kB / 0.603 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.1891, allocations: 294.9 kB / 0.6032 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.1892, allocations: 37.7 kB / 0.6033 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.1893, allocations: 93.14 kB / 0.6034 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.1893, allocations: 35.48 kB / 0.6034 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1893, allocations: 8 kB / 0.6034 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1895, allocations: 326.8 kB / 0.6037 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.1897, allocations: 83.94 kB / 0.6038 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.1899, allocations: 130.7 kB / 0.6039 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.1901, allocations: 157.2 kB / 0.6041 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1901, allocations: 0 / 0.6041 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006486/0.1908, allocations: 384.7 kB / 0.6044 GB, free: 316 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.807e-05/0.1909, allocations: 83.56 kB / 0.6045 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1909, allocations: 4 kB / 0.6045 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.1909, allocations: 4 kB / 0.6045 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1911, allocations: 19.92 kB / 0.6045 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.1912, allocations: 4 kB / 0.6045 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.1916, allocations: 67.8 kB / 0.6046 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.1917, allocations: 43.98 kB / 0.6047 GB, free: 76 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.3305/0.5222, allocations: 166.7 kB / 0.6048 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.5223, allocations: 27.31 kB / 0.6048 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.445e-05/0.5224, allocations: 28.23 kB / 0.6049 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5224, allocations: 1.312 kB / 0.6049 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5224, allocations: 3.266 kB / 0.6049 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5224, allocations: 1.859 kB / 0.6049 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.5243, allocations: 0.7177 MB / 0.6056 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5243, allocations: 4.5 kB / 0.6056 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.5244, allocations: 3.25 kB / 0.6056 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5244, allocations: 0 / 0.6056 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.5244, allocations: 22.47 kB / 0.6056 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.5244, allocations: 2.938 kB / 0.6056 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5244, allocations: 3.5 kB / 0.6056 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.5258, allocations: 467.6 kB / 0.6061 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.526, allocations: 162 kB / 0.6062 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/0.526, allocations: 9.266 kB / 0.6062 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.5264, allocations: 39.2 kB / 0.6063 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.5265, allocations: 10.12 kB / 0.6063 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.5265, allocations: 48.53 kB / 0.6063 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001623/0.5267, allocations: 205.2 kB / 0.6065 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5267, allocations: 0 / 0.6065 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003504/0.527, allocations: 50.25 kB / 0.6066 GB, free: 40.13 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.001551/0.5286, allocations: 1.014 MB / 0.6075 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009378/0.5295, allocations: 390.2 kB / 0.6079 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5296, allocations: 2.312 kB / 0.6079 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.5302, allocations: 128 kB / 0.608 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.5305, allocations: 17.92 kB / 0.6081 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.5325, allocations: 1.19 MB / 0.6092 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.5327, allocations: 0.7453 MB / 0.6099 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.855e-05/0.5328, allocations: 10.53 kB / 0.61 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.5328, allocations: 26.77 kB / 0.61 GB, free: 38.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.5328, allocations: 0 / 0.61 GB, free: 38.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.5472, allocations: 4.553 MB / 0.6144 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.5474, allocations: 199.4 kB / 0.6146 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.353, allocations: 2.844 kB / 0.6146 GB, free: 37.52 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: