Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.619/1.619, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001107/0.001107, allocations: 172.9 kB / 361.4 MB, free: 6.871 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.489/1.489, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008135/0.0008136, allocations: 90.64 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.478e-05/1.479e-05, allocations: 0 / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6007/0.6007, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.7835, allocations: 139.1 MB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.7837, allocations: 71.11 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.7971, allocations: 4.429 MB / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7972, allocations: 4 kB / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.751e-05/0.7972, allocations: 4 kB / 1.105 GB, free: 12.18 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.0009259/0.7981, allocations: 0.5827 MB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.7982, allocations: 8.031 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.7983, allocations: 32.75 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.7987, allocations: 250.5 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.7987, allocations: 15.97 kB / 1.106 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.7988, allocations: 16 kB / 1.106 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001169/0.7989, allocations: 40.48 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.7992, allocations: 137.5 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.7992, allocations: 1.594 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.7992, allocations: 3.984 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.7992, allocations: 4 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.7996, allocations: 301.8 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.7998, allocations: 130.6 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.7999, allocations: 52.84 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.7999, allocations: 0 / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/0.8003, allocations: 208.5 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.637e-06/0.8003, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004204/0.8008, allocations: 214.4 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.8008, allocations: 59.41 kB / 1.107 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.8011, allocations: 242.3 kB / 1.107 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.8011, allocations: 29.7 kB / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.8012, allocations: 93.45 kB / 1.107 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.8013, allocations: 43.45 kB / 1.107 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.8013, allocations: 4 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8014, allocations: 329.7 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.8016, allocations: 84.2 kB / 1.107 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.8018, allocations: 134.2 kB / 1.108 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.802, allocations: 83.62 kB / 1.108 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.802, allocations: 0 / 1.108 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005611/0.8026, allocations: 319.6 kB / 1.108 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.8027, allocations: 75.38 kB / 1.108 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.8027, allocations: 4.188 kB / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8027, allocations: 4 kB / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.8029, allocations: 23.98 kB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.8029, allocations: 7.938 kB / 1.108 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.8033, allocations: 43.81 kB / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.66e-05/0.8034, allocations: 59.97 kB / 1.108 GB, free: 8.352 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.000134/0.8035, allocations: 123.1 kB / 1.108 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003076/0.8038, allocations: 214.1 kB / 1.109 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.8039, allocations: 23.72 kB / 1.109 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.8039, allocations: 26.03 kB / 1.109 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.804, allocations: 4 kB / 1.109 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.804, allocations: 0 / 1.109 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.804, allocations: 0 / 1.109 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.8046, allocations: 0.5235 MB / 1.109 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8047, allocations: 0 / 1.109 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.8047, allocations: 15.98 kB / 1.109 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8047, allocations: 0 / 1.109 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.8048, allocations: 11.98 kB / 1.109 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.8048, allocations: 0 / 1.109 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8048, allocations: 0 / 1.109 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.8051, allocations: 304.8 kB / 1.109 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.8053, allocations: 156.7 kB / 1.11 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.8053, allocations: 11.94 kB / 1.11 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.8055, allocations: 11.98 kB / 1.11 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.8056, allocations: 25.41 kB / 1.11 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.8056, allocations: 31.98 kB / 1.11 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001615/0.8058, allocations: 194 kB / 1.11 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8058, allocations: 0 / 1.11 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003254/0.8061, allocations: 47.98 kB / 1.11 GB, free: 6.559 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.0006498/0.8068, allocations: 0.8615 MB / 1.111 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004792/0.8073, allocations: 325.2 kB / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8073, allocations: 0 / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.8074, allocations: 63.92 kB / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.8077, allocations: 17.25 kB / 1.111 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.8084, allocations: 330.3 kB / 1.111 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.8088, allocations: 0.7459 MB / 1.112 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.8089, allocations: 41.2 kB / 1.112 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.8091, allocations: 47.41 kB / 1.112 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.8091, allocations: 4 kB / 1.112 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.8309, allocations: 4.935 MB / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.8312, allocations: 162.3 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.41, allocations: 0 / 1.117 GB, free: 15 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)