Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",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.001098/0.001098, 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.001192/0.001192, allocations: 193.8 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 66.28 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3038, allocations: 157.4 MB / 1.053 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003197/0.307, allocations: 1.73 MB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3085, allocations: 0.644 MB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.693e-05/0.3086, allocations: 4 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.3087, allocations: 11.86 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.3089, allocations: 35.78 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.3098, allocations: 354.7 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006152/0.3104, allocations: 0.636 MB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3105, allocations: 29.11 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.311, allocations: 311.6 kB / 1.057 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.3113, allocations: 147.5 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.3114, allocations: 40 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3115, allocations: 40 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3117, allocations: 131.6 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.3119, allocations: 215 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00053/0.3125, allocations: 0.5962 MB / 1.058 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3125, allocations: 0 / 1.058 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3125, allocations: 8 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3125, allocations: 0 / 1.058 GB, free: 3.277 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.001306/0.3138, allocations: 0.9092 MB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3139, allocations: 8.625 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/0.3139, allocations: 42.69 kB / 1.059 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.314, allocations: 56.45 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.3145, allocations: 326.2 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/0.3145, allocations: 20.55 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.3146, allocations: 32.38 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.3157, allocations: 241.7 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3157, allocations: 0 / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3158, allocations: 4 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.3158, allocations: 3.984 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/0.3167, allocations: 121.1 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.318, allocations: 0.6797 MB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3192, allocations: 182.5 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008391/0.32, allocations: 120.8 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.32, allocations: 4 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.3211, allocations: 223.2 kB / 1.061 GB, free: 116 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.3211, allocations: 0 / 1.061 GB, free: 116 kB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002852/0.324, allocations: 498.9 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.324, allocations: 67.39 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.3245, allocations: 441.8 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.3246, allocations: 49.62 kB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.3247, allocations: 101.3 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.3247, allocations: 43.48 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.325, allocations: 137.3 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3251, allocations: 326.8 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.3254, allocations: 139.9 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.3258, allocations: 196 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.3262, allocations: 302.6 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3262, allocations: 4 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000908/0.3271, allocations: 0.5177 MB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.345e-05/0.3272, allocations: 100.6 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3272, allocations: 0 / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3272, allocations: 4 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.3274, allocations: 23.92 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3274, allocations: 0 / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.328, allocations: 71.91 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.3281, allocations: 59.98 kB / 1.064 GB, free: 12.96 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.0002541/0.3283, allocations: 212.3 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.3284, allocations: 39.53 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.3285, allocations: 47.78 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3285, allocations: 4 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3285, allocations: 4 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3285, allocations: 3.938 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.3308, allocations: 0.7909 MB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3308, allocations: 0 / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.3309, allocations: 4 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3309, allocations: 0 / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.3309, allocations: 27.91 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3309, allocations: 0 / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.331, allocations: 3.938 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.3328, allocations: 484.9 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.3331, allocations: 240.5 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/0.3332, allocations: 19.94 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.3337, allocations: 31.97 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.3338, allocations: 11.98 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.907e-05/0.3338, allocations: 59.97 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003182/0.3342, allocations: 315.1 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3342, allocations: 0 / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003853/0.3346, allocations: 67.98 kB / 1.066 GB, free: 10.53 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.002229/0.3368, allocations: 1.048 MB / 1.067 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.3382, allocations: 484.8 kB / 1.067 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3382, allocations: 4 kB / 1.067 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008144/0.339, allocations: 127.8 kB / 1.067 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.3395, allocations: 29.92 kB / 1.067 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.344, allocations: 2.996 MB / 1.07 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.3444, allocations: 0.7864 MB / 1.071 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.764e-05/0.3445, allocations: 21.41 kB / 1.071 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.3445, allocations: 31.42 kB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.3446, allocations: 0 / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.3695, allocations: 6.719 MB / 1.078 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.265, allocations: 17.17 kB / 1.078 GB, free: 14.09 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)