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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001706/0.001706, 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.002053/0.002053, allocations: 194 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.2 MB / 0.6643 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 55.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5778/0.5792, allocations: 140.4 MB / 0.949 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002147/0.5813, allocations: 1.581 MB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.5824, allocations: 0.59 MB / 0.9512 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.5824, allocations: 4 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.081e-05/0.5825, allocations: 5.094 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.5826, allocations: 27.56 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.5831, allocations: 278.3 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.5835, allocations: 451.8 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.5835, allocations: 13 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.5838, allocations: 304.2 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.584, allocations: 166.1 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.2e-05/0.5841, allocations: 13.34 kB / 0.9524 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.5842, allocations: 14.31 kB / 0.9524 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.5843, allocations: 111.8 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.5845, allocations: 183.7 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.5848, allocations: 416.9 kB / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.5848, allocations: 0 / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.92e-07/0.5849, allocations: 0 / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5849, allocations: 0 / 0.9531 GB, free: 6.309 MB / 0.7169 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.0009143/0.5858, allocations: 0.877 MB / 0.9539 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.5858, allocations: 9.406 kB / 0.9539 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.5859, allocations: 40.83 kB / 0.954 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.586, allocations: 50.16 kB / 0.954 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.5862, allocations: 310.3 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.5863, allocations: 18.78 kB / 0.9543 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.5864, allocations: 30.95 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.5874, allocations: 217.3 kB / 0.9546 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5874, allocations: 3.938 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.5874, allocations: 1.438 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5874, allocations: 1.469 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008041/0.5882, allocations: 97.42 kB / 0.9547 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.5886, allocations: 390.5 kB / 0.955 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.5897, allocations: 176.7 kB / 0.9552 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007907/0.5905, allocations: 115.6 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.5905, allocations: 2.188 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009382/0.5914, allocations: 220.3 kB / 0.9555 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.5914, allocations: 5.594 kB / 0.9555 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002577/0.594, allocations: 478.5 kB / 0.956 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.5941, allocations: 71.45 kB / 0.956 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.5945, allocations: 409.3 kB / 0.9564 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.5945, allocations: 42.44 kB / 0.9565 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.5946, allocations: 95.06 kB / 0.9566 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.5946, allocations: 41.83 kB / 0.9566 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.5948, allocations: 132.9 kB / 0.9567 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.5949, allocations: 320.5 kB / 0.957 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.5951, allocations: 129.5 kB / 0.9572 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.5954, allocations: 167 kB / 0.9573 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.5957, allocations: 283.2 kB / 0.9576 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5957, allocations: 5 kB / 0.9576 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007564/0.5965, allocations: 488 kB / 0.9581 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.5966, allocations: 88.22 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5966, allocations: 1.062 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5966, allocations: 8.219 kB / 0.9582 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.5968, allocations: 25.86 kB / 0.9582 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5968, allocations: 6.766 kB / 0.9582 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.5973, allocations: 65.8 kB / 0.9582 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/0.5974, allocations: 57.23 kB / 0.9583 GB, free: 2.457 MB / 0.7169 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.0001759/0.5975, allocations: 198.3 kB / 0.9585 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.5976, allocations: 47.41 kB / 0.9585 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.5977, allocations: 36.34 kB / 0.9586 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5977, allocations: 2.406 kB / 0.9586 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5977, allocations: 0 / 0.9586 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5977, allocations: 0 / 0.9586 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.5998, allocations: 0.7515 MB / 0.9593 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5998, allocations: 0 / 0.9593 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.5999, allocations: 4.031 kB / 0.9593 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5999, allocations: 0.9375 kB / 0.9593 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.5999, allocations: 23.62 kB / 0.9593 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5999, allocations: 1.375 kB / 0.9593 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5999, allocations: 0 / 0.9593 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.6016, allocations: 484.8 kB / 0.9598 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.6018, allocations: 195.2 kB / 0.96 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.6019, allocations: 16.19 kB / 0.96 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.6024, allocations: 32.95 kB / 0.96 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.6025, allocations: 3.438 kB / 0.96 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.741e-05/0.6025, allocations: 61.66 kB / 0.9601 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002316/0.6028, allocations: 294.9 kB / 0.9604 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6028, allocations: 0 / 0.9604 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003681/0.6031, allocations: 66.02 kB / 0.9604 GB, free: 1.047 MB / 0.7169 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.001972/0.6051, allocations: 1.023 MB / 0.9614 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.6064, allocations: 437.8 kB / 0.9619 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6064, allocations: 1.094 kB / 0.9619 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007885/0.6072, allocations: 124.4 kB / 0.962 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.6075, allocations: 29.2 kB / 0.962 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.6116, allocations: 2.895 MB / 0.9648 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.6119, allocations: 0.7714 MB / 0.9656 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.296e-05/0.612, allocations: 12.66 kB / 0.9656 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.612, allocations: 21.58 kB / 0.9656 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.612, allocations: 0 / 0.9656 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/0.6509, allocations: 6.021 MB / 0.9715 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.6511, allocations: 214.1 kB / 0.9717 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.35, allocations: 0 / 0.9717 GB, free: 9.438 MB / 0.7325 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)