Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",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.005329/0.005329, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.001357/0.001357, allocations: 197.6 kB / 16.67 MB, free: 5.922 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437.1 MB / 0.7106 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 63.91 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2724, allocations: 151.6 MB / 1.166 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003261/0.2758, allocations: 1.741 MB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2771, allocations: 0.6285 MB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.2771, allocations: 0 / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.527e-05/0.2772, allocations: 11.86 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.2774, allocations: 35.56 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007639/0.2782, allocations: 370.8 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.2788, allocations: 0.6321 MB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.2789, allocations: 29.11 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.2793, allocations: 311.5 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.2796, allocations: 155.6 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.2797, allocations: 40 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.2798, allocations: 43.94 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.28, allocations: 127.6 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.2802, allocations: 215 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006071/0.2808, allocations: 0.6037 MB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2808, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2808, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2808, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 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.001283/0.2821, allocations: 0.9149 MB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2822, allocations: 8.031 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.2822, allocations: 42.73 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.2824, allocations: 56.66 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.2827, allocations: 346.5 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.2828, allocations: 24.38 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/0.2829, allocations: 32.34 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009592/0.2838, allocations: 233.9 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2839, allocations: 3.938 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.2839, allocations: 4 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2839, allocations: 4 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.2847, allocations: 123.8 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.2859, allocations: 0.6603 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.2869, allocations: 194.4 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007358/0.2877, allocations: 112.8 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.2877, allocations: 3.984 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009235/0.2887, allocations: 231.2 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.2887, allocations: 0 / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002449/0.2911, allocations: 495 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.2912, allocations: 67.33 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.2917, allocations: 445.9 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.2917, allocations: 37.7 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.2918, allocations: 109.3 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.2919, allocations: 39.69 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.2921, allocations: 141.4 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2922, allocations: 326.8 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.2925, allocations: 139.9 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.2928, allocations: 194.9 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.2933, allocations: 296.2 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2933, allocations: 0 / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008696/0.2941, allocations: 0.5241 MB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-05/0.2942, allocations: 91.38 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2943, allocations: 4 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2943, allocations: 0 / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.2944, allocations: 27.92 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2944, allocations: 4 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.2949, allocations: 67.98 kB / 1.177 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.295, allocations: 63.91 kB / 1.177 GB, free: 11.95 MB / 0.9356 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.0002448/0.2953, allocations: 216.3 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.2953, allocations: 39.77 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.2954, allocations: 43.78 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2954, allocations: 4 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2954, allocations: 4 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2954, allocations: 0 / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.2975, allocations: 0.7911 MB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2976, allocations: 0 / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.2976, allocations: 8 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2976, allocations: 0 / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.2976, allocations: 23.91 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2977, allocations: 0 / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2977, allocations: 0 / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.2994, allocations: 496.6 kB / 1.178 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.2997, allocations: 232.7 kB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.896e-05/0.2998, allocations: 27.92 kB / 1.179 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.3002, allocations: 27.97 kB / 1.179 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.3002, allocations: 7.984 kB / 1.179 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.3003, allocations: 55.98 kB / 1.179 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003252/0.3007, allocations: 327.1 kB / 1.179 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3007, allocations: 0 / 1.179 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003339/0.301, allocations: 71.94 kB / 1.179 GB, free: 9.508 MB / 0.9356 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.002088/0.3031, allocations: 1.042 MB / 1.18 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.3044, allocations: 482.6 kB / 1.181 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3044, allocations: 7.938 kB / 1.181 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007485/0.3051, allocations: 122 kB / 1.181 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.3055, allocations: 39.77 kB / 1.181 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.3099, allocations: 3.008 MB / 1.184 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.3104, allocations: 0.7825 MB / 1.185 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.349e-05/0.3105, allocations: 21.41 kB / 1.185 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.3105, allocations: 27.42 kB / 1.185 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.3105, allocations: 0 / 1.185 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6275/0.938, allocations: 6.725 MB / 1.191 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.8, allocations: 10.06 kB / 1.191 GB, free: 13.1 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)