Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 393.5 MB / 408.4 MB, free: 10.86 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.001133/0.001132, allocations: 191.9 kB / 0.4901 GB, free: 2.078 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.675/1.675, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009508/0.0009509, allocations: 94.91 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005789/0.0005791, allocations: 10.97 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.336, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.5329, allocations: 152.8 MB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5332, allocations: 71.95 kB / 1.379 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.5475, allocations: 4.6 MB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5476, allocations: 0 / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.5476, allocations: 4 kB / 1.383 GB, free: 11.94 MB / 0.8855 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.0008199/0.5484, allocations: 0.6652 MB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5485, allocations: 8.562 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/0.5486, allocations: 42.55 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.5486, allocations: 35.72 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.549, allocations: 254.5 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/0.549, allocations: 15.98 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.5491, allocations: 16 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008936/0.55, allocations: 217.4 kB / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.55, allocations: 0 / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.5501, allocations: 0 / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.5501, allocations: 3.984 kB / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007257/0.5508, allocations: 107.9 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.5512, allocations: 329.3 kB / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009641/0.5521, allocations: 186.5 kB / 1.385 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.5522, allocations: 0 / 1.385 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008771/0.5531, allocations: 227.1 kB / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.5531, allocations: 0 / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.002336/0.5554, allocations: 477 kB / 1.386 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.5555, allocations: 63.39 kB / 1.386 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.5557, allocations: 254.1 kB / 1.386 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.5558, allocations: 37.7 kB / 1.386 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.5559, allocations: 89.14 kB / 1.386 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.5559, allocations: 47.39 kB / 1.386 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.556, allocations: 12 kB / 1.386 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5561, allocations: 326.7 kB / 1.386 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.5563, allocations: 91.94 kB / 1.386 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.5566, allocations: 141.9 kB / 1.387 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.5569, allocations: 155.9 kB / 1.387 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5569, allocations: 0 / 1.387 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007139/0.5576, allocations: 405.8 kB / 1.387 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.26e-05/0.5577, allocations: 75.38 kB / 1.387 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5577, allocations: 0 / 1.387 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5577, allocations: 4.188 kB / 1.387 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.5579, allocations: 23.98 kB / 1.387 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.5579, allocations: 3.938 kB / 1.387 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.5583, allocations: 47.81 kB / 1.387 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/0.5584, allocations: 47.98 kB / 1.387 GB, free: 7.293 MB / 0.8855 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.0001971/0.5586, allocations: 164 kB / 1.387 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.5586, allocations: 35.66 kB / 1.387 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.925e-05/0.5587, allocations: 30.23 kB / 1.387 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5587, allocations: 4 kB / 1.387 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5587, allocations: 0 / 1.387 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5587, allocations: 0 / 1.387 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.5608, allocations: 0.6998 MB / 1.388 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5608, allocations: 8 kB / 1.388 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.5608, allocations: 11.92 kB / 1.388 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5609, allocations: 0 / 1.388 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.5609, allocations: 15.98 kB / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5609, allocations: 0 / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5609, allocations: 0 / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.5625, allocations: 466.9 kB / 1.389 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.5627, allocations: 164.6 kB / 1.389 GB, free: 5.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.5628, allocations: 15.98 kB / 1.389 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.5631, allocations: 23.98 kB / 1.389 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.5632, allocations: 19.92 kB / 1.389 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/0.5633, allocations: 39.97 kB / 1.389 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000204/0.5635, allocations: 209.9 kB / 1.389 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5635, allocations: 4 kB / 1.389 GB, free: 5.305 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003811/0.5639, allocations: 52.38 kB / 1.389 GB, free: 5.254 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.001938/0.5658, allocations: 1.02 MB / 1.39 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.567, allocations: 408.7 kB / 1.391 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5671, allocations: 0 / 1.391 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006855/0.5677, allocations: 128.2 kB / 1.391 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.568, allocations: 24.42 kB / 1.391 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.5703, allocations: 1.651 MB / 1.392 GB, free: 1.906 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.5707, allocations: 0.7515 MB / 1.393 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.976e-05/0.5708, allocations: 8.641 kB / 1.393 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.5709, allocations: 23.42 kB / 1.393 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of SimCode: time 1.333e-06/0.5709, allocations: 3.938 kB / 1.393 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.5883, allocations: 4.931 MB / 1.398 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.5885, allocations: 194.6 kB / 1.398 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.316, allocations: 0 / 1.398 GB, free: 12.08 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat