Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001197/0.001197, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.213/1.213, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.264/2.264, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 71.83 kB / 0.8687 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.5, allocations: 151.6 MB / 1.017 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002375/0.5024, allocations: 1.59 MB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.5035, allocations: 0.5775 MB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.5035, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.783e-05/0.5036, allocations: 3.938 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.5037, allocations: 27.91 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000582/0.5043, allocations: 288.7 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.5047, allocations: 447.4 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.5047, allocations: 7.984 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.5051, allocations: 303 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.5053, allocations: 171.1 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.372e-05/0.5054, allocations: 16 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.5055, allocations: 16 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.5056, allocations: 111.6 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.5058, allocations: 182.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.5062, allocations: 416.9 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.5062, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5062, allocations: 3.938 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.5062, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 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.001048/0.5072, allocations: 0.8743 MB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.5073, allocations: 8.031 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.5073, allocations: 42.73 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.5075, allocations: 52.41 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.5078, allocations: 306.2 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.5078, allocations: 16.36 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.5079, allocations: 36.3 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.5089, allocations: 210 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5089, allocations: 3.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.5089, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5089, allocations: 7.984 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/0.5097, allocations: 95.92 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.5101, allocations: 385.2 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.5112, allocations: 178.4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007727/0.512, allocations: 121.7 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.512, allocations: 7.984 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009251/0.5129, allocations: 224.6 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.5129, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002618/0.5156, allocations: 480.9 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.5156, allocations: 59.41 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.516, allocations: 421.8 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.516, allocations: 37.7 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.5161, allocations: 97.44 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.5161, allocations: 35.55 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.5163, allocations: 129.3 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.5164, allocations: 318.8 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.5167, allocations: 127.9 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.517, allocations: 173.9 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.5173, allocations: 283.3 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5173, allocations: 0 / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007727/0.5181, allocations: 488.6 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/0.5182, allocations: 91.3 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5182, allocations: 4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.5182, allocations: 0 / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.5184, allocations: 27.92 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.5184, allocations: 4.188 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.5189, allocations: 63.73 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/0.519, allocations: 63.97 kB / 1.026 GB, free: 9.125 MB / 0.7794 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.0001942/0.5192, allocations: 196.5 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.5193, allocations: 43.41 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.5193, allocations: 43.73 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5193, allocations: 8 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5193, allocations: 0 / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5193, allocations: 0 / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.5215, allocations: 0.7489 MB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5215, allocations: 0 / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.5216, allocations: 7.984 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5216, allocations: 0 / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.5216, allocations: 19.98 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5216, allocations: 0 / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5216, allocations: 0 / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.5235, allocations: 479.7 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.5237, allocations: 196.5 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.5238, allocations: 15.98 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.5243, allocations: 31.97 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.5243, allocations: 7.984 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/0.5244, allocations: 55.98 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002503/0.5247, allocations: 299 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5247, allocations: 0 / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003251/0.525, allocations: 67.98 kB / 1.028 GB, free: 6.832 MB / 0.7794 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.002064/0.5271, allocations: 1.029 MB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.5283, allocations: 442.5 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.5283, allocations: 0 / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008185/0.5291, allocations: 119.8 kB / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.5295, allocations: 28.39 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.5334, allocations: 2.888 MB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.5337, allocations: 0.7787 MB / 1.033 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.988e-05/0.5337, allocations: 17.08 kB / 1.033 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.5338, allocations: 27.42 kB / 1.033 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5338, allocations: 0 / 1.033 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.819/2.353, allocations: 6.011 MB / 1.039 GB, free: 11.3 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/2.353, allocations: 209.7 kB / 1.039 GB, free: 11.04 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/4.055, allocations: 0 / 1.039 GB, free: 11.04 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)