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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.426/2.426, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001457/0.001457, allocations: 180.9 kB / 360.6 MB, free: 7.316 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.074/2.074, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.00111/0.001109, allocations: 101.9 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.749e-05, allocations: 8 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8398/0.8399, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/1.082, allocations: 139.2 MB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.082, allocations: 78.16 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02792/1.11, allocations: 5.166 MB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.248e-06/1.11, allocations: 0 / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.145e-05/1.11, allocations: 11.94 kB / 1.104 GB, free: 12.11 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.001358/1.112, allocations: 0.6076 MB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.112, allocations: 8.031 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/1.112, allocations: 42.06 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/1.113, allocations: 268.2 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/1.113, allocations: 7.938 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/1.113, allocations: 15.98 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003536/1.113, allocations: 63.92 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006638/1.114, allocations: 154.7 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/1.114, allocations: 0 / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/1.114, allocations: 3.984 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/1.114, allocations: 4 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/1.118, allocations: 0.5517 MB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/1.118, allocations: 126.7 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/1.119, allocations: 56.83 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/1.119, allocations: 4 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/1.12, allocations: 220.1 kB / 1.107 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 6.612e-06/1.12, allocations: 0 / 1.107 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.00136/1.121, allocations: 225.1 kB / 1.107 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/1.121, allocations: 63.41 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/1.122, allocations: 261.1 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/1.122, allocations: 37.7 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/1.122, allocations: 101.3 kB / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/1.123, allocations: 43.45 kB / 1.107 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.123, allocations: 4 kB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002527/1.123, allocations: 326.8 kB / 1.108 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000748/1.124, allocations: 104.2 kB / 1.108 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/1.124, allocations: 158.2 kB / 1.108 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/1.125, allocations: 82.3 kB / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/1.125, allocations: 0 / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001514/1.126, allocations: 348.4 kB / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.127, allocations: 75.39 kB / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.127, allocations: 0 / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.127, allocations: 4 kB / 1.108 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/1.127, allocations: 31.91 kB / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.127, allocations: 4 kB / 1.108 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/1.128, allocations: 48 kB / 1.108 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/1.128, allocations: 51.98 kB / 1.108 GB, free: 7.805 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.0002264/1.128, allocations: 128 kB / 1.109 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006401/1.129, allocations: 221 kB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/1.129, allocations: 27.62 kB / 1.109 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/1.129, allocations: 26.14 kB / 1.109 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.129, allocations: 8 kB / 1.109 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.129, allocations: 0 / 1.109 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.129, allocations: 3.984 kB / 1.109 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/1.13, allocations: 0.553 MB / 1.109 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.13, allocations: 0 / 1.109 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-05/1.13, allocations: 11.98 kB / 1.109 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/1.13, allocations: 0 / 1.109 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/1.13, allocations: 7.984 kB / 1.109 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.13, allocations: 7.047 kB / 1.109 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/1.13, allocations: 4 kB / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/1.131, allocations: 333 kB / 1.11 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/1.132, allocations: 180.7 kB / 1.11 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/1.132, allocations: 15.86 kB / 1.11 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/1.132, allocations: 8 kB / 1.11 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/1.132, allocations: 19.97 kB / 1.11 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.738e-05/1.132, allocations: 27.98 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003536/1.133, allocations: 220.6 kB / 1.11 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.133, allocations: 0 / 1.11 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006627/1.133, allocations: 51.91 kB / 1.11 GB, free: 5.895 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.001101/1.134, allocations: 0.8764 MB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008938/1.135, allocations: 358.8 kB / 1.111 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.135, allocations: 4 kB / 1.111 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/1.135, allocations: 71.83 kB / 1.111 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/1.136, allocations: 25.31 kB / 1.112 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/1.137, allocations: 366.6 kB / 1.112 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/1.138, allocations: 0.7592 MB / 1.113 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002602/1.138, allocations: 41.2 kB / 1.113 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/1.138, allocations: 47.41 kB / 1.113 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of SimCode: time 9.51e-07/1.138, allocations: 0 / 1.113 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05146/1.19, allocations: 5.465 MB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004275/1.19, allocations: 180.8 kB / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.686, allocations: 1.266 kB / 1.118 GB, free: 13.68 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)