Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_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_latest_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.005393/0.005393, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001505/0.001505, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.715/2.715, allocations: 482.6 MB / 0.755 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 70.02 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2635, allocations: 162.3 MB / 1.242 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002359/0.2659, allocations: 1.745 MB / 1.244 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.267, allocations: 0.6204 MB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.2671, allocations: 4 kB / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.262e-05/0.2671, allocations: 11.86 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.95e-05/0.2672, allocations: 31.78 kB / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006504/0.2679, allocations: 363.4 kB / 1.245 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.2685, allocations: 0.6321 MB / 1.245 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.2686, allocations: 33.09 kB / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.2689, allocations: 319.5 kB / 1.246 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.2692, allocations: 147.6 kB / 1.246 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.223e-05/0.2693, allocations: 44 kB / 1.246 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.2694, allocations: 40 kB / 1.246 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.2695, allocations: 131.6 kB / 1.246 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.2697, allocations: 215 kB / 1.246 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.2702, allocations: 0.6036 MB / 1.247 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.2702, allocations: 0 / 1.247 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2702, allocations: 0 / 1.247 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2702, allocations: 0 / 1.247 GB, free: 3.996 MB / 0.9669 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.001103/0.2713, allocations: 0.9209 MB / 1.248 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.494e-05/0.2714, allocations: 12.03 kB / 1.248 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.2714, allocations: 38.73 kB / 1.248 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.2715, allocations: 56.66 kB / 1.248 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.2719, allocations: 342.5 kB / 1.248 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.2719, allocations: 20.36 kB / 1.248 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.272, allocations: 32.36 kB / 1.248 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008962/0.2729, allocations: 233.9 kB / 1.248 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2729, allocations: 3.938 kB / 1.248 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.2729, allocations: 8 kB / 1.248 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-06/0.2729, allocations: 0 / 1.248 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007196/0.2737, allocations: 115.9 kB / 1.248 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2748, allocations: 0.6797 MB / 1.249 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.2757, allocations: 174.5 kB / 1.249 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/0.2764, allocations: 120.8 kB / 1.249 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.2765, allocations: 4.25 kB / 1.249 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008402/0.2773, allocations: 231.2 kB / 1.25 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.2773, allocations: 4 kB / 1.25 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002311/0.2796, allocations: 495.6 kB / 1.25 GB, free: 332 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2797, allocations: 59.41 kB / 1.25 GB, free: 260 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.2801, allocations: 445.9 kB / 1.251 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.2802, allocations: 41.69 kB / 1.251 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.2803, allocations: 105.4 kB / 1.251 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.2803, allocations: 47.61 kB / 1.251 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.2805, allocations: 133.5 kB / 1.251 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2806, allocations: 326.8 kB / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.2809, allocations: 147.9 kB / 1.251 GB, free: 15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.2812, allocations: 185.9 kB / 1.252 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.2816, allocations: 295 kB / 1.252 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2816, allocations: 4 kB / 1.252 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008046/0.2824, allocations: 0.5184 MB / 1.252 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.299e-05/0.2825, allocations: 95.38 kB / 1.252 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2825, allocations: 4.188 kB / 1.252 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2825, allocations: 11.98 kB / 1.252 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2827, allocations: 19.92 kB / 1.252 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2827, allocations: 4 kB / 1.252 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.2831, allocations: 55.84 kB / 1.252 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/0.2832, allocations: 63.92 kB / 1.253 GB, free: 13.68 MB / 0.9825 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.0002124/0.2834, allocations: 224.8 kB / 1.253 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.2835, allocations: 39.72 kB / 1.253 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.2835, allocations: 39.8 kB / 1.253 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2835, allocations: 4 kB / 1.253 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2835, allocations: 0 / 1.253 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2836, allocations: 3.984 kB / 1.253 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.2856, allocations: 0.795 MB / 1.254 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2856, allocations: 7.984 kB / 1.254 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.2856, allocations: 4 kB / 1.254 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2856, allocations: 0 / 1.254 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.2857, allocations: 27.91 kB / 1.254 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2857, allocations: 0 / 1.254 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2857, allocations: 4 kB / 1.254 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.2873, allocations: 479.5 kB / 1.254 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.2876, allocations: 240.7 kB / 1.254 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.2876, allocations: 19.94 kB / 1.254 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.2881, allocations: 42.64 kB / 1.254 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.2881, allocations: 11.92 kB / 1.254 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/0.2882, allocations: 59.98 kB / 1.254 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003048/0.2885, allocations: 319.1 kB / 1.255 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2885, allocations: 0 / 1.255 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003006/0.2888, allocations: 68 kB / 1.255 GB, free: 11.22 MB / 0.9825 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.00194/0.2908, allocations: 1.045 MB / 1.256 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.292, allocations: 484.5 kB / 1.256 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.292, allocations: 0 / 1.256 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.2927, allocations: 124.2 kB / 1.256 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.293, allocations: 41.47 kB / 1.256 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.2971, allocations: 3.002 MB / 1.259 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.2975, allocations: 0.7864 MB / 1.26 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.211e-05/0.2975, allocations: 17.42 kB / 1.26 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.2976, allocations: 27.42 kB / 1.26 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of SimCode: time 2.905e-06/0.2976, allocations: 4 kB / 1.26 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8676/1.165, allocations: 6.727 MB / 1.267 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.38/18.54, allocations: 12.09 kB / 1.267 GB, free: 14.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)