Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.00645/0.00645, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001578/0.001578, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.21/1.21, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 66.28 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2138, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002308/0.2161, allocations: 1.522 MB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2173, allocations: 0.5397 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.2173, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.134e-05/0.2174, allocations: 7.875 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.2175, allocations: 31.78 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000716/0.2182, allocations: 306.7 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.2187, allocations: 0.5072 MB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.2188, allocations: 7.984 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.2191, allocations: 267.6 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.2193, allocations: 147.6 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.289e-05/0.2194, allocations: 32 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.2195, allocations: 24 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2196, allocations: 111.7 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.2198, allocations: 187 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.2201, allocations: 426.3 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2201, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2201, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.2201, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 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.00104/0.2212, allocations: 0.8664 MB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2212, allocations: 12.03 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.2213, allocations: 46.67 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.2214, allocations: 48.47 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.2217, allocations: 302.3 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.2218, allocations: 16.36 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.2219, allocations: 32.36 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/0.2228, allocations: 217.9 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2228, allocations: 7.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.2229, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2229, allocations: 4 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.2236, allocations: 95.92 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.224, allocations: 389.2 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.225, allocations: 178.5 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007535/0.2258, allocations: 112.8 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.2258, allocations: 4 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009026/0.2267, allocations: 233.5 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.2267, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002481/0.2292, allocations: 480.9 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.2293, allocations: 67.38 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.2296, allocations: 405.9 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.2297, allocations: 45.69 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.2297, allocations: 89.45 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.2298, allocations: 39.52 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.2299, allocations: 125.3 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.23, allocations: 326.8 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.2303, allocations: 115.9 kB / 1.096 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.2305, allocations: 174.9 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.2309, allocations: 274.8 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.2309, allocations: 4 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000717/0.2316, allocations: 0.4904 MB / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.2317, allocations: 91.31 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2317, allocations: 3.938 kB / 1.097 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2317, allocations: 4 kB / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2319, allocations: 23.92 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2319, allocations: 0 / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.2323, allocations: 60.05 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.2324, allocations: 63.97 kB / 1.097 GB, free: 8.195 MB / 0.8575 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.0001888/0.2326, allocations: 195.9 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.2327, allocations: 39.47 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.35e-05/0.2327, allocations: 43.75 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2327, allocations: 3.984 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2328, allocations: 4 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2328, allocations: 0 / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.2349, allocations: 0.7545 MB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2349, allocations: 4 kB / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.235, allocations: 4 kB / 1.098 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.235, allocations: 3.984 kB / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.235, allocations: 15.98 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.235, allocations: 4 kB / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.235, allocations: 0 / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.2367, allocations: 471.2 kB / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.237, allocations: 208.4 kB / 1.098 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.237, allocations: 11.98 kB / 1.098 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/0.2375, allocations: 31.97 kB / 1.098 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2376, allocations: 15.92 kB / 1.098 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-05/0.2376, allocations: 55.98 kB / 1.098 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002425/0.2379, allocations: 295.1 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2379, allocations: 0 / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003236/0.2382, allocations: 67.98 kB / 1.099 GB, free: 5.887 MB / 0.8575 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.001939/0.2402, allocations: 1.027 MB / 1.1 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.2413, allocations: 434.5 kB / 1.1 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2414, allocations: 0 / 1.1 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.2421, allocations: 123.8 kB / 1.1 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.2425, allocations: 23.27 kB / 1.1 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.2461, allocations: 2.794 MB / 1.103 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.2464, allocations: 0.7669 MB / 1.104 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.482e-05/0.2464, allocations: 17.08 kB / 1.104 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.2465, allocations: 23.42 kB / 1.104 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.2465, allocations: 0 / 1.104 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.449/2.695, allocations: 6.108 MB / 1.11 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/13.85, allocations: 4.125 kB / 1.11 GB, free: 10.38 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)