Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.914/1.914, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001126/0.001126, allocations: 188.3 kB / 377.1 MB, free: 1.531 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.685/1.685, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.0008533/0.0008534, allocations: 89.31 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003794, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2955, allocations: 116.3 MB / 0.9885 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.732/1.028, allocations: 141.8 MB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.028, allocations: 75.28 kB / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01488/1.043, allocations: 5.288 MB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.715e-06/1.043, allocations: 0 / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.477e-05/1.043, allocations: 7.938 kB / 1.132 GB, free: 29.66 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.000845/1.044, allocations: 0.7004 MB / 1.133 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/1.044, allocations: 8.031 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/1.044, allocations: 41.66 kB / 1.133 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.002e-05/1.044, allocations: 34.48 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/1.044, allocations: 277.7 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/1.044, allocations: 19.06 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/1.044, allocations: 21.31 kB / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009642/1.045, allocations: 232 kB / 1.133 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.045, allocations: 0 / 1.133 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/1.045, allocations: 5.312 kB / 1.134 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.045, allocations: 4 kB / 1.134 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007324/1.046, allocations: 122.8 kB / 1.134 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/1.047, allocations: 0.6035 MB / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/1.048, allocations: 197 kB / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/1.048, allocations: 0.7031 kB / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000872/1.049, allocations: 230.3 kB / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 3.296e-06/1.049, allocations: 2.156 kB / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002358/1.052, allocations: 491.3 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/1.052, allocations: 65.33 kB / 1.135 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/1.052, allocations: 280.5 kB / 1.135 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/1.052, allocations: 38.5 kB / 1.135 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/1.052, allocations: 95.44 kB / 1.136 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/1.052, allocations: 46.88 kB / 1.136 GB, free: 26.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/1.052, allocations: 9.312 kB / 1.136 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/1.052, allocations: 326.9 kB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/1.053, allocations: 107.5 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/1.053, allocations: 163.8 kB / 1.136 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/1.053, allocations: 167.2 kB / 1.136 GB, free: 25.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.053, allocations: 4 kB / 1.136 GB, free: 25.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007133/1.054, allocations: 426.7 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/1.054, allocations: 76.98 kB / 1.137 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.054, allocations: 192 / 1.137 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.054, allocations: 8 kB / 1.137 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/1.054, allocations: 26.12 kB / 1.137 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/1.054, allocations: 4.703 kB / 1.137 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/1.055, allocations: 46.16 kB / 1.137 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/1.055, allocations: 41.58 kB / 1.137 GB, free: 25.11 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.000205/1.055, allocations: 187.1 kB / 1.137 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/1.055, allocations: 32.28 kB / 1.137 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/1.055, allocations: 34.69 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.055, allocations: 0 / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.055, allocations: 1.109 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.055, allocations: 0.5625 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/1.057, allocations: 0.7573 MB / 1.138 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.057, allocations: 0.8125 kB / 1.138 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/1.057, allocations: 5.594 kB / 1.138 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.057, allocations: 4 kB / 1.138 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/1.057, allocations: 19.17 kB / 1.138 GB, free: 24.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.057, allocations: 0.5625 kB / 1.138 GB, free: 24.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.057, allocations: 0.625 kB / 1.138 GB, free: 24.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/1.059, allocations: 483.4 kB / 1.138 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/1.059, allocations: 188 kB / 1.139 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/1.059, allocations: 17.53 kB / 1.139 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/1.06, allocations: 36.62 kB / 1.139 GB, free: 23.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/1.06, allocations: 7.047 kB / 1.139 GB, free: 23.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/1.06, allocations: 44.03 kB / 1.139 GB, free: 23.47 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002138/1.06, allocations: 231.9 kB / 1.139 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.06, allocations: 0 / 1.139 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003476/1.06, allocations: 53.31 kB / 1.139 GB, free: 23.22 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.001857/1.062, allocations: 1.039 MB / 1.14 GB, free: 22.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001158/1.063, allocations: 421.9 kB / 1.14 GB, free: 21.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.063, allocations: 5.406 kB / 1.14 GB, free: 21.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00071/1.064, allocations: 129 kB / 1.141 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/1.064, allocations: 29.92 kB / 1.141 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/1.066, allocations: 1.709 MB / 1.142 GB, free: 19.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/1.066, allocations: 0.765 MB / 1.143 GB, free: 19.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.028e-05/1.066, allocations: 19.14 kB / 1.143 GB, free: 19.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/1.067, allocations: 31.42 kB / 1.143 GB, free: 19.2 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.067, allocations: 0 / 1.143 GB, free: 19.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/1.086, allocations: 5.493 MB / 1.148 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/1.086, allocations: 216 kB / 1.149 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.786, allocations: 6.812 kB / 1.149 GB, free: 15.82 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)