Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",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.001535/0.001535, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 69.23 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3256, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003868/0.3295, allocations: 1.732 MB / 1.055 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.331, allocations: 0.6424 MB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-05/0.3311, allocations: 4 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.3312, allocations: 7.875 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.3314, allocations: 35.78 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.3323, allocations: 358.6 kB / 1.056 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007185/0.3331, allocations: 0.6321 MB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3332, allocations: 33.09 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.3337, allocations: 311.6 kB / 1.057 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.334, allocations: 151.5 kB / 1.057 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.3342, allocations: 43.94 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.3343, allocations: 40 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.3345, allocations: 127.6 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.3347, allocations: 215 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006568/0.3354, allocations: 0.5962 MB / 1.058 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3354, allocations: 4 kB / 1.058 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3354, allocations: 0 / 1.058 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.3354, allocations: 4 kB / 1.058 GB, free: 3.383 MB / 0.8106 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.001499/0.3369, allocations: 0.9053 MB / 1.059 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.337, allocations: 8.625 kB / 1.059 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.3371, allocations: 46.67 kB / 1.059 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.3372, allocations: 52.47 kB / 1.059 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.3376, allocations: 334.2 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.3377, allocations: 24.55 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.951e-05/0.3378, allocations: 32.36 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.3389, allocations: 233.7 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.339, allocations: 0 / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.339, allocations: 4 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.339, allocations: 0 / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008676/0.3399, allocations: 123.8 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.3413, allocations: 0.6719 MB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3424, allocations: 186.5 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007999/0.3432, allocations: 112.8 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3432, allocations: 8 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.3442, allocations: 229.1 kB / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.3443, allocations: 0 / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002792/0.3471, allocations: 492.9 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.3471, allocations: 71.38 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/0.3477, allocations: 445.8 kB / 1.062 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-05/0.3478, allocations: 41.69 kB / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.348, allocations: 97.36 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.348, allocations: 43.48 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.3483, allocations: 141.3 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3485, allocations: 326.8 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.3488, allocations: 139.9 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.3491, allocations: 207.9 kB / 1.063 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.3496, allocations: 291.4 kB / 1.063 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3496, allocations: 4 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009459/0.3505, allocations: 0.5282 MB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.3507, allocations: 99.38 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3507, allocations: 0 / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.3507, allocations: 7.938 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.3509, allocations: 27.91 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3509, allocations: 192 / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.3515, allocations: 67.73 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3516, allocations: 59.98 kB / 1.064 GB, free: 13.06 MB / 0.8262 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.000293/0.3519, allocations: 216.3 kB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.352, allocations: 39.53 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.853e-05/0.3521, allocations: 43.8 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3521, allocations: 0 / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3521, allocations: 4 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.3521, allocations: 7.922 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.3545, allocations: 0.787 MB / 1.065 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3545, allocations: 0 / 1.065 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.3546, allocations: 7.984 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3546, allocations: 0 / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.3546, allocations: 27.91 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.3546, allocations: 0 / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3546, allocations: 0 / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.3565, allocations: 478.8 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.3568, allocations: 240.5 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.3569, allocations: 19.94 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.3574, allocations: 35.95 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.3575, allocations: 8 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.3575, allocations: 55.97 kB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003721/0.3579, allocations: 327 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3579, allocations: 0 / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003888/0.3583, allocations: 64 kB / 1.066 GB, free: 10.63 MB / 0.8262 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.002309/0.3606, allocations: 1.047 MB / 1.067 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.3621, allocations: 490.7 kB / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3621, allocations: 0 / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008628/0.363, allocations: 119.9 kB / 1.067 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.3635, allocations: 38.69 kB / 1.067 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005019/0.3685, allocations: 2.999 MB / 1.07 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.369, allocations: 0.7941 MB / 1.071 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.713e-05/0.3691, allocations: 17.42 kB / 1.071 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.3692, allocations: 27.42 kB / 1.071 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of SimCode: time 8.82e-07/0.3692, allocations: 0 / 1.071 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.3963, allocations: 6.714 MB / 1.078 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.703, allocations: 21.45 kB / 1.078 GB, free: 14.2 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)