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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001356/0.001356, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 198 kB / 16.54 MB, free: 6.672 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6063/0.6077, allocations: 151.6 MB / 1.017 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002823/0.6105, allocations: 1.517 MB / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.6118, allocations: 0.5437 MB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.6119, allocations: 0 / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.136e-05/0.612, allocations: 7.875 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.6121, allocations: 27.84 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.6128, allocations: 312.7 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.6132, allocations: 0.4994 MB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.6133, allocations: 7.984 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.6136, allocations: 271.6 kB / 1.021 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.6138, allocations: 131.6 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.874e-05/0.6139, allocations: 28 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.614, allocations: 28 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.6142, allocations: 119.7 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.6144, allocations: 191 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.6148, allocations: 417 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6148, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6148, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.6148, allocations: 0 / 1.021 GB, free: 14.55 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.001124/0.6159, allocations: 0.8703 MB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.616, allocations: 12.03 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.616, allocations: 34.73 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.6161, allocations: 56.47 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.6165, allocations: 318.1 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.6165, allocations: 16.36 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.901e-05/0.6166, allocations: 28.36 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009824/0.6176, allocations: 210.9 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.6176, allocations: 3.938 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.6177, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6177, allocations: 4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/0.6185, allocations: 99.91 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.6189, allocations: 397.2 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.62, allocations: 178.4 kB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007572/0.6207, allocations: 104.8 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.6208, allocations: 11.92 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009284/0.6217, allocations: 225 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.6217, allocations: 0 / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002518/0.6242, allocations: 488.8 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.6243, allocations: 67.39 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.6247, allocations: 413.8 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.6247, allocations: 37.7 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.6248, allocations: 97.44 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.6248, allocations: 43.48 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.625, allocations: 125.3 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.6251, allocations: 322.8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.6254, allocations: 127.9 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.6257, allocations: 169.9 kB / 1.026 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.626, allocations: 275 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6261, allocations: 0 / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007901/0.6269, allocations: 496.6 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.6269, allocations: 91.31 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.627, allocations: 0 / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.627, allocations: 4 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.6272, allocations: 31.91 kB / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6272, allocations: 0 / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/0.6277, allocations: 67.97 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.6278, allocations: 63.95 kB / 1.027 GB, free: 8.812 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.0002092/0.628, allocations: 192.8 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.6281, allocations: 43.41 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.336e-05/0.6282, allocations: 39.75 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6282, allocations: 4 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6282, allocations: 7.984 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6282, allocations: 0 / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.6304, allocations: 0.7379 MB / 1.028 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6304, allocations: 8 kB / 1.028 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.449e-05/0.6305, allocations: 0 / 1.028 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.6305, allocations: 4 kB / 1.028 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.6305, allocations: 19.97 kB / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6305, allocations: 0 / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6305, allocations: 0 / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.6323, allocations: 488.5 kB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.6325, allocations: 192.5 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.6326, allocations: 15.98 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.6331, allocations: 35.95 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.6332, allocations: 7.984 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.6332, allocations: 63.92 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002696/0.6335, allocations: 295.1 kB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6335, allocations: 0 / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003579/0.6339, allocations: 63.98 kB / 1.029 GB, free: 6.527 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.002053/0.6359, allocations: 1.024 MB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.6372, allocations: 447.1 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6373, allocations: 0 / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007832/0.638, allocations: 120.7 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.6384, allocations: 31.78 kB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.6424, allocations: 2.778 MB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.6427, allocations: 0.7782 MB / 1.034 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.063e-05/0.6428, allocations: 13.08 kB / 1.034 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.6428, allocations: 27.42 kB / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6428, allocations: 4 kB / 1.034 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.6659, allocations: 6.124 MB / 1.04 GB, free: 10.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/7.953, allocations: 0 / 1.04 GB, free: 10.96 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)