Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.003712/0.003712, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.0009189/0.0009189, allocations: 194.2 kB / 16.67 MB, free: 5.918 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.145/1.145, 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 9.1.3-maint.9.1.x/package.mo): time 1.914/1.914, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 71.91 kB / 0.9505 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6603/0.6614, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002129/0.6635, allocations: 1.744 MB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.6646, allocations: 0.6211 MB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.6646, allocations: 0 / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.538e-05/0.6647, allocations: 15.69 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.6648, allocations: 38.92 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.6655, allocations: 362.6 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.666, allocations: 0.6358 MB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.666, allocations: 26.69 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.6664, allocations: 313.3 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.6666, allocations: 156.2 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.82e-05/0.6667, allocations: 40.31 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.792e-05/0.6668, allocations: 41.47 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.6669, allocations: 128 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.6671, allocations: 216.9 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.6676, allocations: 0.5937 MB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.6676, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.113e-06/0.6676, allocations: 0.7188 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.6676, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 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.0009831/0.6686, allocations: 0.9045 MB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.6686, allocations: 13.5 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.6687, allocations: 41.42 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.6688, allocations: 57.03 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.6691, allocations: 336.9 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.6692, allocations: 19.2 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.6693, allocations: 35.61 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009775/0.6703, allocations: 239.1 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6703, allocations: 4.75 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.6703, allocations: 2.656 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.6703, allocations: 1.812 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007833/0.6711, allocations: 113 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.6723, allocations: 0.6763 MB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.6734, allocations: 185.6 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/0.6742, allocations: 118 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.6742, allocations: 3.578 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000912/0.6751, allocations: 233.3 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.6751, allocations: 0 / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002527/0.6777, allocations: 0.4929 MB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.6777, allocations: 57.53 kB / 1.096 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.6781, allocations: 440.5 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.6781, allocations: 43.39 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.6782, allocations: 101.9 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.6782, allocations: 37 kB / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.6784, allocations: 132.9 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.6785, allocations: 331 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.6788, allocations: 142.5 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.6791, allocations: 188.1 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.6795, allocations: 311.7 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6795, allocations: 0 / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008047/0.6803, allocations: 0.5125 MB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.49e-05/0.6804, allocations: 102.4 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.6804, allocations: 2.219 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.6804, allocations: 2.703 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.6805, allocations: 23.61 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.6805, allocations: 3.594 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.681, allocations: 55.08 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/0.6811, allocations: 65.62 kB / 1.098 GB, free: 15.03 MB / 0.8731 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.0002118/0.6813, allocations: 221.5 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.6814, allocations: 37.95 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.6814, allocations: 42.45 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6814, allocations: 2.188 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6815, allocations: 0 / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6815, allocations: 2.469 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.6837, allocations: 0.7922 MB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6837, allocations: 1.375 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.6837, allocations: 4.469 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.6837, allocations: 2.016 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.6838, allocations: 33.22 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.6838, allocations: 1.844 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6838, allocations: 4 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.6855, allocations: 475.4 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.6859, allocations: 250.1 kB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.397e-05/0.6859, allocations: 19.92 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.6864, allocations: 29.59 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.6865, allocations: 11.44 kB / 1.1 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.6865, allocations: 55.86 kB / 1.1 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002994/0.6868, allocations: 319.2 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6868, allocations: 0 / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003674/0.6872, allocations: 67.31 kB / 1.1 GB, free: 13.84 MB / 0.8731 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.002087/0.6893, allocations: 1.052 MB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.6905, allocations: 472.6 kB / 1.102 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6906, allocations: 0 / 1.102 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000767/0.6913, allocations: 122.7 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.6917, allocations: 43.47 kB / 1.102 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.6956, allocations: 3.011 MB / 1.105 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.6959, allocations: 0.7881 MB / 1.106 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.602e-05/0.696, allocations: 16.16 kB / 1.106 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.6961, allocations: 34.06 kB / 1.106 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.6961, allocations: 0 / 1.106 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/0.8313, allocations: 6.714 MB / 1.112 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.893, allocations: 12.98 kB / 1.112 GB, free: 8.855 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)