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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008108/0.0008109, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005107/0.005107, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.631/2.631, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 15.38 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3069, allocations: 159.6 MB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.001947/0.3089, allocations: 1.45 MB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3103, allocations: 0.6888 MB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.3104, allocations: 0 / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.053e-05/0.3105, allocations: 11.92 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.3107, allocations: 27.84 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008483/0.3115, allocations: 345.3 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.3121, allocations: 0.5267 MB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3122, allocations: 29.11 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.3128, allocations: 322.8 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.3132, allocations: 171.1 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.3133, allocations: 16 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.3134, allocations: 12 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.3135, allocations: 115.6 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.3138, allocations: 220.5 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.3143, allocations: 0.5763 MB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3143, allocations: 0 / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3143, allocations: 0 / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.3143, allocations: 0 / 1.063 GB, free: 316 kB / 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.001152/0.3155, allocations: 0.7731 MB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3155, allocations: 15.91 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.107e-05/0.3156, allocations: 42.73 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.3158, allocations: 56.38 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.3162, allocations: 338.2 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/0.3162, allocations: 20.55 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/0.3164, allocations: 32.36 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3174, allocations: 246.9 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3174, allocations: 7.984 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.3175, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3175, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/0.3183, allocations: 127.8 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.3195, allocations: 0.6875 MB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.3207, allocations: 202.4 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007926/0.3215, allocations: 128.8 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3215, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009489/0.3225, allocations: 245.3 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.3225, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002554/0.325, allocations: 0.5165 MB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.3251, allocations: 71.31 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.3256, allocations: 437.8 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.3256, allocations: 45.69 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.3257, allocations: 105.3 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.3258, allocations: 39.55 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-05/0.3259, allocations: 41.69 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.326, allocations: 322.8 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.3263, allocations: 139.9 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.3266, allocations: 193.9 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.327, allocations: 298.6 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.327, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008565/0.3279, allocations: 0.5219 MB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/0.328, allocations: 95.38 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.328, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.328, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3282, allocations: 31.91 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3282, allocations: 0 / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.3288, allocations: 79.86 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/0.3289, allocations: 59.98 kB / 1.069 GB, free: 10.1 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.0002626/0.3291, allocations: 220.3 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.3292, allocations: 43.44 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.286e-05/0.3293, allocations: 43.8 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3293, allocations: 0 / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3293, allocations: 3.938 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3293, allocations: 7.922 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.3315, allocations: 0.8052 MB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3315, allocations: 0 / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.3316, allocations: 4 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.3316, allocations: 8 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.3316, allocations: 23.91 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3316, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3317, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.3334, allocations: 498.7 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.3337, allocations: 248.4 kB / 1.071 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.17e-05/0.3338, allocations: 23.94 kB / 1.071 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.3343, allocations: 39.95 kB / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.3343, allocations: 7.984 kB / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.3344, allocations: 51.98 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003069/0.3347, allocations: 323.1 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3347, allocations: 0 / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003634/0.3351, allocations: 71.94 kB / 1.071 GB, free: 7.613 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.002096/0.3372, allocations: 1.063 MB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.3385, allocations: 482.5 kB / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3385, allocations: 0 / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007747/0.3393, allocations: 144.2 kB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.3397, allocations: 35.36 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.3442, allocations: 3.127 MB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3446, allocations: 0.7828 MB / 1.077 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.634e-05/0.3447, allocations: 21.41 kB / 1.077 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.3447, allocations: 31.42 kB / 1.077 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3447, allocations: 0 / 1.077 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.363, allocations: 6.517 MB / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.3632, allocations: 234.1 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.118, allocations: 0 / 1.083 GB, free: 11.03 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)