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.47/1.47, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001368/0.001368, allocations: 176.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0009488/0.0009483, allocations: 88.39 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.274e-05/4.277e-05, allocations: 4 kB / 0.7881 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2515, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8197/1.071, allocations: 133.8 MB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.072, allocations: 77.81 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01554/1.087, allocations: 5.201 MB / 1.028 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.253e-06/1.087, allocations: 0 / 1.028 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.883e-05/1.087, allocations: 4 kB / 1.028 GB, free: 12.43 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.001037/1.088, allocations: 0.6028 MB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.088, allocations: 12.03 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.864e-05/1.088, allocations: 41.73 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/1.089, allocations: 31.72 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/1.089, allocations: 280.9 kB / 1.029 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/1.089, allocations: 15.17 kB / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.264e-05/1.089, allocations: 19.81 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/1.089, allocations: 161.4 kB / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.089, allocations: 3.953 kB / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/1.089, allocations: 3.875 kB / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.089, allocations: 4 kB / 1.029 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/1.09, allocations: 57.73 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/1.091, allocations: 0.5904 MB / 1.03 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/1.091, allocations: 146.6 kB / 1.03 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/1.091, allocations: 54.8 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/1.091, allocations: 7.984 kB / 1.03 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/1.092, allocations: 224.8 kB / 1.03 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.834e-06/1.092, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004993/1.092, allocations: 234.1 kB / 1.03 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/1.092, allocations: 62.53 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/1.093, allocations: 285.9 kB / 1.031 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/1.093, allocations: 37.64 kB / 1.031 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/1.093, allocations: 107.8 kB / 1.031 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/1.093, allocations: 50.69 kB / 1.031 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/1.093, allocations: 7.25 kB / 1.031 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.093, allocations: 326.3 kB / 1.031 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/1.093, allocations: 110.3 kB / 1.031 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/1.094, allocations: 167.8 kB / 1.031 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/1.094, allocations: 162.1 kB / 1.031 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.094, allocations: 0 / 1.031 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007585/1.095, allocations: 440.2 kB / 1.032 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-05/1.095, allocations: 86.42 kB / 1.032 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.095, allocations: 0 / 1.032 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.095, allocations: 4 kB / 1.032 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.095, allocations: 31.91 kB / 1.032 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.095, allocations: 4 kB / 1.032 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/1.095, allocations: 43.16 kB / 1.032 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/1.095, allocations: 63.69 kB / 1.032 GB, free: 8.371 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.0001435/1.096, allocations: 133.1 kB / 1.032 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/1.096, allocations: 27.62 kB / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/1.096, allocations: 32.45 kB / 1.032 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.096, allocations: 4 kB / 1.032 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.096, allocations: 0 / 1.032 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.096, allocations: 3.984 kB / 1.032 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000823/1.097, allocations: 0.5975 MB / 1.033 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.097, allocations: 3.984 kB / 1.033 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/1.097, allocations: 4 kB / 1.033 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.097, allocations: 0 / 1.033 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.097, allocations: 15.42 kB / 1.033 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.097, allocations: 0 / 1.033 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.097, allocations: 3.953 kB / 1.033 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/1.097, allocations: 327.6 kB / 1.033 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/1.097, allocations: 187.7 kB / 1.033 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/1.098, allocations: 18.69 kB / 1.033 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/1.098, allocations: 11.55 kB / 1.033 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/1.098, allocations: 15.97 kB / 1.033 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/1.098, allocations: 35.25 kB / 1.033 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002292/1.098, allocations: 228.1 kB / 1.034 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.52e-07/1.098, allocations: 0 / 1.034 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003859/1.099, allocations: 54.44 kB / 1.034 GB, free: 6.836 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.0009701/1.099, allocations: 0.8803 MB / 1.035 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006816/1.1, allocations: 380.6 kB / 1.035 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.1, allocations: 0 / 1.035 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/1.1, allocations: 74.09 kB / 1.035 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/1.101, allocations: 34.25 kB / 1.035 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/1.102, allocations: 370.9 kB / 1.035 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/1.102, allocations: 0.7624 MB / 1.036 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001656/1.102, allocations: 37.2 kB / 1.036 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/1.103, allocations: 56.16 kB / 1.036 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of SimCode: time 4.5e-07/1.103, allocations: 0 / 1.036 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/1.123, allocations: 6.012 MB / 1.042 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.123, allocations: 208.2 kB / 1.042 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.787, allocations: 0 / 1.042 GB, free: 14.3 MB / 0.6667 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)