Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 178.1 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.854/1.854, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.000983, allocations: 88.41 kB / 0.9346 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004156, allocations: 14.5 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3336, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.5257, allocations: 152 MB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5261, allocations: 75.95 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.5413, allocations: 4.599 MB / 1.376 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5414, allocations: 0 / 1.376 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.5414, allocations: 4 kB / 1.376 GB, free: 5.434 MB / 0.8698 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.0009269/0.5423, allocations: 0.6605 MB / 1.377 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.5424, allocations: 8.031 kB / 1.377 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.687e-05/0.5425, allocations: 38.55 kB / 1.377 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.5426, allocations: 31.72 kB / 1.377 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.5431, allocations: 258.4 kB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.5431, allocations: 19.98 kB / 1.377 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/0.5432, allocations: 20 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009422/0.5442, allocations: 209.5 kB / 1.377 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.5442, allocations: 3.938 kB / 1.377 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.5442, allocations: 4 kB / 1.377 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5442, allocations: 0 / 1.377 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007434/0.545, allocations: 115.8 kB / 1.377 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.5454, allocations: 329.3 kB / 1.378 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.5464, allocations: 194.4 kB / 1.378 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.5465, allocations: 0 / 1.378 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008673/0.5474, allocations: 219.1 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.5474, allocations: 0 / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.00247/0.5498, allocations: 483.5 kB / 1.378 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.5499, allocations: 63.39 kB / 1.378 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.5502, allocations: 254.1 kB / 1.379 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.5503, allocations: 41.69 kB / 1.379 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.5503, allocations: 93.08 kB / 1.379 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.5504, allocations: 39.59 kB / 1.379 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.5504, allocations: 4 kB / 1.379 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5506, allocations: 330.8 kB / 1.379 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.5508, allocations: 87.94 kB / 1.379 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.5511, allocations: 143 kB / 1.379 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.5514, allocations: 160.7 kB / 1.38 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5514, allocations: 0 / 1.38 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007364/0.5521, allocations: 398.6 kB / 1.38 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/0.5522, allocations: 79.38 kB / 1.38 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5523, allocations: 0 / 1.38 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5523, allocations: 4 kB / 1.38 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.5524, allocations: 23.92 kB / 1.38 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5525, allocations: 192 / 1.38 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.5528, allocations: 55.75 kB / 1.38 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.5529, allocations: 43.98 kB / 1.38 GB, free: 0.7812 MB / 0.8698 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.0001983/0.5531, allocations: 164 kB / 1.38 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.5532, allocations: 31.58 kB / 1.38 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.5532, allocations: 30.3 kB / 1.38 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5532, allocations: 4 kB / 1.38 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.5532, allocations: 3.984 kB / 1.38 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5533, allocations: 0 / 1.38 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.5554, allocations: 0.7012 MB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5554, allocations: 8 kB / 1.381 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.5555, allocations: 4 kB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5555, allocations: 4 kB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.5555, allocations: 15.97 kB / 1.381 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5555, allocations: 0 / 1.381 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5555, allocations: 0 / 1.381 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.5572, allocations: 476.7 kB / 1.382 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.5574, allocations: 164.6 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.5575, allocations: 16 kB / 1.382 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.5579, allocations: 31.97 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.558, allocations: 11.98 kB / 1.382 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.558, allocations: 43.97 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001809/0.5582, allocations: 209.9 kB / 1.382 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5582, allocations: 0 / 1.382 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003551/0.5586, allocations: 48 kB / 1.382 GB, free: 14.74 MB / 0.8855 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.001969/0.5606, allocations: 1.028 MB / 1.383 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.5618, allocations: 392.8 kB / 1.383 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5618, allocations: 0 / 1.383 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007333/0.5625, allocations: 132.2 kB / 1.384 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.5628, allocations: 20.42 kB / 1.384 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.5647, allocations: 1.665 MB / 1.385 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.565, allocations: 0.7443 MB / 1.386 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.108e-05/0.5651, allocations: 20.58 kB / 1.386 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.5651, allocations: 23.42 kB / 1.386 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of SimCode: time 4.328e-06/0.5652, allocations: 0 / 1.386 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.5818, allocations: 4.907 MB / 1.391 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.582, allocations: 185.3 kB / 1.391 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.228, allocations: 0 / 1.391 GB, free: 5.574 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat