Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_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.006433/0.006433, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001559/0.001559, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.171/2.171, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 65.89 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2012, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002008/0.2033, allocations: 1.526 MB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2043, allocations: 0.5442 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.2043, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.76e-05/0.2044, allocations: 11.88 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.2045, allocations: 27.77 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.2051, allocations: 310.8 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.2056, allocations: 0.5033 MB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.2056, allocations: 7.984 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.2059, allocations: 271.6 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.2061, allocations: 147.6 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.003e-05/0.2062, allocations: 28 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.2062, allocations: 28 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.2063, allocations: 115.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.2065, allocations: 183 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.2068, allocations: 429.7 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2068, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2068, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.2069, allocations: 0 / 1.091 GB, free: 13.94 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.0009742/0.2078, allocations: 0.8664 MB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.2079, allocations: 8.031 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.2079, allocations: 38.75 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/0.208, allocations: 52.45 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.2084, allocations: 298.4 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.2084, allocations: 20.36 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.2085, allocations: 28.36 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009001/0.2094, allocations: 217.9 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2094, allocations: 3.938 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.2094, allocations: 11.97 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2095, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.2102, allocations: 99.92 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.2106, allocations: 397.1 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009592/0.2115, allocations: 178.5 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/0.2122, allocations: 115.9 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.2123, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008524/0.2131, allocations: 227 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.2131, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002378/0.2155, allocations: 483.2 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2156, allocations: 59.41 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.2159, allocations: 413.9 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.2159, allocations: 41.7 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.216, allocations: 93.44 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.216, allocations: 39.5 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.2162, allocations: 133.2 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.2163, allocations: 322.8 kB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.2165, allocations: 119.9 kB / 1.096 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.2168, allocations: 178.9 kB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.2171, allocations: 279 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2171, allocations: 0 / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006993/0.2178, allocations: 486.5 kB / 1.096 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.2179, allocations: 91.31 kB / 1.097 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2179, allocations: 4 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2179, allocations: 0 / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.2181, allocations: 40.03 kB / 1.097 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2181, allocations: 8 kB / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.2185, allocations: 51.86 kB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.2186, allocations: 55.98 kB / 1.097 GB, free: 8.23 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.0001834/0.2188, allocations: 199.9 kB / 1.097 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.2189, allocations: 43.47 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.2189, allocations: 39.75 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2189, allocations: 4 kB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2189, allocations: 0 / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2189, allocations: 0 / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.221, allocations: 0.7521 MB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.221, allocations: 0 / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.221, allocations: 4 kB / 1.098 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.221, allocations: 0 / 1.098 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.2211, allocations: 23.97 kB / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2211, allocations: 0 / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2211, allocations: 0 / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.2227, allocations: 482.5 kB / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.2229, allocations: 196.4 kB / 1.098 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.223, allocations: 12 kB / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.2235, allocations: 43.89 kB / 1.098 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.2235, allocations: 7.938 kB / 1.098 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/0.2236, allocations: 59.97 kB / 1.098 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002327/0.2238, allocations: 295.1 kB / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2238, allocations: 0 / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003106/0.2241, allocations: 63.98 kB / 1.099 GB, free: 5.926 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.001863/0.226, allocations: 1.017 MB / 1.1 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.2271, allocations: 442.5 kB / 1.1 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2271, allocations: 4 kB / 1.1 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007325/0.2279, allocations: 115.9 kB / 1.1 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.2282, allocations: 32.81 kB / 1.1 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.2317, allocations: 2.784 MB / 1.103 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.2319, allocations: 0.7708 MB / 1.104 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.913e-05/0.232, allocations: 13.09 kB / 1.104 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.232, allocations: 27.42 kB / 1.104 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.2321, allocations: 0 / 1.104 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.211/3.443, allocations: 6.11 MB / 1.11 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/15.96, allocations: 15.97 kB / 1.11 GB, free: 10.4 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)