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.692/1.692, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001141/0.001141, allocations: 172.8 kB / 366.7 MB, free: 1.641 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.095/2.095, allocations: 205.3 MB / 0.626 GB, free: 7.176 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.001094/0.001094, allocations: 94.34 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.215e-05, allocations: 3.984 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8634, allocations: 116.3 MB / 0.9733 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2408/1.104, allocations: 140.9 MB / 1.111 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/1.105, allocations: 71.95 kB / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01441/1.119, allocations: 4.543 MB / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.003e-06/1.119, allocations: 0 / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.594e-05/1.119, allocations: 4 kB / 1.115 GB, free: 4.617 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.0007777/1.12, allocations: 0.625 MB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.12, allocations: 15.97 kB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/1.12, allocations: 31.72 kB / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/1.12, allocations: 258.5 kB / 1.116 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/1.12, allocations: 4 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/1.121, allocations: 16 kB / 1.116 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001208/1.121, allocations: 39.98 kB / 1.116 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/1.121, allocations: 145.5 kB / 1.117 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.121, allocations: 0 / 1.117 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/1.121, allocations: 4 kB / 1.117 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.121, allocations: 0 / 1.117 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/1.121, allocations: 305.9 kB / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/1.122, allocations: 110.4 kB / 1.117 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.948e-05/1.122, allocations: 52.84 kB / 1.117 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/1.122, allocations: 4 kB / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/1.122, allocations: 161 kB / 1.117 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/1.122, allocations: 0 / 1.117 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004724/1.122, allocations: 247.4 kB / 1.117 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.122, allocations: 55.41 kB / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/1.123, allocations: 250.2 kB / 1.118 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/1.123, allocations: 29.7 kB / 1.118 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/1.123, allocations: 89.45 kB / 1.118 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/1.123, allocations: 35.61 kB / 1.118 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/1.123, allocations: 4 kB / 1.118 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.123, allocations: 322.8 kB / 1.118 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/1.123, allocations: 79.97 kB / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/1.123, allocations: 126 kB / 1.118 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/1.124, allocations: 73.95 kB / 1.118 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.124, allocations: 3.953 kB / 1.118 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005322/1.124, allocations: 297.2 kB / 1.119 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.432e-05/1.124, allocations: 75.38 kB / 1.119 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.124, allocations: 0 / 1.119 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.124, allocations: 4 kB / 1.119 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/1.124, allocations: 28.06 kB / 1.119 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/1.124, allocations: 5.875 kB / 1.119 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/1.125, allocations: 39.88 kB / 1.119 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/1.125, allocations: 39.98 kB / 1.119 GB, free: 0.832 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: 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 () * 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.0001425/1.125, allocations: 123.2 kB / 1.119 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003538/1.125, allocations: 241.2 kB / 1.119 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/1.125, allocations: 31.62 kB / 1.119 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/1.125, allocations: 26.03 kB / 1.119 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.125, allocations: 7.938 kB / 1.119 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.126, allocations: 0 / 1.119 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.126, allocations: 0 / 1.119 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007851/1.126, allocations: 0.5509 MB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.126, allocations: 2.062 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/1.126, allocations: 11.94 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/1.126, allocations: 8 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/1.126, allocations: 19.92 kB / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.126, allocations: 0 / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.126, allocations: 0 / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/1.127, allocations: 335.9 kB / 1.12 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/1.127, allocations: 164.7 kB / 1.12 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/1.127, allocations: 11.95 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/1.128, allocations: 37.94 kB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/1.128, allocations: 15.97 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/1.128, allocations: 35.98 kB / 1.12 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001774/1.128, allocations: 198 kB / 1.121 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.128, allocations: 0 / 1.121 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003314/1.128, allocations: 48.38 kB / 1.121 GB, free: 14.91 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) * 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.0007375/1.129, allocations: 0.8863 MB / 1.122 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004753/1.129, allocations: 318.6 kB / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.129, allocations: 0 / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/1.13, allocations: 66.31 kB / 1.122 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/1.13, allocations: 22.39 kB / 1.122 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007712/1.131, allocations: 333.1 kB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/1.131, allocations: 0.7396 MB / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.491e-05/1.131, allocations: 16.77 kB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/1.131, allocations: 23.42 kB / 1.123 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/1.131, allocations: 4 kB / 1.123 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04591/1.177, allocations: 4.503 MB / 1.127 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/1.177, allocations: 145.8 kB / 1.128 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.928, allocations: 0 / 1.128 GB, free: 7.797 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)