Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_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_latest_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.001226/0.001226, 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.001222/0.001222, allocations: 190.6 kB / 16.25 MB, free: 6.59 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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.556/2.556, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.11 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3049, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002883/0.3078, allocations: 1.793 MB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3091, allocations: 0.6337 MB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.3092, allocations: 4 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.3093, allocations: 3.938 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.3095, allocations: 31.84 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008612/0.3104, allocations: 346.6 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006452/0.311, allocations: 0.636 MB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3111, allocations: 33.09 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004834/0.3116, allocations: 374.9 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.3119, allocations: 183.1 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.841e-05/0.312, allocations: 40 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.018e-05/0.3121, allocations: 40 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.3122, allocations: 131.6 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.3125, allocations: 234.7 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.313, allocations: 0.5999 MB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.662e-05/0.313, allocations: 0 / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.209e-06/0.313, allocations: 0 / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.3131, allocations: 3.938 kB / 1.057 GB, free: 3.559 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.001427/0.3145, allocations: 0.9092 MB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3145, allocations: 8.625 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.166e-05/0.3146, allocations: 42.73 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.3147, allocations: 52.47 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.3151, allocations: 330.2 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.31e-05/0.3152, allocations: 20.55 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.3153, allocations: 32.36 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/0.3163, allocations: 242.9 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3163, allocations: 0 / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.3163, allocations: 0 / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3163, allocations: 8 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008087/0.3171, allocations: 111.9 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.3184, allocations: 0.6836 MB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.3194, allocations: 182.5 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007504/0.3202, allocations: 117 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3202, allocations: 8 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009786/0.3212, allocations: 223.2 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.3212, allocations: 0 / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002515/0.3237, allocations: 499 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3238, allocations: 67.39 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.3242, allocations: 445.8 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.3242, allocations: 37.7 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.3243, allocations: 105.3 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.3244, allocations: 43.53 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.3246, allocations: 137.3 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3247, allocations: 330.7 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.325, allocations: 139.9 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.3253, allocations: 196 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.3257, allocations: 302.8 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3257, allocations: 0 / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008728/0.3266, allocations: 0.5216 MB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.913e-05/0.3267, allocations: 99.38 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3267, allocations: 3.938 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3267, allocations: 4.188 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3269, allocations: 23.97 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3269, allocations: 4 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.3274, allocations: 71.61 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/0.3275, allocations: 59.98 kB / 1.063 GB, free: 13.24 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.0002326/0.3277, allocations: 216.4 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.3278, allocations: 35.53 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.3278, allocations: 43.8 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3279, allocations: 0 / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3279, allocations: 0 / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3279, allocations: 7.922 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.33, allocations: 0.7832 MB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.33, allocations: 4 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.33, allocations: 3.984 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.33, allocations: 4 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.3301, allocations: 23.92 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3301, allocations: 7.922 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3301, allocations: 0 / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.3317, allocations: 477.6 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.332, allocations: 244.5 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.3321, allocations: 19.94 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.3326, allocations: 35.95 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.3326, allocations: 8 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/0.3327, allocations: 55.97 kB / 1.065 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002809/0.3329, allocations: 319.1 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.933e-06/0.333, allocations: 0 / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003608/0.3333, allocations: 71.92 kB / 1.065 GB, free: 10.81 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.001992/0.3353, allocations: 1.056 MB / 1.067 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.3365, allocations: 478.4 kB / 1.067 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3366, allocations: 0 / 1.067 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000759/0.3373, allocations: 128.2 kB / 1.067 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.3377, allocations: 39.58 kB / 1.067 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.342, allocations: 3.104 MB / 1.07 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3423, allocations: 0.7903 MB / 1.071 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.985e-05/0.3424, allocations: 17.42 kB / 1.071 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.3424, allocations: 27.42 kB / 1.071 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3424, allocations: 0 / 1.071 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2194/0.5619, allocations: 6.811 MB / 1.078 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.5621, allocations: 251.6 kB / 1.078 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.247, allocations: 0 / 1.078 GB, free: 13.96 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)