Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001146/0.001146, 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.001139/0.001139, allocations: 193.3 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.227/1.227, 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 9.1.3-maint.9.1.x/package.mo): time 2.121/2.121, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 63.91 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4853, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002253/0.4876, allocations: 1.735 MB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.4886, allocations: 0.6246 MB / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.4887, allocations: 4.906 kB / 0.9521 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.155e-05/0.4888, allocations: 7.875 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.733e-05/0.4889, allocations: 35.59 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.4895, allocations: 365 kB / 0.9524 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.4899, allocations: 0.634 MB / 0.9531 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.606e-05/0.49, allocations: 35.86 kB / 0.9531 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.4903, allocations: 314.2 kB / 0.9534 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.4905, allocations: 146.8 kB / 0.9535 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.98e-05/0.4906, allocations: 41.03 kB / 0.9536 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/0.4907, allocations: 41.31 kB / 0.9536 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.4908, allocations: 125.3 kB / 0.9537 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.491, allocations: 217.3 kB / 0.9539 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.4913, allocations: 0.6027 MB / 0.9545 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4913, allocations: 1.5 kB / 0.9545 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4913, allocations: 0 / 0.9545 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.4913, allocations: 0 / 0.9545 GB, free: 5.684 MB / 0.7169 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.000917/0.4923, allocations: 0.9033 MB / 0.9554 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.4923, allocations: 10.56 kB / 0.9554 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.4923, allocations: 42.61 kB / 0.9555 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.918e-05/0.4924, allocations: 53.31 kB / 0.9555 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.4927, allocations: 337.1 kB / 0.9558 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.4928, allocations: 25.61 kB / 0.9559 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.4929, allocations: 27.05 kB / 0.9559 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009361/0.4938, allocations: 245.6 kB / 0.9561 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4938, allocations: 0 / 0.9561 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.4939, allocations: 4 kB / 0.9561 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4939, allocations: 2.75 kB / 0.9561 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.4946, allocations: 113.9 kB / 0.9562 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.4957, allocations: 0.674 MB / 0.9569 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.4967, allocations: 187.6 kB / 0.9571 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007328/0.4974, allocations: 113.6 kB / 0.9572 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.4974, allocations: 9.797 kB / 0.9572 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008762/0.4983, allocations: 234.6 kB / 0.9574 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.4983, allocations: 0 / 0.9574 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002454/0.5008, allocations: 494.8 kB / 0.9579 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.5008, allocations: 63.98 kB / 0.958 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.5012, allocations: 448.2 kB / 0.9584 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.5012, allocations: 38.23 kB / 0.9584 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.5013, allocations: 105.6 kB / 0.9585 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.5013, allocations: 37.61 kB / 0.9586 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.5015, allocations: 141.3 kB / 0.9587 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.5016, allocations: 324.9 kB / 0.959 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.5018, allocations: 140.6 kB / 0.9591 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.5021, allocations: 193.9 kB / 0.9593 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.5024, allocations: 310.2 kB / 0.9596 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5024, allocations: 0 / 0.9596 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007358/0.5032, allocations: 0.5235 MB / 0.9601 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/0.5032, allocations: 98.66 kB / 0.9602 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5032, allocations: 1.5 kB / 0.9602 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5033, allocations: 2.656 kB / 0.9602 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.5034, allocations: 26.28 kB / 0.9602 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5034, allocations: 2.344 kB / 0.9602 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.5039, allocations: 70.3 kB / 0.9603 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.504, allocations: 61.58 kB / 0.9604 GB, free: 1.398 MB / 0.7169 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.0001693/0.5041, allocations: 220.6 kB / 0.9606 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.5042, allocations: 36.5 kB / 0.9606 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.5043, allocations: 37.64 kB / 0.9607 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5043, allocations: 1.344 kB / 0.9607 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.5043, allocations: 4 kB / 0.9607 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5043, allocations: 9.453 kB / 0.9607 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.5062, allocations: 0.7753 MB / 0.9614 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5062, allocations: 4 kB / 0.9614 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.5063, allocations: 8.047 kB / 0.9614 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5063, allocations: 1.188 kB / 0.9614 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.5063, allocations: 27.33 kB / 0.9615 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5063, allocations: 5.109 kB / 0.9615 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5063, allocations: 0 / 0.9615 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.5079, allocations: 476.6 kB / 0.9619 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.5082, allocations: 247.2 kB / 0.9622 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.5082, allocations: 18.34 kB / 0.9622 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.5087, allocations: 40.34 kB / 0.9622 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.5087, allocations: 7.812 kB / 0.9622 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.5088, allocations: 61.34 kB / 0.9623 GB, free: 80 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002839/0.5091, allocations: 318.2 kB / 0.9626 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5091, allocations: 0 / 0.9626 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003248/0.5094, allocations: 68.67 kB / 0.9626 GB, free: 15.87 MB / 0.7325 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.002037/0.5115, allocations: 1.046 MB / 0.9637 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.5127, allocations: 484.8 kB / 0.9641 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5127, allocations: 1.312 kB / 0.9641 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007673/0.5135, allocations: 117.2 kB / 0.9642 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.5139, allocations: 42.8 kB / 0.9643 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.5179, allocations: 2.996 MB / 0.9672 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.5183, allocations: 0.7867 MB / 0.968 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.863e-05/0.5183, allocations: 17.58 kB / 0.968 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.5184, allocations: 31.39 kB / 0.968 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.5184, allocations: 0 / 0.968 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2569/0.7753, allocations: 6.728 MB / 0.9746 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.892, allocations: 6.5 kB / 0.9746 GB, free: 7.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)