Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.892/1.892, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001507/0.001507, allocations: 187.6 kB / 377.1 MB, free: 1.512 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.891/1.891, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.0009748/0.0009751, allocations: 90.95 kB / 0.7509 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 11.98 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3167, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9449/1.262, allocations: 141.7 MB / 1.127 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.262, allocations: 72 kB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.015/1.277, allocations: 4.569 MB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.773e-06/1.277, allocations: 0 / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.083e-05/1.277, allocations: 4 kB / 1.131 GB, free: 30.29 MB / 0.7292 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.001144/1.278, allocations: 0.6653 MB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/1.278, allocations: 16.02 kB / 1.132 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.308e-05/1.278, allocations: 39.33 kB / 1.132 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/1.279, allocations: 33.78 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/1.279, allocations: 252.2 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/1.279, allocations: 16 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/1.279, allocations: 18.91 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/1.28, allocations: 212.2 kB / 1.133 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/1.28, allocations: 0.5625 kB / 1.133 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/1.28, allocations: 7.422 kB / 1.133 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/1.28, allocations: 4.812 kB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/1.281, allocations: 104.2 kB / 1.133 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/1.282, allocations: 322.5 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/1.283, allocations: 191.2 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/1.283, allocations: 5.828 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009618/1.284, allocations: 217.6 kB / 1.133 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 3.576e-06/1.284, allocations: 4 kB / 1.133 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.00257/1.286, allocations: 484.4 kB / 1.134 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/1.286, allocations: 57.42 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/1.287, allocations: 260.9 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/1.287, allocations: 34.83 kB / 1.134 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/1.287, allocations: 90.64 kB / 1.134 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/1.287, allocations: 46.69 kB / 1.134 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/1.287, allocations: 12.61 kB / 1.134 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/1.287, allocations: 323 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/1.288, allocations: 95.52 kB / 1.135 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/1.288, allocations: 139.4 kB / 1.135 GB, free: 26.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/1.288, allocations: 156.4 kB / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.288, allocations: 4 kB / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000867/1.289, allocations: 396 kB / 1.135 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.041e-05/1.289, allocations: 75.97 kB / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.289, allocations: 7.953 kB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/1.289, allocations: 1.312 kB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/1.289, allocations: 24.83 kB / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.289, allocations: 8.5 kB / 1.135 GB, free: 26.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/1.29, allocations: 42.55 kB / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/1.29, allocations: 45.27 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0002521/1.29, allocations: 167.4 kB / 1.136 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/1.29, allocations: 24.47 kB / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/1.29, allocations: 30.09 kB / 1.136 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.29, allocations: 8.984 kB / 1.136 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.29, allocations: 0.7031 kB / 1.136 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.29, allocations: 0.6562 kB / 1.136 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/1.293, allocations: 0.7055 MB / 1.136 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.293, allocations: 4.797 kB / 1.136 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/1.293, allocations: 13.06 kB / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.293, allocations: 0 / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/1.293, allocations: 19.02 kB / 1.136 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/1.293, allocations: 0.7969 kB / 1.136 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.293, allocations: 0 / 1.136 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/1.294, allocations: 467.6 kB / 1.137 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/1.295, allocations: 170.7 kB / 1.137 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/1.295, allocations: 14.75 kB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/1.295, allocations: 31.92 kB / 1.137 GB, free: 24.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/1.295, allocations: 10.86 kB / 1.137 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.61e-05/1.295, allocations: 39.27 kB / 1.137 GB, free: 24.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002462/1.296, allocations: 209.1 kB / 1.137 GB, free: 24.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.296, allocations: 4 kB / 1.137 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004214/1.296, allocations: 53.27 kB / 1.137 GB, free: 24.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.002168/1.298, allocations: 1.008 MB / 1.138 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001344/1.3, allocations: 410.4 kB / 1.139 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.3, allocations: 4.375 kB / 1.139 GB, free: 23.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007899/1.3, allocations: 125.3 kB / 1.139 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/1.301, allocations: 20.12 kB / 1.139 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/1.303, allocations: 1.653 MB / 1.141 GB, free: 21.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/1.303, allocations: 0.7493 MB / 1.141 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.485e-05/1.303, allocations: 11.56 kB / 1.141 GB, free: 20.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/1.303, allocations: 19.38 kB / 1.141 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of SimCode: time 6.893e-06/1.303, allocations: 0 / 1.141 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/1.328, allocations: 4.919 MB / 1.146 GB, free: 17.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/1.328, allocations: 178.5 kB / 1.146 GB, free: 17.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/3.34, allocations: 0 / 1.146 GB, free: 17.48 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)