Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009732/0.0009733, allocations: 177.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007467/0.0007466, allocations: 89.64 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.648e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1886, allocations: 106.3 MB / 0.8853 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7049/0.8936, allocations: 134.1 MB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.8939, allocations: 75.14 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01461/0.9086, allocations: 5.177 MB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9086, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.9086, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.6511 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.0009759/0.9096, allocations: 0.6123 MB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.9097, allocations: 8.031 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.9098, allocations: 35.72 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.9102, allocations: 270.8 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.9102, allocations: 11.3 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.9103, allocations: 16 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001343/0.9104, allocations: 52.67 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.9107, allocations: 165.6 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.9107, allocations: 0 / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.9108, allocations: 0 / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.9108, allocations: 4 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.9118, allocations: 0.5647 MB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.9121, allocations: 122 kB / 1.023 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.9122, allocations: 59.59 kB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.9122, allocations: 4.25 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003844/0.9126, allocations: 222.9 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.9126, allocations: 0 / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004046/0.913, allocations: 216.2 kB / 1.024 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.913, allocations: 59.09 kB / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.9133, allocations: 272 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.9134, allocations: 33.39 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.9135, allocations: 101 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.9135, allocations: 42.7 kB / 1.024 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.9136, allocations: 4 kB / 1.024 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9137, allocations: 330.1 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.9139, allocations: 104.1 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.9141, allocations: 158.3 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.9142, allocations: 89.81 kB / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9142, allocations: 0 / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000571/0.9148, allocations: 342.3 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.561e-05/0.9149, allocations: 78.06 kB / 1.025 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9149, allocations: 4 kB / 1.025 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.9149, allocations: 0 / 1.025 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.9151, allocations: 35.23 kB / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.9151, allocations: 3.984 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.9155, allocations: 47.81 kB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/0.9156, allocations: 51.11 kB / 1.025 GB, free: 11.22 MB / 0.6511 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$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 () * 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.0001284/0.9157, allocations: 127 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002977/0.916, allocations: 222.2 kB / 1.026 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.9161, allocations: 27.7 kB / 1.026 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.9161, allocations: 32.39 kB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9161, allocations: 3.984 kB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9162, allocations: 4 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9162, allocations: 0 / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.9168, allocations: 0.5528 MB / 1.026 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.9168, allocations: 0 / 1.026 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.9169, allocations: 15.98 kB / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.9169, allocations: 0 / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.9169, allocations: 19.48 kB / 1.026 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9169, allocations: 0 / 1.026 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9169, allocations: 0 / 1.026 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.9173, allocations: 318.2 kB / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.9175, allocations: 185.7 kB / 1.027 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.9175, allocations: 18.88 kB / 1.027 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.9177, allocations: 11.98 kB / 1.027 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.9178, allocations: 15.36 kB / 1.027 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.9178, allocations: 31.97 kB / 1.027 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000181/0.918, allocations: 211.3 kB / 1.027 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.918, allocations: 0 / 1.027 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003432/0.9183, allocations: 55.98 kB / 1.027 GB, free: 9.551 MB / 0.6511 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * 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.0006594/0.919, allocations: 0.8733 MB / 1.028 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004618/0.9195, allocations: 354 kB / 1.028 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9195, allocations: 0 / 1.028 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.9196, allocations: 68.86 kB / 1.028 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.9199, allocations: 32.09 kB / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.9207, allocations: 354.1 kB / 1.029 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.921, allocations: 0.7583 MB / 1.03 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000143/0.9212, allocations: 41.19 kB / 1.03 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.9213, allocations: 56.03 kB / 1.03 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.9213, allocations: 4 kB / 1.03 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.9464, allocations: 5.472 MB / 1.035 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/0.9468, allocations: 195.9 kB / 1.035 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.607, allocations: 4 kB / 1.035 GB, free: 1.496 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)