Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_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.001523/0.001523, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001594/0.001594, allocations: 189 kB / 16.25 MB, free: 6.633 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.499/2.499, allocations: 437 MB / 0.7101 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6692/0.6707, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002599/0.6733, allocations: 1.798 MB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.6744, allocations: 0.626 MB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.6745, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.725e-05/0.6746, allocations: 11.94 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.6747, allocations: 31.78 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007353/0.6755, allocations: 339.5 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.676, allocations: 0.636 MB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.6761, allocations: 32.88 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.6766, allocations: 367.1 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.6769, allocations: 179.2 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.781e-05/0.677, allocations: 40 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.6771, allocations: 43.94 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.6772, allocations: 123.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.6774, allocations: 238.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.6779, allocations: 0.6018 MB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6779, allocations: 3.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.678, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.678, allocations: 0 / 1.022 GB, free: 13.66 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001198/0.6792, allocations: 0.9054 MB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.6792, allocations: 12.03 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.6793, allocations: 42.73 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.6794, allocations: 60.38 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.6798, allocations: 338.1 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/0.6798, allocations: 20.55 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.868e-05/0.6799, allocations: 32.36 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.681, allocations: 235.1 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.681, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.681, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.681, allocations: 8 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007864/0.6818, allocations: 115.8 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.683, allocations: 0.6837 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.6841, allocations: 178.5 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007529/0.6848, allocations: 116.8 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.6849, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009915/0.6859, allocations: 241.2 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.6859, allocations: 4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002634/0.6885, allocations: 488.9 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.6886, allocations: 67.39 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.689, allocations: 441.8 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/0.6891, allocations: 41.7 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.6892, allocations: 105.3 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.6893, allocations: 35.59 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.6895, allocations: 137.3 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6896, allocations: 330.8 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.6899, allocations: 143.9 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.6903, allocations: 193.9 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.6907, allocations: 303 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6907, allocations: 0 / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000873/0.6916, allocations: 0.5256 MB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/0.6917, allocations: 91.38 kB / 1.028 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6917, allocations: 4 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6917, allocations: 8.188 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.6919, allocations: 23.98 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.6919, allocations: 11.92 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.6924, allocations: 59.8 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/0.6925, allocations: 55.98 kB / 1.028 GB, free: 7.332 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002445/0.6927, allocations: 224.2 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.6928, allocations: 43.5 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/0.6929, allocations: 39.8 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.6929, allocations: 4 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6929, allocations: 0 / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6929, allocations: 3.938 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.695, allocations: 0.7853 MB / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.695, allocations: 0 / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.6951, allocations: 11.92 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6951, allocations: 4 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.6951, allocations: 15.92 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6952, allocations: 4 kB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6952, allocations: 0 / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.6968, allocations: 478.8 kB / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.6971, allocations: 248.3 kB / 1.03 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.6972, allocations: 23.94 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.6977, allocations: 27.97 kB / 1.03 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.6977, allocations: 11.98 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.6978, allocations: 59.97 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000276/0.6981, allocations: 315.1 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6981, allocations: 0 / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003491/0.6984, allocations: 71.98 kB / 1.03 GB, free: 4.891 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.001982/0.7004, allocations: 1.049 MB / 1.031 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.7017, allocations: 480.1 kB / 1.031 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7017, allocations: 0 / 1.031 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007661/0.7024, allocations: 132.2 kB / 1.032 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.7028, allocations: 36.31 kB / 1.032 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.707, allocations: 3.108 MB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.7074, allocations: 0.7979 MB / 1.035 GB, free: 15.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.877e-05/0.7075, allocations: 17.41 kB / 1.035 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.7075, allocations: 34.55 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.7075, allocations: 0 / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.7336, allocations: 6.815 MB / 1.042 GB, free: 8.305 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.7339, allocations: 231.5 kB / 1.042 GB, free: 8.047 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.464, allocations: 3.75 kB / 1.042 GB, free: 8.047 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)