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.001121/0.001121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001406/0.001406, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.489/2.489, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 62.81 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2753, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002838/0.2782, allocations: 1.789 MB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2795, allocations: 0.6949 MB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.2796, allocations: 0 / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2797, allocations: 7.938 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.2798, allocations: 27.84 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007759/0.2806, allocations: 341.9 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.2812, allocations: 0.5306 MB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2813, allocations: 29.11 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004783/0.2818, allocations: 318.9 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.2821, allocations: 175.1 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.2822, allocations: 15.94 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-05/0.2823, allocations: 16 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.2825, allocations: 119.6 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.2827, allocations: 202.8 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.2832, allocations: 0.5842 MB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2832, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2832, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.2833, allocations: 3.938 kB / 1.057 GB, free: 3.355 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.001392/0.2847, allocations: 0.9015 MB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2847, allocations: 15.97 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.2848, allocations: 34.75 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.2849, allocations: 56.45 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.2853, allocations: 346.1 kB / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.2853, allocations: 20.55 kB / 1.058 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.2854, allocations: 28.38 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2864, allocations: 235.1 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2865, allocations: 3.984 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.2865, allocations: 4 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2865, allocations: 4 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007761/0.2873, allocations: 111.9 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.2888, allocations: 0.6836 MB / 1.059 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.2899, allocations: 178.5 kB / 1.059 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007778/0.2906, allocations: 120.8 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.2907, allocations: 0 / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.2917, allocations: 231.1 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.033e-06/0.2918, allocations: 0 / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002705/0.2945, allocations: 499 kB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.2945, allocations: 67.39 kB / 1.06 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/0.2951, allocations: 437.8 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/0.2952, allocations: 49.69 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2953, allocations: 105.3 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.2953, allocations: 35.55 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.2956, allocations: 133.3 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2957, allocations: 330.8 kB / 1.061 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.296, allocations: 135.9 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.2963, allocations: 201.9 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.2968, allocations: 298.7 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2968, allocations: 0 / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001029/0.2978, allocations: 0.5292 MB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/0.2979, allocations: 91.38 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2979, allocations: 4 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2979, allocations: 192 / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.2981, allocations: 31.92 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.2981, allocations: 4 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.2987, allocations: 71.66 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/0.2988, allocations: 55.98 kB / 1.063 GB, free: 13.03 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.0002445/0.299, allocations: 224.3 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.2991, allocations: 35.53 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.2992, allocations: 47.72 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2992, allocations: 4 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2992, allocations: 0 / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2992, allocations: 3.938 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.3015, allocations: 0.787 MB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3015, allocations: 0 / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.3015, allocations: 4 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3015, allocations: 0 / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.3016, allocations: 23.91 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3016, allocations: 0 / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3016, allocations: 7.984 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.3034, allocations: 484.3 kB / 1.064 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.3037, allocations: 240.5 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.3037, allocations: 19.94 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.3042, allocations: 31.97 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.3043, allocations: 7.984 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/0.3044, allocations: 67.91 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003122/0.3047, allocations: 319 kB / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3047, allocations: 0 / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003689/0.3051, allocations: 71.98 kB / 1.065 GB, free: 10.59 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.002111/0.3072, allocations: 1.04 MB / 1.066 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.3085, allocations: 478.4 kB / 1.067 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3085, allocations: 4 kB / 1.067 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.3093, allocations: 120.2 kB / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.3097, allocations: 38.34 kB / 1.067 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.3143, allocations: 3.114 MB / 1.07 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3147, allocations: 0.7867 MB / 1.071 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.383e-05/0.3147, allocations: 9.438 kB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.466e-05/0.3148, allocations: 32.92 kB / 1.071 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3148, allocations: 0 / 1.071 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.3321, allocations: 6.614 MB / 1.077 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.3323, allocations: 236.1 kB / 1.077 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.991, allocations: 0 / 1.077 GB, free: 13.94 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)