Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_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_11_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.004902/0.004902, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001387/0.001387, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.651/2.651, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 63.91 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2951, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002704/0.2978, allocations: 1.742 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2991, allocations: 0.622 MB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.2992, allocations: 3.938 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.055e-05/0.2992, allocations: 11.86 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2994, allocations: 35.78 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007456/0.3001, allocations: 370.6 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006209/0.3008, allocations: 0.6282 MB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.3009, allocations: 33.09 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.3013, allocations: 311.6 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.3015, allocations: 160.2 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.3016, allocations: 44 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-05/0.3018, allocations: 40 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.3019, allocations: 127.6 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.3021, allocations: 219 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.3027, allocations: 0.5994 MB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3027, allocations: 3.938 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3027, allocations: 0 / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3027, allocations: 4 kB / 1.225 GB, free: 9.297 MB / 0.9825 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.001267/0.304, allocations: 0.9131 MB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3041, allocations: 8.031 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.3041, allocations: 46.73 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.3042, allocations: 56.66 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.3046, allocations: 334.5 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.3047, allocations: 28.3 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.3048, allocations: 28.36 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/0.3057, allocations: 234 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3058, allocations: 3.938 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.3058, allocations: 4 kB / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3058, allocations: 4 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007583/0.3066, allocations: 115.9 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3078, allocations: 0.6681 MB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.3088, allocations: 194.5 kB / 1.228 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.3096, allocations: 117 kB / 1.228 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3096, allocations: 7.969 kB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009423/0.3106, allocations: 227.2 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.205e-06/0.3106, allocations: 3.938 kB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002512/0.3131, allocations: 499.5 kB / 1.228 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.3132, allocations: 63.39 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.3137, allocations: 445.9 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.3137, allocations: 37.7 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.3138, allocations: 109.3 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.3139, allocations: 39.69 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.3141, allocations: 137.5 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3142, allocations: 326.8 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.3145, allocations: 135.9 kB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.3149, allocations: 206.3 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.3153, allocations: 295.4 kB / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3153, allocations: 0 / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008572/0.3161, allocations: 0.526 MB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/0.3163, allocations: 95.38 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3163, allocations: 0 / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3163, allocations: 4 kB / 1.231 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3165, allocations: 24.17 kB / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3165, allocations: 7.938 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.3169, allocations: 59.78 kB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.988e-05/0.317, allocations: 67.91 kB / 1.231 GB, free: 2.961 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.0002459/0.3173, allocations: 208.9 kB / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.3173, allocations: 43.7 kB / 1.231 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/0.3174, allocations: 47.78 kB / 1.231 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3174, allocations: 3.938 kB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3174, allocations: 0 / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3174, allocations: 0 / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.3196, allocations: 0.7873 MB / 1.232 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3196, allocations: 4 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.3196, allocations: 7.938 kB / 1.232 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3196, allocations: 0 / 1.232 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.3197, allocations: 23.91 kB / 1.232 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3197, allocations: 0 / 1.232 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3197, allocations: 0 / 1.232 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.3214, allocations: 486.2 kB / 1.232 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.3217, allocations: 240.7 kB / 1.233 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.3218, allocations: 23.92 kB / 1.233 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.3222, allocations: 43.95 kB / 1.233 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.3223, allocations: 7.984 kB / 1.233 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.3224, allocations: 51.98 kB / 1.233 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003373/0.3227, allocations: 327 kB / 1.233 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3227, allocations: 0 / 1.233 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003498/0.3231, allocations: 75.94 kB / 1.233 GB, free: 0.5117 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.002111/0.3252, allocations: 1.032 MB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.3265, allocations: 482.4 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3265, allocations: 0 / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.3272, allocations: 126.5 kB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3277, allocations: 37.91 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.3321, allocations: 3.008 MB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.3325, allocations: 0.7786 MB / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.874e-05/0.3326, allocations: 17.42 kB / 1.239 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.3327, allocations: 31.42 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.044e-06/0.3327, allocations: 0 / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.126/1.459, allocations: 6.727 MB / 1.245 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.63, allocations: 11.89 kB / 1.245 GB, free: 4.113 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)