Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.656/2.656, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001172/0.001172, allocations: 186.6 kB / 0.4901 GB, free: 2.242 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.663/1.663, allocations: 223.1 MB / 0.7992 GB, free: 15.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.001063/0.001063, allocations: 104.2 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004071, allocations: 11.84 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3454, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.5549, allocations: 152.8 MB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5552, allocations: 71.95 kB / 1.379 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01477/0.57, allocations: 4.595 MB / 1.383 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.483e-06/0.57, allocations: 0 / 1.383 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.5701, allocations: 4 kB / 1.383 GB, free: 7.762 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.0009989/0.5711, allocations: 0.6683 MB / 1.384 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.5711, allocations: 12.56 kB / 1.384 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.199e-05/0.5712, allocations: 42.55 kB / 1.384 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.785e-05/0.5713, allocations: 31.72 kB / 1.384 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.5718, allocations: 250.5 kB / 1.384 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/0.5719, allocations: 15.98 kB / 1.384 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.5719, allocations: 20 kB / 1.384 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009789/0.5729, allocations: 217.4 kB / 1.384 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5729, allocations: 0 / 1.384 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.573, allocations: 0 / 1.384 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.573, allocations: 0 / 1.384 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.5737, allocations: 115.9 kB / 1.384 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.5741, allocations: 329.3 kB / 1.385 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009881/0.5751, allocations: 194.4 kB / 1.385 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.5751, allocations: 0 / 1.385 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008573/0.576, allocations: 223 kB / 1.385 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.576, allocations: 0 / 1.385 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.002403/0.5784, allocations: 479 kB / 1.386 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.5785, allocations: 63.41 kB / 1.386 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.5788, allocations: 254.1 kB / 1.386 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.5788, allocations: 37.7 kB / 1.386 GB, free: 4.617 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.5789, allocations: 97.05 kB / 1.386 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.579, allocations: 39.53 kB / 1.386 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.579, allocations: 8 kB / 1.386 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5792, allocations: 322.8 kB / 1.386 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.5794, allocations: 91.94 kB / 1.386 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.5797, allocations: 149.8 kB / 1.387 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.58, allocations: 153.3 kB / 1.387 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.58, allocations: 0 / 1.387 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007789/0.5808, allocations: 400.6 kB / 1.387 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.026e-05/0.5809, allocations: 76.34 kB / 1.387 GB, free: 3.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5809, allocations: 4 kB / 1.387 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.5809, allocations: 4 kB / 1.387 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.5811, allocations: 27.92 kB / 1.387 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5811, allocations: 0 / 1.387 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.5815, allocations: 51.75 kB / 1.387 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.5816, allocations: 39.98 kB / 1.387 GB, free: 3.109 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.0002063/0.5818, allocations: 168.5 kB / 1.387 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.5819, allocations: 31.66 kB / 1.387 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.5819, allocations: 26.3 kB / 1.387 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.5819, allocations: 4 kB / 1.387 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5819, allocations: 0 / 1.387 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5819, allocations: 0 / 1.387 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.5841, allocations: 0.7129 MB / 1.388 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5841, allocations: 4 kB / 1.388 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.5841, allocations: 4 kB / 1.388 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.5842, allocations: 7.969 kB / 1.388 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.5842, allocations: 15.98 kB / 1.388 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.5842, allocations: 0 / 1.388 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5842, allocations: 3.938 kB / 1.388 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.5859, allocations: 477.2 kB / 1.389 GB, free: 1.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.5861, allocations: 156.7 kB / 1.389 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.5862, allocations: 12 kB / 1.389 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.5866, allocations: 31.97 kB / 1.389 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.5867, allocations: 15.92 kB / 1.389 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/0.5867, allocations: 43.97 kB / 1.389 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002106/0.587, allocations: 213.9 kB / 1.389 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.587, allocations: 0 / 1.389 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003477/0.5873, allocations: 48.38 kB / 1.389 GB, free: 1.059 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.002029/0.5894, allocations: 1.023 MB / 1.39 GB, free: 12 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.5906, allocations: 390.8 kB / 1.391 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5906, allocations: 4.062 kB / 1.391 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007179/0.5913, allocations: 121.8 kB / 1.391 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.5916, allocations: 24.42 kB / 1.391 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.5937, allocations: 1.659 MB / 1.392 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.5941, allocations: 0.7477 MB / 1.393 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 6.624e-05/0.5942, allocations: 8.641 kB / 1.393 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.5943, allocations: 27.42 kB / 1.393 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of SimCode: time 4.31e-07/0.5943, allocations: 3.938 kB / 1.393 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.6143, allocations: 4.913 MB / 1.398 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.6145, allocations: 197.6 kB / 1.398 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.3, allocations: 3.938 kB / 1.398 GB, free: 7.906 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat