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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008774, allocations: 92 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005387/0.005387, allocations: 170.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 15.64 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2303, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001408/0.2318, allocations: 1.249 MB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2329, allocations: 0.5776 MB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.233, allocations: 0 / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.789e-05/0.233, allocations: 3.938 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.736e-05/0.2331, allocations: 31.84 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.2338, allocations: 282.9 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.2342, allocations: 451.3 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.2342, allocations: 15.98 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.2347, allocations: 307 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.2349, allocations: 163.2 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.235, allocations: 12 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.2351, allocations: 12 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.2352, allocations: 119.6 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.2354, allocations: 208.5 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.2357, allocations: 410.9 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2357, allocations: 4 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2358, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.2358, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 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.0008894/0.2367, allocations: 0.742 MB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2367, allocations: 15.97 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.2368, allocations: 34.75 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.2369, allocations: 60.44 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.2372, allocations: 310.1 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.2372, allocations: 20.38 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.554e-05/0.2373, allocations: 32.36 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009321/0.2383, allocations: 218 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2383, allocations: 3.938 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.2383, allocations: 4 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2383, allocations: 4 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.2391, allocations: 103.9 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.2395, allocations: 405.2 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.2405, allocations: 190.5 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/0.2413, allocations: 120.8 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.2413, allocations: 4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008936/0.2422, allocations: 237.4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.2422, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002479/0.2447, allocations: 0.5008 MB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.2447, allocations: 67.39 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.2451, allocations: 413.8 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.2452, allocations: 41.69 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.2452, allocations: 93.45 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.2453, allocations: 35.59 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.2453, allocations: 41.69 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.2454, allocations: 322.8 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.2457, allocations: 119.9 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.246, allocations: 173.9 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.2463, allocations: 274.6 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2463, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007382/0.2471, allocations: 0.4899 MB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/0.2471, allocations: 92.56 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2471, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2472, allocations: 3.938 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.2473, allocations: 28.11 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.2473, allocations: 7.984 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.2478, allocations: 63.8 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.2479, allocations: 59.98 kB / 1.068 GB, free: 11.43 MB / 0.8262 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.2481, allocations: 196 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.2482, allocations: 43.45 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.2482, allocations: 39.75 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2482, allocations: 7.984 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2482, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2482, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.2503, allocations: 0.7698 MB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2503, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.2503, allocations: 8 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2503, allocations: 4 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.2504, allocations: 19.97 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2504, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2504, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.2521, allocations: 0.4909 MB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.2523, allocations: 204.4 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.2523, allocations: 11.94 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.2528, allocations: 39.95 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.2529, allocations: 8 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.2529, allocations: 59.97 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002402/0.2532, allocations: 295.1 kB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2532, allocations: 0 / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003184/0.2535, allocations: 67.98 kB / 1.07 GB, free: 9.086 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001921/0.2554, allocations: 1.038 MB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.2566, allocations: 458.7 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2566, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007537/0.2574, allocations: 119.9 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2577, allocations: 25.67 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.2614, allocations: 2.903 MB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.2617, allocations: 0.771 MB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.35e-05/0.2618, allocations: 17.08 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.2618, allocations: 23.42 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2618, allocations: 0 / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.48/2.741, allocations: 5.923 MB / 1.081 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/2.742, allocations: 212.8 kB / 1.081 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/4.509, allocations: 0 / 1.081 GB, free: 13.4 MB / 0.8419 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/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)