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.001284/0.001284, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001306/0.001306, allocations: 193.5 kB / 16.14 MB, free: 6.719 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 62.91 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2243, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002221/0.2266, allocations: 1.579 MB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2276, allocations: 0.6019 MB / 1.054 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.2277, allocations: 0 / 1.054 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.646e-05/0.2278, allocations: 3.938 kB / 1.054 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.2279, allocations: 27.91 kB / 1.054 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.2284, allocations: 282.3 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.2288, allocations: 451.4 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.2288, allocations: 4 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.2291, allocations: 307 kB / 1.055 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.2294, allocations: 167.2 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-05/0.2294, allocations: 16 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.2295, allocations: 12 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2297, allocations: 119.6 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.2298, allocations: 178.9 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.2302, allocations: 410.9 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2302, allocations: 0 / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.51e-07/0.2302, allocations: 0 / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2302, allocations: 0 / 1.056 GB, free: 4.09 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.001012/0.2312, allocations: 0.8704 MB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.2313, allocations: 11.97 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.2313, allocations: 46.67 kB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.98e-05/0.2314, allocations: 44.56 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.2317, allocations: 322.1 kB / 1.057 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.2318, allocations: 20.36 kB / 1.057 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.2318, allocations: 24.36 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/0.2328, allocations: 210 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.2329, allocations: 3.938 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.2329, allocations: 4 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2329, allocations: 4 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000748/0.2337, allocations: 107.8 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.234, allocations: 381.3 kB / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009836/0.235, allocations: 174.5 kB / 1.058 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007046/0.2357, allocations: 112.8 kB / 1.058 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.2358, allocations: 3.984 kB / 1.058 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008724/0.2366, allocations: 227 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.2366, allocations: 3.938 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002405/0.2391, allocations: 484.9 kB / 1.059 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2391, allocations: 59.39 kB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.2394, allocations: 421.8 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.2395, allocations: 37.7 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.2396, allocations: 97.44 kB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.2396, allocations: 35.55 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2398, allocations: 125.3 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2399, allocations: 330.8 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.2401, allocations: 123.9 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.2404, allocations: 173.9 kB / 1.06 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.2407, allocations: 271.2 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2408, allocations: 3.984 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007563/0.2415, allocations: 0.4917 MB / 1.061 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/0.2416, allocations: 91.31 kB / 1.061 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2416, allocations: 4 kB / 1.061 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2416, allocations: 7.984 kB / 1.061 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.2418, allocations: 20.17 kB / 1.061 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2418, allocations: 7.938 kB / 1.061 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.2423, allocations: 63.73 kB / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.668e-05/0.2423, allocations: 63.97 kB / 1.061 GB, free: 14.34 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.0001788/0.2425, allocations: 184 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.2426, allocations: 43.47 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.2427, allocations: 43.75 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.2427, allocations: 3.938 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2427, allocations: 7.922 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2427, allocations: 3.984 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.2447, allocations: 0.7441 MB / 1.062 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.2447, allocations: 0 / 1.062 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.2447, allocations: 7.938 kB / 1.062 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2447, allocations: 0 / 1.062 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.2447, allocations: 19.97 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2448, allocations: 0 / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2448, allocations: 0 / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.2464, allocations: 481.7 kB / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.2466, allocations: 204.4 kB / 1.063 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.2467, allocations: 11.98 kB / 1.063 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/0.2471, allocations: 31.97 kB / 1.063 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.2472, allocations: 11.98 kB / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.2472, allocations: 51.98 kB / 1.063 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002382/0.2475, allocations: 295.1 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2475, allocations: 0 / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000306/0.2478, allocations: 71.98 kB / 1.064 GB, free: 12.06 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.00191/0.2497, allocations: 1.009 MB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.2509, allocations: 446.4 kB / 1.065 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2509, allocations: 0 / 1.065 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.2516, allocations: 120.2 kB / 1.065 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2519, allocations: 39.34 kB / 1.065 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.2556, allocations: 2.889 MB / 1.068 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.2559, allocations: 0.7672 MB / 1.069 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.339e-05/0.2559, allocations: 17.08 kB / 1.069 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.256, allocations: 27.42 kB / 1.069 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.256, allocations: 0 / 1.069 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.4/1.656, allocations: 6.015 MB / 1.075 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/1.657, allocations: 219 kB / 1.075 GB, free: 304 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/3.779, allocations: 8.562 kB / 1.075 GB, free: 296 kB / 0.8262 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)