Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.CalendarTimeMonths,fileNamePrefix="Buildings_11_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_11_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.001308/0.001308, allocations: 108 kB / 15.61 MB, free: 152 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.001135/0.001135, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.646/2.646, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 71.75 kB / 0.9087 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2602, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003287/0.2635, allocations: 1.752 MB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2649, allocations: 0.6219 MB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.265, allocations: 0 / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.912e-05/0.2651, allocations: 11.81 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.2652, allocations: 31.84 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008412/0.2661, allocations: 366.2 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006941/0.2668, allocations: 0.636 MB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2669, allocations: 25.11 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.2673, allocations: 303.6 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.2676, allocations: 151.5 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.2678, allocations: 44 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2679, allocations: 40 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.268, allocations: 127.6 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.2683, allocations: 215 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.2689, allocations: 0.5923 MB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2689, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2689, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2689, allocations: 0 / 1.069 GB, free: 9.262 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.001347/0.2703, allocations: 0.9131 MB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2703, allocations: 12.03 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.071e-05/0.2704, allocations: 46.73 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.2705, allocations: 52.47 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.2709, allocations: 330.2 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.271, allocations: 24.55 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.2711, allocations: 28.36 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2721, allocations: 239.5 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2721, allocations: 3.938 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.2722, allocations: 8 kB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2722, allocations: 0 / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008062/0.273, allocations: 123.8 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.2743, allocations: 0.6798 MB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.2754, allocations: 182.4 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007807/0.2762, allocations: 120.8 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.2762, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009548/0.2772, allocations: 228.7 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.2772, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002559/0.2797, allocations: 0.4929 MB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.2798, allocations: 63.33 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.2803, allocations: 437.9 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.2803, allocations: 37.7 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.2804, allocations: 105.3 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.2805, allocations: 43.47 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.2807, allocations: 141.3 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2809, allocations: 330.8 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.2812, allocations: 139.9 kB / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.2815, allocations: 191.2 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.2819, allocations: 307.5 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.282, allocations: 0 / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009039/0.2829, allocations: 0.5223 MB / 1.074 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.875e-05/0.283, allocations: 95.41 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.283, allocations: 4 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.283, allocations: 0 / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.2832, allocations: 27.91 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2832, allocations: 4 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.2837, allocations: 59.73 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.2838, allocations: 59.98 kB / 1.075 GB, free: 2.938 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.0002493/0.284, allocations: 224.3 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.2841, allocations: 39.52 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.2841, allocations: 39.8 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2842, allocations: 4 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2842, allocations: 3.938 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.2842, allocations: 7.922 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.2863, allocations: 0.7793 MB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2864, allocations: 0 / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.2864, allocations: 15.98 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2864, allocations: 0 / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.2864, allocations: 19.92 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2865, allocations: 7.984 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2865, allocations: 0 / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.2882, allocations: 482.7 kB / 1.076 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.2885, allocations: 244.4 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.2886, allocations: 19.94 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.2891, allocations: 35.95 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.2891, allocations: 4 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.109e-05/0.2892, allocations: 59.97 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003318/0.2895, allocations: 315.1 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2895, allocations: 0 / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003525/0.2899, allocations: 75.89 kB / 1.077 GB, free: 500 kB / 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.002146/0.292, allocations: 1.047 MB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.2934, allocations: 488.9 kB / 1.078 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2934, allocations: 0 / 1.078 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007828/0.2942, allocations: 120.3 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.0003821/0.2946, allocations: 37.53 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.2992, allocations: 2.995 MB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.2996, allocations: 0.7903 MB / 1.082 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.559e-05/0.2997, allocations: 17.41 kB / 1.082 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.2998, allocations: 31.42 kB / 1.082 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2998, allocations: 4 kB / 1.082 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.537/2.837, allocations: 6.709 MB / 1.089 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/13.95, allocations: 9.781 kB / 1.089 GB, free: 4.07 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)