Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 292.6 MB / 307.5 MB, free: 5.16 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.00118/0.00118, allocations: 185 kB / 377.1 MB, free: 1.504 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.732/1.732, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.0008616/0.0008613, allocations: 90.92 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003447, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2633, allocations: 116.3 MB / 0.9885 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7663/1.03, allocations: 141.9 MB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.03, allocations: 72.52 kB / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01449/1.044, allocations: 5.313 MB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.352e-06/1.044, allocations: 4 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.38e-05/1.044, allocations: 4 kB / 1.132 GB, free: 29.59 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.0008376/1.045, allocations: 0.6968 MB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/1.045, allocations: 8.031 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/1.045, allocations: 41.7 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.568e-05/1.046, allocations: 36.5 kB / 1.133 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/1.046, allocations: 273.4 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/1.046, allocations: 17.08 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/1.046, allocations: 25.78 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009624/1.047, allocations: 230.4 kB / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.047, allocations: 0 / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/1.047, allocations: 9.266 kB / 1.134 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.047, allocations: 0.6562 kB / 1.134 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/1.048, allocations: 123.9 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/1.049, allocations: 0.6038 MB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.05, allocations: 193.5 kB / 1.134 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/1.05, allocations: 0.6562 kB / 1.134 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/1.051, allocations: 232.8 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.665e-06/1.051, allocations: 0 / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002379/1.053, allocations: 490.3 kB / 1.135 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/1.053, allocations: 65.75 kB / 1.135 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/1.054, allocations: 276 kB / 1.135 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.519e-05/1.054, allocations: 47.2 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/1.054, allocations: 99.66 kB / 1.136 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/1.054, allocations: 38.7 kB / 1.136 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/1.054, allocations: 8.703 kB / 1.136 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.506e-05/1.054, allocations: 326.8 kB / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/1.054, allocations: 102.8 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/1.055, allocations: 172.2 kB / 1.136 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/1.055, allocations: 164.7 kB / 1.136 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.055, allocations: 0 / 1.136 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007031/1.056, allocations: 434.4 kB / 1.137 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.376e-05/1.056, allocations: 76.56 kB / 1.137 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.056, allocations: 0.5625 kB / 1.137 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.056, allocations: 4.688 kB / 1.137 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/1.056, allocations: 24.72 kB / 1.137 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/1.056, allocations: 1.312 kB / 1.137 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/1.056, allocations: 50.67 kB / 1.137 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/1.056, allocations: 40.67 kB / 1.137 GB, free: 25.05 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.0002192/1.056, allocations: 188.8 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/1.057, allocations: 32.89 kB / 1.137 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/1.057, allocations: 30.45 kB / 1.137 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/1.057, allocations: 0 / 1.137 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.057, allocations: 0.6562 kB / 1.137 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.057, allocations: 1.312 kB / 1.137 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/1.059, allocations: 0.756 MB / 1.138 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.059, allocations: 4 kB / 1.138 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/1.059, allocations: 9.891 kB / 1.138 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.059, allocations: 0 / 1.138 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/1.059, allocations: 14.8 kB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.059, allocations: 0.9375 kB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.059, allocations: 0.6562 kB / 1.138 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/1.06, allocations: 481.5 kB / 1.138 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/1.061, allocations: 198.2 kB / 1.139 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/1.061, allocations: 17.31 kB / 1.139 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/1.061, allocations: 28.25 kB / 1.139 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/1.061, allocations: 11.7 kB / 1.139 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/1.061, allocations: 46.52 kB / 1.139 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002156/1.062, allocations: 227.7 kB / 1.139 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.062, allocations: 0 / 1.139 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004254/1.062, allocations: 55 kB / 1.139 GB, free: 23.16 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.001876/1.064, allocations: 1.037 MB / 1.14 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001216/1.065, allocations: 426.8 kB / 1.14 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.065, allocations: 0 / 1.14 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007747/1.066, allocations: 129.4 kB / 1.141 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/1.066, allocations: 32.94 kB / 1.141 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/1.068, allocations: 1.715 MB / 1.142 GB, free: 19.92 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/1.068, allocations: 0.7571 MB / 1.143 GB, free: 19.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.062e-05/1.068, allocations: 18.36 kB / 1.143 GB, free: 19.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/1.068, allocations: 35.8 kB / 1.143 GB, free: 19.13 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/1.068, allocations: 0 / 1.143 GB, free: 19.13 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/1.089, allocations: 5.507 MB / 1.148 GB, free: 16.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/1.089, allocations: 203 kB / 1.149 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.76, allocations: 0 / 1.149 GB, free: 15.78 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)