Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.001077/0.001077, 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.001092/0.001092, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.349/2.349, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 0.8686 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5353, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002562/0.5379, allocations: 1.59 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.5391, allocations: 0.5832 MB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.5392, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.5393, allocations: 7.938 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.5394, allocations: 27.86 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.5401, allocations: 280.7 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.5405, allocations: 447.4 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.5405, allocations: 7.984 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.5409, allocations: 311 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.5412, allocations: 167.2 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.5413, allocations: 16 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.5414, allocations: 12 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.5415, allocations: 115.6 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.5418, allocations: 182.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.5422, allocations: 420.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5422, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5422, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.5422, allocations: 0 / 1.021 GB, free: 14.61 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.001149/0.5433, allocations: 0.8704 MB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.5434, allocations: 8.031 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.295e-05/0.5434, allocations: 38.75 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.5436, allocations: 60.39 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.5439, allocations: 306.2 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.544, allocations: 20.31 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.544, allocations: 28.36 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009936/0.545, allocations: 218 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5451, allocations: 3.938 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.5451, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5451, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.5459, allocations: 95.92 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.5463, allocations: 393.2 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.5473, allocations: 186.3 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007538/0.5481, allocations: 112.8 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.5481, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009171/0.549, allocations: 225.5 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.5491, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002521/0.5516, allocations: 477 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5516, allocations: 67.33 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.552, allocations: 413.8 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.5521, allocations: 41.69 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.5521, allocations: 93.45 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.5522, allocations: 43.53 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.5524, allocations: 129.3 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.5525, allocations: 322.8 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.5527, allocations: 123.9 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.553, allocations: 165.9 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.5534, allocations: 287.5 kB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5534, allocations: 0 / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007615/0.5541, allocations: 492.6 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.379e-05/0.5542, allocations: 87.31 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5542, allocations: 0 / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5543, allocations: 4 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.5544, allocations: 28.11 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.5544, allocations: 7.984 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.5549, allocations: 63.73 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.555, allocations: 55.98 kB / 1.026 GB, free: 8.883 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.0002029/0.5552, allocations: 202 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.5553, allocations: 47.45 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.5554, allocations: 35.75 kB / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5554, allocations: 0 / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5554, allocations: 4 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.5554, allocations: 0 / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.5575, allocations: 0.7483 MB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5575, allocations: 4 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.5575, allocations: 7.938 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5575, allocations: 4 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.5576, allocations: 19.97 kB / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5576, allocations: 4 kB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5576, allocations: 0 / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.5593, allocations: 476.3 kB / 1.027 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.5596, allocations: 196.5 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.5596, allocations: 12 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.5601, allocations: 32.84 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.5602, allocations: 7.984 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.5602, allocations: 63.97 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002472/0.5605, allocations: 299 kB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5605, allocations: 0 / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003222/0.5608, allocations: 63.98 kB / 1.028 GB, free: 6.586 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.001984/0.5628, allocations: 1.026 MB / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.564, allocations: 443.5 kB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.564, allocations: 0 / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007459/0.5648, allocations: 116.2 kB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.5651, allocations: 30.53 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.5688, allocations: 2.89 MB / 1.033 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.5691, allocations: 0.7826 MB / 1.033 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.778e-05/0.5692, allocations: 13.09 kB / 1.033 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.5692, allocations: 19.42 kB / 1.033 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.5692, allocations: 0 / 1.033 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.74/3.31, allocations: 6.012 MB / 1.039 GB, free: 11.05 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/3.31, allocations: 200.1 kB / 1.039 GB, free: 10.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/5.252, allocations: 4 kB / 1.039 GB, free: 10.8 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)