Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_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.001059/0.001059, 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.001121/0.001121, allocations: 193.9 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.92 kB / 0.6709 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1976, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002366/0.2, allocations: 1.552 MB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008836/0.2009, allocations: 456.4 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.201, allocations: 0 / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.732e-05/0.2011, allocations: 7.922 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.55e-05/0.2012, allocations: 20.28 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.2017, allocations: 231.4 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.202, allocations: 303.8 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.202, allocations: 7.984 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.2023, allocations: 210.3 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2025, allocations: 127.6 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.2026, allocations: 12 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-05/0.2026, allocations: 8 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-05/0.2027, allocations: 75.78 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.2029, allocations: 123.3 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.2032, allocations: 295.3 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2032, allocations: 4 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2032, allocations: 0 / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.2032, allocations: 3.938 kB / 0.7861 GB, free: 10.5 MB / 0.6075 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.0009609/0.2042, allocations: 0.7382 MB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2042, allocations: 8.031 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.2043, allocations: 46.48 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.2044, allocations: 27.72 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.2047, allocations: 266.3 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.2047, allocations: 15.98 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.2048, allocations: 19.94 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/0.2057, allocations: 205.4 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2057, allocations: 0 / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.2058, allocations: 7.984 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2058, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007573/0.2065, allocations: 99.86 kB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.2069, allocations: 317.3 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.2079, allocations: 178.4 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007457/0.2087, allocations: 104.8 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2087, allocations: 0 / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009148/0.2096, allocations: 217.9 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.2096, allocations: 0 / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002431/0.2121, allocations: 453 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.2121, allocations: 59.39 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.2124, allocations: 290.9 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.2124, allocations: 37.7 kB / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.2125, allocations: 93.08 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.2125, allocations: 35.55 kB / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.2127, allocations: 113.4 kB / 0.7893 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.2128, allocations: 322.8 kB / 0.7896 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.213, allocations: 79.95 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.2132, allocations: 137.9 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.2135, allocations: 235.9 kB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2135, allocations: 0 / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005996/0.2141, allocations: 400.6 kB / 0.7904 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.2141, allocations: 75.39 kB / 0.7905 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2142, allocations: 4 kB / 0.7905 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2142, allocations: 0 / 0.7905 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.2143, allocations: 19.98 kB / 0.7905 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2144, allocations: 7.938 kB / 0.7905 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.2148, allocations: 63.98 kB / 0.7906 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.2149, allocations: 39.98 kB / 0.7906 GB, free: 5.508 MB / 0.6075 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.0001551/0.215, allocations: 179.2 kB / 0.7908 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.2151, allocations: 27.66 kB / 0.7908 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.2152, allocations: 26.3 kB / 0.7908 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2152, allocations: 4 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2152, allocations: 0 / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2152, allocations: 3.938 kB / 0.7909 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.2172, allocations: 0.6895 MB / 0.7915 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2172, allocations: 0 / 0.7915 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.2172, allocations: 4 kB / 0.7915 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2173, allocations: 11.88 kB / 0.7915 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.2173, allocations: 19.97 kB / 0.7916 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2173, allocations: 4 kB / 0.7916 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2173, allocations: 0 / 0.7916 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.219, allocations: 449.2 kB / 0.792 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.2191, allocations: 156.6 kB / 0.7921 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.2192, allocations: 16 kB / 0.7922 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.2197, allocations: 31.95 kB / 0.7922 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.2197, allocations: 7.984 kB / 0.7922 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.2198, allocations: 39.98 kB / 0.7922 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001698/0.22, allocations: 213.9 kB / 0.7924 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.22, allocations: 0 / 0.7924 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003058/0.2203, allocations: 48 kB / 0.7925 GB, free: 3.508 MB / 0.6075 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.001965/0.2223, allocations: 0.9931 MB / 0.7935 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.2234, allocations: 377.9 kB / 0.7938 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2234, allocations: 4.125 kB / 0.7938 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007241/0.2241, allocations: 111.9 kB / 0.7939 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.2245, allocations: 24.58 kB / 0.794 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.2277, allocations: 2.442 MB / 0.7963 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.228, allocations: 0.7408 MB / 0.7971 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.632e-05/0.228, allocations: 13.08 kB / 0.7971 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.2281, allocations: 23.42 kB / 0.7971 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2281, allocations: 0 / 0.7971 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.2424, allocations: 4.634 MB / 0.8016 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.2426, allocations: 213.1 kB / 0.8018 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.99, allocations: 3.938 kB / 0.8018 GB, free: 9.805 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)