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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7467/0.7467, allocations: 140.1 MB / 156 MB, free: 5.137 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 176.5 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 426.3 MB, free: 8.359 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007905/0.0007904, allocations: 94.31 kB / 0.4945 GB, free: 8.305 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001635/0.001635, allocations: 266.5 kB / 0.5728 GB, free: 66.19 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006587/0.0006587, allocations: 16 kB / 0.662 GB, free: 6.777 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4281, allocations: 79.29 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.5612, allocations: 109.1 MB / 0.846 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.5615, allocations: 67.97 kB / 0.846 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01308/0.5746, allocations: 4.47 MB / 0.8504 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5746, allocations: 0 / 0.8504 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.5746, allocations: 4 kB / 0.8504 GB, free: 12.59 MB / 0.5261 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.0009362/0.5756, allocations: 0.6221 MB / 0.851 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5756, allocations: 12.03 kB / 0.851 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.5757, allocations: 28.66 kB / 0.851 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.5761, allocations: 255.7 kB / 0.8513 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.5762, allocations: 12.36 kB / 0.8513 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.5762, allocations: 16.38 kB / 0.8513 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.5765, allocations: 158.8 kB / 0.8515 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5765, allocations: 192 / 0.8515 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.5766, allocations: 3.938 kB / 0.8515 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5766, allocations: 8 kB / 0.8515 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.5767, allocations: 47.91 kB / 0.8515 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.5771, allocations: 329.2 kB / 0.8518 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.5774, allocations: 134.7 kB / 0.852 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.5775, allocations: 52.84 kB / 0.852 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.5775, allocations: 15.92 kB / 0.852 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003884/0.5779, allocations: 205.4 kB / 0.8522 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.5779, allocations: 0 / 0.8522 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0005478/0.5785, allocations: 274.2 kB / 0.8525 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.5786, allocations: 67.39 kB / 0.8525 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.5788, allocations: 283 kB / 0.8528 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.5789, allocations: 41.7 kB / 0.8529 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.579, allocations: 85.14 kB / 0.8529 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.5791, allocations: 51.42 kB / 0.853 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.5791, allocations: 8 kB / 0.853 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5792, allocations: 322.8 kB / 0.8533 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.5795, allocations: 100.2 kB / 0.8534 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.5798, allocations: 158.4 kB / 0.8535 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.5801, allocations: 241.2 kB / 0.8538 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5801, allocations: 0 / 0.8538 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007458/0.5809, allocations: 427.8 kB / 0.8542 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.607e-05/0.581, allocations: 71.39 kB / 0.8543 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.581, allocations: 0 / 0.8543 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.581, allocations: 4.188 kB / 0.8543 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.5812, allocations: 39.84 kB / 0.8543 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.5812, allocations: 4 kB / 0.8543 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.5816, allocations: 47.81 kB / 0.8543 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.5816, allocations: 51.98 kB / 0.8544 GB, free: 8.168 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001979/0.5819, allocations: 183.9 kB / 0.8546 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.5819, allocations: 27.7 kB / 0.8546 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/0.582, allocations: 30.25 kB / 0.8546 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.582, allocations: 3.938 kB / 0.8546 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.582, allocations: 0 / 0.8546 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.582, allocations: 0 / 0.8546 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.5828, allocations: 0.5539 MB / 0.8552 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5828, allocations: 7.938 kB / 0.8552 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.5828, allocations: 11.98 kB / 0.8552 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.5829, allocations: 0 / 0.8552 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.5829, allocations: 23.92 kB / 0.8552 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5829, allocations: 0 / 0.8552 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5829, allocations: 0 / 0.8552 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.5833, allocations: 320.7 kB / 0.8555 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.5835, allocations: 152.7 kB / 0.8557 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.5836, allocations: 11.98 kB / 0.8557 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.5838, allocations: 16 kB / 0.8557 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.5838, allocations: 19.91 kB / 0.8557 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.5839, allocations: 31.98 kB / 0.8557 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000207/0.5841, allocations: 205.9 kB / 0.8559 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5841, allocations: 0 / 0.8559 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003333/0.5844, allocations: 52 kB / 0.856 GB, free: 6.434 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001631/0.5846, allocations: 116.4 kB / 0.8561 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005885/0.5852, allocations: 354.5 kB / 0.8564 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5852, allocations: 0 / 0.8564 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.5854, allocations: 76.67 kB / 0.8565 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.5857, allocations: 24.81 kB / 0.8565 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.5864, allocations: 439.8 kB / 0.8569 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.5867, allocations: 0.7437 MB / 0.8577 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.5869, allocations: 41.08 kB / 0.8577 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.587, allocations: 35.42 kB / 0.8577 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.587, allocations: 0 / 0.8577 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of Templates: time 0.00782/0.5948, allocations: 4.343 MB / 0.862 GB, free: 208 kB / 0.5261 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)