Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.33/2.33, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001374/0.001373, allocations: 191.9 kB / 0.4902 GB, free: 2.215 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.636/1.636, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.001022/0.001022, allocations: 102.1 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003979, allocations: 8.656 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3078, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/0.5132, allocations: 152.7 MB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5135, allocations: 71.95 kB / 1.378 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01638/0.5299, allocations: 4.593 MB / 1.383 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5299, allocations: 0 / 1.383 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.53, allocations: 4 kB / 1.383 GB, free: 7.766 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.001156/0.5311, allocations: 0.6683 MB / 1.384 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5312, allocations: 8.562 kB / 1.384 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.662e-05/0.5313, allocations: 38.55 kB / 1.384 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.5314, allocations: 35.66 kB / 1.384 GB, free: 6.922 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.5318, allocations: 258.5 kB / 1.384 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.5319, allocations: 15.98 kB / 1.384 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.532, allocations: 12 kB / 1.384 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.5329, allocations: 209.5 kB / 1.384 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5329, allocations: 0 / 1.384 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.533, allocations: 4 kB / 1.384 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.533, allocations: 4 kB / 1.384 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.5337, allocations: 111.8 kB / 1.384 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.5342, allocations: 333.3 kB / 1.385 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5352, allocations: 186.5 kB / 1.385 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.5352, allocations: 4 kB / 1.385 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008782/0.5361, allocations: 221.1 kB / 1.385 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.5361, allocations: 0 / 1.385 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.002388/0.5385, allocations: 481 kB / 1.385 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.5386, allocations: 63.38 kB / 1.386 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.5389, allocations: 258.1 kB / 1.386 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.539, allocations: 33.7 kB / 1.386 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.539, allocations: 93.05 kB / 1.386 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.5391, allocations: 39.55 kB / 1.386 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.5391, allocations: 8 kB / 1.386 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5393, allocations: 330.8 kB / 1.386 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.5395, allocations: 87.94 kB / 1.386 GB, free: 4.07 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.5398, allocations: 145.9 kB / 1.386 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.5401, allocations: 156.3 kB / 1.387 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5401, allocations: 0 / 1.387 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007445/0.5408, allocations: 397.4 kB / 1.387 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-05/0.5409, allocations: 79.38 kB / 1.387 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.541, allocations: 4 kB / 1.387 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.541, allocations: 4 kB / 1.387 GB, free: 3.238 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.5412, allocations: 24.11 kB / 1.387 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.5412, allocations: 4 kB / 1.387 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.5415, allocations: 51.75 kB / 1.387 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.5416, allocations: 43.98 kB / 1.387 GB, free: 3.117 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.0002461/0.5419, allocations: 169.4 kB / 1.387 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.5419, allocations: 35.66 kB / 1.387 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.542, allocations: 30.3 kB / 1.387 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.542, allocations: 0 / 1.387 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.542, allocations: 0 / 1.387 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.542, allocations: 0 / 1.387 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.5441, allocations: 0.7106 MB / 1.388 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5441, allocations: 0 / 1.388 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.5442, allocations: 8 kB / 1.388 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5442, allocations: 0 / 1.388 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.5442, allocations: 19.97 kB / 1.388 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5442, allocations: 4 kB / 1.388 GB, free: 2.082 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5442, allocations: 0 / 1.388 GB, free: 2.082 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.5458, allocations: 477.2 kB / 1.389 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.5461, allocations: 156.7 kB / 1.389 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.5462, allocations: 12 kB / 1.389 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.5466, allocations: 35.91 kB / 1.389 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.5466, allocations: 7.984 kB / 1.389 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/0.5467, allocations: 51.91 kB / 1.389 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002092/0.5469, allocations: 205.9 kB / 1.389 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5469, allocations: 4 kB / 1.389 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004059/0.5473, allocations: 48.38 kB / 1.389 GB, free: 1.07 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.002072/0.5494, allocations: 1.017 MB / 1.39 GB, free: 28 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.5508, allocations: 394.6 kB / 1.39 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5508, allocations: 0 / 1.39 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.5515, allocations: 129.9 kB / 1.391 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.5518, allocations: 24.36 kB / 1.391 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.554, allocations: 1.661 MB / 1.392 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.5544, allocations: 0.7458 MB / 1.393 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.623e-05/0.5545, allocations: 16.62 kB / 1.393 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.5545, allocations: 23.42 kB / 1.393 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of SimCode: time 4.31e-07/0.5545, allocations: 4 kB / 1.393 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.5741, allocations: 4.913 MB / 1.398 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.5744, allocations: 188.6 kB / 1.398 GB, free: 7.902 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.254, allocations: 0 / 1.398 GB, free: 7.902 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat