Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 249.5 MB / 257 MB, free: 6.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001195, allocations: 184.4 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007623/0.0007623, allocations: 96.66 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.661e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2061, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7413/0.9475, allocations: 133.8 MB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.9478, allocations: 78.2 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01472/0.9625, allocations: 4.426 MB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9626, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.9626, allocations: 8 kB / 1.02 GB, free: 15.79 MB / 0.6511 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.0008641/0.9635, allocations: 0.581 MB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.9635, allocations: 8.031 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.9637, allocations: 39.61 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.964, allocations: 251.4 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.964, allocations: 4 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.9641, allocations: 19.5 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001275/0.9642, allocations: 36.73 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.9645, allocations: 142.2 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.9645, allocations: 4.844 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.9645, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.9645, allocations: 8 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.9649, allocations: 307.3 kB / 1.022 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.9651, allocations: 112.9 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.9652, allocations: 52.78 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.9652, allocations: 4 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003897/0.9656, allocations: 205.1 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.236e-06/0.9656, allocations: 7.938 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004397/0.9661, allocations: 210.2 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.9661, allocations: 66.77 kB / 1.022 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.9664, allocations: 241.6 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.9665, allocations: 33.33 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.9666, allocations: 93.44 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.9666, allocations: 42.12 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.9667, allocations: 7.938 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9668, allocations: 322.3 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.967, allocations: 85.72 kB / 1.023 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.9672, allocations: 139.5 kB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.9673, allocations: 73.77 kB / 1.023 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9673, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005353/0.9679, allocations: 317.1 kB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/0.968, allocations: 75.58 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.968, allocations: 0 / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.968, allocations: 4 kB / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.9682, allocations: 27.91 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.9682, allocations: 4 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.9685, allocations: 48 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/0.9686, allocations: 55.73 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.9688, allocations: 122.5 kB / 1.024 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002915/0.9691, allocations: 213.1 kB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.9691, allocations: 30.97 kB / 1.024 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.9692, allocations: 25.28 kB / 1.024 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.9692, allocations: 4 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9692, allocations: 3.938 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9692, allocations: 0 / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.9699, allocations: 0.5172 MB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9699, allocations: 0 / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.9699, allocations: 8 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.9699, allocations: 3.938 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.97, allocations: 22.66 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.97, allocations: 0 / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.97, allocations: 3.938 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.9703, allocations: 305.7 kB / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.9705, allocations: 150.1 kB / 1.025 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.9706, allocations: 11.23 kB / 1.025 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.9707, allocations: 4 kB / 1.025 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.9708, allocations: 31.33 kB / 1.025 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.9708, allocations: 23.98 kB / 1.025 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001668/0.971, allocations: 198.5 kB / 1.025 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.971, allocations: 3.938 kB / 1.025 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003105/0.9713, allocations: 44 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007005/0.972, allocations: 0.8642 MB / 1.026 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.9725, allocations: 332.3 kB / 1.027 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9725, allocations: 0 / 1.027 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.9726, allocations: 63.53 kB / 1.027 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.9729, allocations: 14.08 kB / 1.027 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.9736, allocations: 333.9 kB / 1.027 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.9741, allocations: 0.7461 MB / 1.028 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.9743, allocations: 37.22 kB / 1.028 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.9744, allocations: 48.91 kB / 1.028 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9744, allocations: 0 / 1.028 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/1, allocations: 4.943 MB / 1.033 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003958/1.001, allocations: 160.3 kB / 1.033 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.554, allocations: 4 kB / 1.033 GB, free: 3.305 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)