Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00167/0.00167, 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.001823/0.001823, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.598/2.598, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 66.05 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.277, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003107/0.2802, allocations: 1.738 MB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2815, allocations: 0.6303 MB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.2815, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.721e-05/0.2816, allocations: 7.875 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2818, allocations: 35.78 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008108/0.2826, allocations: 366 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006604/0.2832, allocations: 0.6282 MB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2834, allocations: 29.11 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.2838, allocations: 307.6 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.2841, allocations: 147.5 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.2842, allocations: 47.94 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.2843, allocations: 40 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.2844, allocations: 135.5 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.2847, allocations: 211 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.2852, allocations: 0.6001 MB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2852, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2852, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2852, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 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.001257/0.2865, allocations: 0.9131 MB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2865, allocations: 12.03 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.2866, allocations: 38.73 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.2867, allocations: 52.47 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.2871, allocations: 330.2 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.628e-05/0.2872, allocations: 28.53 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.061e-05/0.2873, allocations: 28.36 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.2883, allocations: 237.7 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2883, allocations: 0 / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.2883, allocations: 11.94 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2883, allocations: 0 / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007948/0.2891, allocations: 118.1 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.2904, allocations: 0.6758 MB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.2915, allocations: 187.6 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/0.2923, allocations: 116.8 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2923, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009319/0.2932, allocations: 232.5 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.2932, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002561/0.2958, allocations: 0.489 MB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2959, allocations: 67.38 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.2963, allocations: 437.9 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.2964, allocations: 41.7 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.2965, allocations: 101.3 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.2966, allocations: 39.48 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.2968, allocations: 141.3 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.297, allocations: 330.8 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.2973, allocations: 139.9 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.2976, allocations: 199.1 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.298, allocations: 297.3 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.298, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008866/0.2989, allocations: 0.5234 MB / 1.074 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/0.299, allocations: 99.41 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.299, allocations: 4 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.299, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.2992, allocations: 23.92 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2992, allocations: 7.984 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.2997, allocations: 71.59 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-05/0.2998, allocations: 63.98 kB / 1.075 GB, free: 2.941 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.0002423/0.3001, allocations: 224.3 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.3001, allocations: 39.52 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.3002, allocations: 35.8 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3002, allocations: 4 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.3002, allocations: 0 / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3002, allocations: 7.875 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.3024, allocations: 0.787 MB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3024, allocations: 0 / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.3025, allocations: 7.984 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3025, allocations: 0 / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.3025, allocations: 23.92 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3025, allocations: 4 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3025, allocations: 4 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.3043, allocations: 480.6 kB / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.3046, allocations: 244.5 kB / 1.077 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.3047, allocations: 15.94 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.3052, allocations: 31.95 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3052, allocations: 8 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/0.3053, allocations: 59.97 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003161/0.3056, allocations: 319 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3056, allocations: 0 / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003355/0.306, allocations: 79.89 kB / 1.077 GB, free: 0.4961 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.002109/0.3081, allocations: 1.045 MB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.3094, allocations: 480.5 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3094, allocations: 384 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.3102, allocations: 127.8 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.3105, allocations: 37.53 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.3148, allocations: 2.993 MB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.3152, allocations: 0.7864 MB / 1.082 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.182e-05/0.3153, allocations: 17.36 kB / 1.082 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.3154, allocations: 35.42 kB / 1.082 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.3154, allocations: 0 / 1.082 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.639/1.954, allocations: 6.709 MB / 1.089 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/12.65, allocations: 9.812 kB / 1.089 GB, free: 4.086 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)