Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.96/2.96, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001389/0.001389, allocations: 176.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001072/0.001071, allocations: 92.7 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.122e-05, allocations: 8 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8511/0.8512, allocations: 115.3 MB / 0.9634 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2468/1.098, allocations: 139.1 MB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.098, allocations: 71.95 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02555/1.124, allocations: 5.165 MB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.624e-06/1.124, allocations: 3.938 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.893e-05/1.124, allocations: 4 kB / 1.104 GB, free: 12.14 MB / 0.7136 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.001306/1.125, allocations: 0.6076 MB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.126, allocations: 8.031 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/1.126, allocations: 39.62 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/1.126, allocations: 276.1 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/1.126, allocations: 0 / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.126, allocations: 20 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002067/1.127, allocations: 51.98 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/1.127, allocations: 163.5 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.127, allocations: 0 / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/1.127, allocations: 4 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.127, allocations: 0 / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/1.129, allocations: 0.5634 MB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/1.129, allocations: 126.7 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/1.129, allocations: 60.84 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/1.13, allocations: 5.031 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/1.13, allocations: 212.2 kB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.865e-06/1.13, allocations: 4 kB / 1.107 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007366/1.131, allocations: 219.5 kB / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/1.131, allocations: 63.39 kB / 1.107 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/1.131, allocations: 261.2 kB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.546e-05/1.132, allocations: 37.69 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.132, allocations: 101.3 kB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/1.132, allocations: 47.44 kB / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/1.132, allocations: 4 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.132, allocations: 326.8 kB / 1.108 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/1.132, allocations: 105.7 kB / 1.108 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/1.133, allocations: 154.2 kB / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/1.133, allocations: 84.64 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.133, allocations: 4 kB / 1.108 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001038/1.134, allocations: 344.4 kB / 1.108 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.134, allocations: 79.39 kB / 1.108 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.134, allocations: 0 / 1.108 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.134, allocations: 4 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/1.135, allocations: 27.91 kB / 1.108 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.135, allocations: 8.188 kB / 1.108 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/1.135, allocations: 43.81 kB / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/1.135, allocations: 55.98 kB / 1.108 GB, free: 7.828 MB / 0.7136 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.0002251/1.136, allocations: 127.8 kB / 1.109 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005508/1.136, allocations: 218.7 kB / 1.109 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/1.136, allocations: 31.62 kB / 1.109 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/1.136, allocations: 26.14 kB / 1.109 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/1.136, allocations: 6.062 kB / 1.109 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/1.136, allocations: 3.984 kB / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.136, allocations: 0 / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/1.138, allocations: 0.5553 MB / 1.109 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.138, allocations: 0 / 1.109 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/1.138, allocations: 8 kB / 1.109 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.138, allocations: 4 kB / 1.109 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/1.138, allocations: 15.97 kB / 1.109 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/1.138, allocations: 4 kB / 1.109 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.138, allocations: 9.719 kB / 1.109 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/1.138, allocations: 318.9 kB / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/1.139, allocations: 180.7 kB / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/1.139, allocations: 8 kB / 1.11 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/1.139, allocations: 19.98 kB / 1.11 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/1.139, allocations: 15.97 kB / 1.11 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/1.139, allocations: 31.98 kB / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000319/1.14, allocations: 212.6 kB / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.14, allocations: 0 / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000655/1.14, allocations: 47.91 kB / 1.11 GB, free: 5.922 MB / 0.7136 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.001075/1.142, allocations: 0.885 MB / 1.111 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009021/1.142, allocations: 342.9 kB / 1.111 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.142, allocations: 0 / 1.111 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/1.143, allocations: 78.45 kB / 1.111 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/1.143, allocations: 30.62 kB / 1.111 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/1.144, allocations: 360.8 kB / 1.112 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/1.145, allocations: 0.7631 MB / 1.113 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002566/1.145, allocations: 41.2 kB / 1.113 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/1.145, allocations: 47.42 kB / 1.113 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/1.145, allocations: 4 kB / 1.113 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0532/1.199, allocations: 5.469 MB / 1.118 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003499/1.199, allocations: 168.7 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.617, allocations: 0 / 1.118 GB, free: 13.71 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)