Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_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.438/2.438, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001525/0.001524, allocations: 188.8 kB / 360.6 MB, free: 7.277 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.056/2.056, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.0011/0.001099, allocations: 91.62 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.413e-05/2.43e-05, allocations: 4 kB / 0.8508 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8186/0.8187, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/1.052, allocations: 138.9 MB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.052, allocations: 72.52 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02255/1.075, allocations: 4.426 MB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/1.075, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.969e-05/1.075, allocations: 4 kB / 1.103 GB, free: 13.13 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001248/1.076, allocations: 0.5826 MB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.076, allocations: 12.03 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/1.077, allocations: 32.92 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/1.077, allocations: 250.6 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/1.077, allocations: 7.984 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-05/1.077, allocations: 12 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001804/1.077, allocations: 39.98 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/1.078, allocations: 143 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/1.078, allocations: 3.938 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/1.078, allocations: 3.984 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.078, allocations: 0 / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/1.079, allocations: 313.7 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/1.079, allocations: 114.7 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/1.079, allocations: 52.84 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/1.079, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005784/1.08, allocations: 220.4 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/1.08, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0006785/1.08, allocations: 209.2 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/1.08, allocations: 55.41 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/1.081, allocations: 246.3 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.549e-05/1.081, allocations: 33.7 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.081, allocations: 89.45 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/1.081, allocations: 39.52 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/1.081, allocations: 7.984 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.081, allocations: 322.8 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/1.082, allocations: 84.22 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/1.082, allocations: 142.2 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/1.082, allocations: 68.69 kB / 1.106 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.082, allocations: 4 kB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000998/1.083, allocations: 320.8 kB / 1.107 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.083, allocations: 77.72 kB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.083, allocations: 4 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.084, allocations: 4 kB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/1.084, allocations: 27.92 kB / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.084, allocations: 4 kB / 1.107 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00064/1.084, allocations: 43.97 kB / 1.107 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/1.085, allocations: 59.22 kB / 1.107 GB, free: 9.309 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0002107/1.085, allocations: 128.8 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000551/1.085, allocations: 213.2 kB / 1.107 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/1.085, allocations: 23.72 kB / 1.107 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/1.086, allocations: 26.03 kB / 1.107 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/1.086, allocations: 7.984 kB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.086, allocations: 0 / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.086, allocations: 4 kB / 1.107 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/1.087, allocations: 0.5182 MB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.087, allocations: 0 / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.984e-05/1.087, allocations: 15.98 kB / 1.108 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/1.087, allocations: 1.312 kB / 1.108 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/1.087, allocations: 7.984 kB / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/1.087, allocations: 4 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.087, allocations: 2.188 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/1.088, allocations: 313 kB / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/1.088, allocations: 152.7 kB / 1.108 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/1.088, allocations: 7.984 kB / 1.108 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/1.088, allocations: 12 kB / 1.108 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/1.088, allocations: 19.88 kB / 1.108 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/1.088, allocations: 31.98 kB / 1.108 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002705/1.089, allocations: 190 kB / 1.109 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.089, allocations: 0 / 1.109 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005846/1.089, allocations: 51.98 kB / 1.109 GB, free: 7.512 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.000968/1.09, allocations: 0.8574 MB / 1.109 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007827/1.091, allocations: 328.5 kB / 1.11 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.091, allocations: 384 / 1.11 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/1.091, allocations: 67.92 kB / 1.11 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/1.092, allocations: 16.88 kB / 1.11 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/1.093, allocations: 330.3 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/1.093, allocations: 0.7479 MB / 1.111 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002303/1.093, allocations: 33.2 kB / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/1.094, allocations: 51.41 kB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/1.094, allocations: 3.938 kB / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04124/1.135, allocations: 4.922 MB / 1.116 GB, free: 152 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/1.135, allocations: 149 kB / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.553, allocations: 0 / 1.116 GB, free: 15.95 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)