Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.6 MB / 307.5 MB, free: 5.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.00109, allocations: 177 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 0.6366 GB, free: 9.582 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 88.27 kB / 0.7509 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003411, allocations: 8 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2599, allocations: 116.3 MB / 0.9885 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7285/0.9885, allocations: 141.9 MB / 1.127 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.9888, allocations: 77.5 kB / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01561/1.004, allocations: 5.305 MB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.873e-06/1.005, allocations: 3.938 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.622e-05/1.005, allocations: 4 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008759/1.005, allocations: 0.6962 MB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.005, allocations: 9.297 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/1.006, allocations: 41.66 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/1.006, allocations: 39.05 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/1.006, allocations: 269.4 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/1.006, allocations: 18.94 kB / 1.133 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/1.006, allocations: 21.36 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/1.007, allocations: 233.4 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.007, allocations: 0.5625 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/1.007, allocations: 5.719 kB / 1.134 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.007, allocations: 4 kB / 1.134 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/1.008, allocations: 123 kB / 1.134 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/1.009, allocations: 0.604 MB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/1.01, allocations: 190 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/1.011, allocations: 5.547 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/1.012, allocations: 230.1 kB / 1.135 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/1.012, allocations: 0 / 1.135 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002897/1.015, allocations: 494.1 kB / 1.135 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/1.015, allocations: 57.84 kB / 1.135 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/1.015, allocations: 284.4 kB / 1.135 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/1.015, allocations: 34.92 kB / 1.136 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.015, allocations: 103.1 kB / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/1.015, allocations: 42.73 kB / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/1.015, allocations: 8.703 kB / 1.136 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/1.015, allocations: 327.2 kB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/1.016, allocations: 107.7 kB / 1.136 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/1.016, allocations: 163.9 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/1.016, allocations: 165.8 kB / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.016, allocations: 0 / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007913/1.017, allocations: 426.8 kB / 1.137 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/1.017, allocations: 81.2 kB / 1.137 GB, free: 25.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.017, allocations: 4.188 kB / 1.137 GB, free: 25.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.017, allocations: 8.562 kB / 1.137 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/1.017, allocations: 21.58 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.017, allocations: 7.938 kB / 1.137 GB, free: 25.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/1.018, allocations: 48.05 kB / 1.137 GB, free: 25.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/1.018, allocations: 40.5 kB / 1.137 GB, free: 25.2 MB / 0.7292 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002364/1.018, allocations: 188 kB / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/1.018, allocations: 33.08 kB / 1.137 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/1.018, allocations: 27.58 kB / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/1.018, allocations: 4.656 kB / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/1.018, allocations: 0 / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.018, allocations: 1.172 kB / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/1.021, allocations: 0.7565 MB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.021, allocations: 1.766 kB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/1.021, allocations: 4.75 kB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/1.021, allocations: 0.7031 kB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/1.021, allocations: 22.64 kB / 1.138 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/1.021, allocations: 4.938 kB / 1.138 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.021, allocations: 0 / 1.138 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/1.023, allocations: 473.5 kB / 1.138 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/1.023, allocations: 191.7 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/1.023, allocations: 22.72 kB / 1.139 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006934/1.024, allocations: 31.97 kB / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/1.024, allocations: 7.469 kB / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.768e-05/1.024, allocations: 43.02 kB / 1.139 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002299/1.024, allocations: 233.4 kB / 1.139 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.024, allocations: 0 / 1.139 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004491/1.024, allocations: 60.78 kB / 1.139 GB, free: 23.32 MB / 0.7292 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.002018/1.026, allocations: 1.036 MB / 1.14 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001315/1.028, allocations: 423.2 kB / 1.14 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.028, allocations: 4.375 kB / 1.14 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008799/1.029, allocations: 125.9 kB / 1.141 GB, free: 21.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/1.029, allocations: 29.89 kB / 1.141 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/1.031, allocations: 1.713 MB / 1.142 GB, free: 20.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/1.031, allocations: 0.7614 MB / 1.143 GB, free: 19.33 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.221e-05/1.031, allocations: 17.89 kB / 1.143 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/1.031, allocations: 35.7 kB / 1.143 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/1.031, allocations: 4 kB / 1.143 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/1.056, allocations: 5.499 MB / 1.148 GB, free: 16.16 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/1.056, allocations: 218.5 kB / 1.149 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.742, allocations: 64 / 1.149 GB, free: 15.92 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)