Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_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.506/2.506, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001533/0.001533, allocations: 192.7 kB / 360.6 MB, free: 7.281 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.09/2.09, 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.001034/0.001034, allocations: 95.61 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.88e-05, allocations: 0 / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.835, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2392/1.074, allocations: 139 MB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.075, allocations: 74.61 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02249/1.097, allocations: 4.432 MB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/1.097, allocations: 0 / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.097, allocations: 4 kB / 1.104 GB, free: 13.04 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.00119/1.098, allocations: 0.5822 MB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/1.098, allocations: 8.031 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/1.099, allocations: 32.92 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/1.099, allocations: 258.6 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/1.099, allocations: 4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/1.099, allocations: 15.98 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001728/1.099, allocations: 46.91 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/1.1, allocations: 141.5 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.1, allocations: 3.938 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/1.1, allocations: 0 / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/1.1, allocations: 0 / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/1.1, allocations: 309.7 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/1.101, allocations: 114.7 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/1.101, allocations: 52.84 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/1.101, allocations: 4 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005771/1.102, allocations: 211.5 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.535e-06/1.102, allocations: 0 / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0006647/1.102, allocations: 211.2 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/1.102, allocations: 59.41 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/1.103, allocations: 238.3 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/1.103, allocations: 37.69 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/1.103, allocations: 93.45 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/1.103, allocations: 43.5 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/1.103, allocations: 4 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.103, allocations: 318.8 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/1.103, allocations: 92.2 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/1.104, allocations: 138.2 kB / 1.106 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/1.104, allocations: 72.69 kB / 1.106 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.104, allocations: 4 kB / 1.106 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009698/1.105, allocations: 316.3 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.105, allocations: 75.58 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.105, allocations: 7.984 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/1.105, allocations: 0 / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/1.106, allocations: 31.92 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/1.106, allocations: 0 / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006528/1.106, allocations: 43.88 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.106, allocations: 47.98 kB / 1.107 GB, free: 9.227 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.0002124/1.107, allocations: 136.7 kB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000534/1.107, allocations: 207.2 kB / 1.107 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/1.107, allocations: 23.72 kB / 1.107 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/1.107, allocations: 30.03 kB / 1.107 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.107, allocations: 0 / 1.107 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.107, allocations: 3.984 kB / 1.107 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.107, allocations: 4 kB / 1.107 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/1.109, allocations: 0.5221 MB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.109, allocations: 0 / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.547e-05/1.109, allocations: 7.984 kB / 1.108 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/1.109, allocations: 7.984 kB / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/1.109, allocations: 15.48 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/1.109, allocations: 0 / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/1.109, allocations: 4 kB / 1.108 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/1.109, allocations: 313 kB / 1.108 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/1.11, allocations: 152.7 kB / 1.108 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/1.11, allocations: 4 kB / 1.108 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/1.11, allocations: 17.95 kB / 1.108 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/1.11, allocations: 19.88 kB / 1.108 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/1.11, allocations: 27.98 kB / 1.108 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002661/1.111, allocations: 190 kB / 1.109 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/1.111, allocations: 0 / 1.109 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000569/1.111, allocations: 51.98 kB / 1.109 GB, free: 7.426 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.001027/1.112, allocations: 0.8518 MB / 1.109 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008537/1.113, allocations: 332.6 kB / 1.11 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.113, allocations: 0 / 1.11 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/1.113, allocations: 64.3 kB / 1.11 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/1.114, allocations: 22.94 kB / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/1.115, allocations: 321.5 kB / 1.11 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/1.115, allocations: 0.7557 MB / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002463/1.116, allocations: 33.2 kB / 1.111 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/1.116, allocations: 51.36 kB / 1.111 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/1.116, allocations: 0 / 1.111 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04349/1.159, allocations: 4.935 MB / 1.116 GB, free: 56 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003478/1.16, allocations: 155.8 kB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.501, allocations: 0 / 1.116 GB, free: 15.86 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)