Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 168.9 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008423/0.0008422, allocations: 78.44 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003195, allocations: 9.719 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2086, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001694/0.2103, allocations: 1.218 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009715/0.2113, allocations: 435.3 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.2114, allocations: 0 / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.447e-05/0.2115, allocations: 11.94 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.2117, allocations: 24.28 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.2123, allocations: 219.9 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.2126, allocations: 291.8 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.2126, allocations: 8 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.2129, allocations: 210.3 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.2131, allocations: 123.6 kB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/0.2132, allocations: 12 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-05/0.2133, allocations: 8 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2134, allocations: 83.66 kB / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2136, allocations: 145.1 kB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.2138, allocations: 279.3 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2139, allocations: 0 / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2139, allocations: 0 / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.2139, allocations: 0 / 0.9039 GB, free: 60.36 MB / 0.6042 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.0009924/0.2149, allocations: 0.6142 MB / 0.9045 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.215, allocations: 8.031 kB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.215, allocations: 34.56 kB / 0.9045 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.18e-05/0.2151, allocations: 35.61 kB / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.2154, allocations: 262.2 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.2154, allocations: 15.98 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.2155, allocations: 16 kB / 0.9048 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2157, allocations: 157.5 kB / 0.905 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2158, allocations: 0 / 0.905 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.2158, allocations: 3.984 kB / 0.905 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2158, allocations: 0 / 0.905 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.2159, allocations: 43.98 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.2162, allocations: 305.4 kB / 0.9053 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.2165, allocations: 138.6 kB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.2166, allocations: 64.83 kB / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.2167, allocations: 0 / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/0.2171, allocations: 227.4 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.2171, allocations: 0 / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000505/0.2176, allocations: 267.7 kB / 0.906 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.2176, allocations: 59.39 kB / 0.906 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.2178, allocations: 290.9 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.2179, allocations: 41.7 kB / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.218, allocations: 89.08 kB / 0.9064 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.218, allocations: 55.36 kB / 0.9065 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.218, allocations: 8 kB / 0.9065 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.2181, allocations: 326.8 kB / 0.9068 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.2183, allocations: 92.17 kB / 0.9069 GB, free: 57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.2185, allocations: 142.4 kB / 0.907 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.2188, allocations: 244.5 kB / 0.9073 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2188, allocations: 7.938 kB / 0.9073 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006552/0.2195, allocations: 412.8 kB / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.2196, allocations: 75.39 kB / 0.9077 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2196, allocations: 4 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2196, allocations: 3.938 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2198, allocations: 27.91 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2198, allocations: 7.938 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.2203, allocations: 75.73 kB / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.2204, allocations: 59.92 kB / 0.9079 GB, free: 55.88 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001424/0.2205, allocations: 168 kB / 0.9081 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.2206, allocations: 23.72 kB / 0.9081 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.2206, allocations: 34.19 kB / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2206, allocations: 0 / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2206, allocations: 4 kB / 0.9081 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2206, allocations: 4 kB / 0.9081 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.2213, allocations: 0.5606 MB / 0.9087 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2213, allocations: 0 / 0.9087 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.2214, allocations: 12 kB / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2214, allocations: 0 / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.2214, allocations: 7.984 kB / 0.9087 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2214, allocations: 7.984 kB / 0.9087 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2214, allocations: 4 kB / 0.9087 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.2218, allocations: 329.5 kB / 0.909 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.2219, allocations: 152.7 kB / 0.9092 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.222, allocations: 8 kB / 0.9092 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.2222, allocations: 11.98 kB / 0.9092 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.2223, allocations: 19.97 kB / 0.9092 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.2223, allocations: 31.97 kB / 0.9092 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001311/0.2224, allocations: 209.9 kB / 0.9094 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2224, allocations: 0 / 0.9094 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000288/0.2227, allocations: 51.98 kB / 0.9095 GB, free: 54.17 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0005642/0.2233, allocations: 0.8681 MB / 0.9103 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.2238, allocations: 348.6 kB / 0.9107 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2238, allocations: 0 / 0.9107 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.2239, allocations: 71.91 kB / 0.9107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.2242, allocations: 24.62 kB / 0.9108 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.2265, allocations: 2.459 MB / 0.9132 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.2267, allocations: 0.7438 MB / 0.9139 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.2268, allocations: 33.44 kB / 0.9139 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.227, allocations: 51.41 kB / 0.914 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.227, allocations: 192 / 0.914 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.2414, allocations: 5.009 MB / 0.9189 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.2416, allocations: 222.7 kB / 0.9191 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.986, allocations: 5.812 kB / 0.9191 GB, free: 44.28 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)