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.0009348/0.000935, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006243/0.006243, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.52/2.52, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003608, allocations: 8.281 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6205/0.6209, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001435/0.6223, allocations: 1.239 MB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.6235, allocations: 0.5736 MB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.6236, allocations: 8 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.292e-05/0.6236, allocations: 3.938 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.6237, allocations: 27.84 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.6244, allocations: 279.5 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.6248, allocations: 451.4 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.6248, allocations: 4 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003774/0.6252, allocations: 307 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.6255, allocations: 163.2 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.6255, allocations: 12 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.064e-05/0.6256, allocations: 16 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.6257, allocations: 111.6 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.6259, allocations: 212.5 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.6263, allocations: 412.7 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.6263, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6263, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6263, allocations: 0 / 1.027 GB, free: 12.09 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.0009343/0.6273, allocations: 0.7576 MB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6273, allocations: 8.031 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.6274, allocations: 42.67 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.839e-05/0.6275, allocations: 52.47 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.6278, allocations: 314.3 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.6278, allocations: 12.38 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/0.6279, allocations: 32.34 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009681/0.6289, allocations: 225.5 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6289, allocations: 3.938 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.629, allocations: 8 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.629, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.6298, allocations: 111.9 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.6302, allocations: 393.2 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.6313, allocations: 198.3 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007881/0.6321, allocations: 120.8 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.6321, allocations: 4 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009486/0.6331, allocations: 235.1 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.6331, allocations: 0 / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.00259/0.6357, allocations: 0.5111 MB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.6357, allocations: 63.38 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.6361, allocations: 413.8 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.6362, allocations: 45.69 kB / 1.03 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.6363, allocations: 93.45 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.6363, allocations: 35.55 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.6364, allocations: 41.69 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.6365, allocations: 322.8 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.6368, allocations: 119.9 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.637, allocations: 173.9 kB / 1.031 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.6374, allocations: 270.8 kB / 1.031 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6374, allocations: 8 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007841/0.6382, allocations: 486.6 kB / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/0.6383, allocations: 97.19 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6383, allocations: 0 / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.6384, allocations: 4 kB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.6385, allocations: 27.91 kB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.6385, allocations: 4 kB / 1.032 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.6391, allocations: 79.86 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/0.6391, allocations: 55.98 kB / 1.032 GB, free: 6.461 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.0002117/0.6394, allocations: 190 kB / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.6394, allocations: 51.45 kB / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.984e-05/0.6395, allocations: 39.75 kB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.6395, allocations: 0 / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6395, allocations: 0 / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6395, allocations: 0 / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.6417, allocations: 0.7757 MB / 1.033 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6417, allocations: 0 / 1.033 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.6417, allocations: 8 kB / 1.033 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.6418, allocations: 0 / 1.033 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.6418, allocations: 23.97 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6418, allocations: 0 / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6418, allocations: 0 / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.6436, allocations: 0.4925 MB / 1.034 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.6438, allocations: 200.4 kB / 1.034 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.6439, allocations: 12 kB / 1.034 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.6444, allocations: 43.95 kB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.6444, allocations: 4 kB / 1.034 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/0.6445, allocations: 63.91 kB / 1.034 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002634/0.6447, allocations: 295.1 kB / 1.034 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6447, allocations: 4 kB / 1.034 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003453/0.6451, allocations: 67.98 kB / 1.034 GB, free: 4.109 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.002022/0.6471, allocations: 1.04 MB / 1.035 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.6484, allocations: 455.5 kB / 1.036 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6484, allocations: 0 / 1.036 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000799/0.6492, allocations: 137.1 kB / 1.036 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.6496, allocations: 25.55 kB / 1.036 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.6535, allocations: 2.896 MB / 1.039 GB, free: 15.39 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.6538, allocations: 0.7749 MB / 1.039 GB, free: 14.59 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.029e-05/0.6539, allocations: 17.08 kB / 1.039 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.654, allocations: 23.42 kB / 1.039 GB, free: 14.55 MB / 0.795 GB Notification: Performance of SimCode: time 3.5e-07/0.654, allocations: 0 / 1.039 GB, free: 14.55 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.6695, allocations: 5.92 MB / 1.045 GB, free: 8.656 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.6697, allocations: 209.5 kB / 1.045 GB, free: 8.402 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.395, allocations: 0 / 1.045 GB, free: 8.402 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)