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.004588/0.004588, allocations: 99.86 kB / 15.73 MB, free: 5.555 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.001178/0.001178, allocations: 195 kB / 16.67 MB, free: 5.48 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.325/2.325, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 71.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7231/0.7249, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002379/0.7273, allocations: 1.522 MB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.7285, allocations: 0.5486 MB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.7285, allocations: 0 / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.392e-05/0.7286, allocations: 7.875 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.7287, allocations: 31.62 kB / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.7294, allocations: 306.2 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.7299, allocations: 0.511 MB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.73, allocations: 8 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.7303, allocations: 267.6 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.7306, allocations: 139.7 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.955e-05/0.7307, allocations: 31.98 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.619e-05/0.7308, allocations: 24 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.7309, allocations: 119.6 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.7311, allocations: 183.1 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.7316, allocations: 426.2 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7316, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.946e-06/0.7316, allocations: 7.984 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.7316, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 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.001151/0.7327, allocations: 0.882 MB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.7328, allocations: 8.922 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.7328, allocations: 46.72 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.957e-05/0.7329, allocations: 48.7 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.7333, allocations: 310.6 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/0.7333, allocations: 20.36 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.7334, allocations: 24.38 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008974/0.7343, allocations: 217.9 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7343, allocations: 3.938 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.7344, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.7344, allocations: 0 / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.7351, allocations: 103.9 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.7355, allocations: 385.2 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009771/0.7365, allocations: 174.5 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/0.7372, allocations: 116.8 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.7372, allocations: 4 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008637/0.7381, allocations: 231 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.7381, allocations: 3.938 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002355/0.7405, allocations: 487.6 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.7405, allocations: 67.38 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.7409, allocations: 405.9 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.741, allocations: 41.69 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.7411, allocations: 97.44 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.7411, allocations: 35.7 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.7413, allocations: 129.5 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.7415, allocations: 322.8 kB / 1.174 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.7417, allocations: 115.9 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.742, allocations: 178.4 kB / 1.174 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.7424, allocations: 275.8 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7424, allocations: 0 / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007731/0.7432, allocations: 492.6 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.046e-05/0.7432, allocations: 95.5 kB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7433, allocations: 4 kB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.7433, allocations: 0 / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.7434, allocations: 31.92 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.7434, allocations: 4 kB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.7439, allocations: 51.86 kB / 1.175 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.744, allocations: 67.95 kB / 1.175 GB, free: 9.887 MB / 0.9044 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.000214/0.7442, allocations: 199.9 kB / 1.176 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.7443, allocations: 43.64 kB / 1.176 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.87e-05/0.7443, allocations: 43.73 kB / 1.176 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.7443, allocations: 7.984 kB / 1.176 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7443, allocations: 0 / 1.176 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7444, allocations: 0 / 1.176 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.7464, allocations: 0.7404 MB / 1.176 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7464, allocations: 4 kB / 1.176 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.7465, allocations: 3.984 kB / 1.176 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7465, allocations: 4 kB / 1.176 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.7465, allocations: 15.98 kB / 1.176 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7465, allocations: 0 / 1.176 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7465, allocations: 7.984 kB / 1.176 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.7481, allocations: 471.5 kB / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.7484, allocations: 208.6 kB / 1.177 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.7485, allocations: 15.98 kB / 1.177 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.7489, allocations: 31.97 kB / 1.177 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.7489, allocations: 7.984 kB / 1.177 GB, free: 8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/0.749, allocations: 55.97 kB / 1.177 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002923/0.7493, allocations: 303 kB / 1.178 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7493, allocations: 0 / 1.178 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000304/0.7496, allocations: 63.94 kB / 1.178 GB, free: 7.59 MB / 0.9044 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.001981/0.7516, allocations: 1.023 MB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.7528, allocations: 440.9 kB / 1.179 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7528, allocations: 0 / 1.179 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007203/0.7535, allocations: 132.2 kB / 1.179 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.7539, allocations: 22.3 kB / 1.179 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.7578, allocations: 2.79 MB / 1.182 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.7582, allocations: 0.7708 MB / 1.183 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.792e-05/0.7583, allocations: 17.08 kB / 1.183 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/0.7583, allocations: 23.42 kB / 1.183 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.7583, allocations: 0 / 1.183 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.052/6.811, allocations: 6.135 MB / 1.189 GB, free: 12.04 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/17.87, allocations: 4 kB / 1.189 GB, free: 12.04 MB / 0.92 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=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)