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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 249.5 MB / 257 MB, free: 6.895 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.00118/0.001179, allocations: 176.8 kB / 316.3 MB, free: 3.277 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.477/1.477, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0008592/0.0008589, allocations: 94.25 kB / 0.6714 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.243e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2175, allocations: 106.3 MB / 0.8854 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7137/0.9313, allocations: 134.1 MB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.9315, allocations: 74.77 kB / 1.016 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.9463, allocations: 5.182 MB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9464, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.9464, allocations: 4 kB / 1.021 GB, free: 14.89 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.0009288/0.9473, allocations: 0.6075 MB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.9474, allocations: 8.031 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/0.9475, allocations: 35.72 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.9479, allocations: 272.9 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.9479, allocations: 8 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/0.948, allocations: 19.98 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001367/0.9481, allocations: 49.8 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.9484, allocations: 161 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.9484, allocations: 3.984 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.9485, allocations: 0 / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.9485, allocations: 4 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.9496, allocations: 0.5575 MB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.9498, allocations: 122.1 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.9499, allocations: 60.09 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.9499, allocations: 4.25 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003827/0.9503, allocations: 225.9 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.707e-06/0.9503, allocations: 3.984 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004285/0.9508, allocations: 216.7 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.9508, allocations: 59.39 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.9511, allocations: 274.4 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.425e-05/0.9511, allocations: 33.33 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.9512, allocations: 100.9 kB / 1.024 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.9513, allocations: 45.77 kB / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.9513, allocations: 0 / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9515, allocations: 328.8 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.9517, allocations: 106.1 kB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.9519, allocations: 150.3 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.9521, allocations: 90.89 kB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9521, allocations: 0 / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006179/0.9527, allocations: 343.2 kB / 1.025 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.044e-05/0.9528, allocations: 74.64 kB / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.9528, allocations: 4 kB / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.9528, allocations: 0 / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.953, allocations: 35.78 kB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.953, allocations: 4 kB / 1.025 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.9534, allocations: 47.81 kB / 1.025 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.916e-05/0.9535, allocations: 51.97 kB / 1.025 GB, free: 11.18 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.000138/0.9536, allocations: 131.5 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003115/0.9539, allocations: 226.7 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.954, allocations: 23.72 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.9541, allocations: 29.27 kB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.9541, allocations: 0 / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.9541, allocations: 0 / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.9541, allocations: 3.984 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.9547, allocations: 0.5547 MB / 1.026 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9547, allocations: 0 / 1.026 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.9548, allocations: 11.98 kB / 1.026 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9548, allocations: 4 kB / 1.026 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.9548, allocations: 15.3 kB / 1.026 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.9548, allocations: 0 / 1.026 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9549, allocations: 0 / 1.026 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.9552, allocations: 315.1 kB / 1.027 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.9554, allocations: 188.8 kB / 1.027 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.9555, allocations: 22.55 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.9556, allocations: 8 kB / 1.027 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.9557, allocations: 19.03 kB / 1.027 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.9558, allocations: 31.97 kB / 1.027 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001849/0.9559, allocations: 214 kB / 1.027 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.956, allocations: 0 / 1.027 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003612/0.9563, allocations: 54.88 kB / 1.027 GB, free: 9.52 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.0006769/0.957, allocations: 0.8759 MB / 1.028 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004746/0.9575, allocations: 354.2 kB / 1.028 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9575, allocations: 0 / 1.028 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.9576, allocations: 74.34 kB / 1.028 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.9579, allocations: 23.92 kB / 1.028 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.9587, allocations: 361.7 kB / 1.029 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.959, allocations: 0.7584 MB / 1.03 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.9592, allocations: 37.2 kB / 1.03 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.9594, allocations: 53.28 kB / 1.03 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/0.9594, allocations: 4 kB / 1.03 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.9844, allocations: 5.485 MB / 1.035 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/0.9847, allocations: 187.5 kB / 1.035 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.561, allocations: 1.875 kB / 1.035 GB, free: 1.465 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)