Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001476/0.001476, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001645/0.001645, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.322/1.322, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.269/2.269, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.91 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4974, allocations: 140.4 MB / 0.9493 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002267/0.4997, allocations: 1.796 MB / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.5007, allocations: 0.6236 MB / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.5007, allocations: 4 kB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.474e-05/0.5008, allocations: 3.938 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.907e-05/0.5009, allocations: 32.38 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.5015, allocations: 340.4 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.502, allocations: 0.6434 MB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.5021, allocations: 35.69 kB / 0.9526 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.5025, allocations: 365.8 kB / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.5027, allocations: 181.5 kB / 0.9532 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.716e-05/0.5028, allocations: 40.78 kB / 0.9532 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.5029, allocations: 41.59 kB / 0.9532 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.503, allocations: 132.7 kB / 0.9534 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.5032, allocations: 229.4 kB / 0.9536 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.5035, allocations: 0.5959 MB / 0.9542 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.5036, allocations: 0 / 0.9542 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5036, allocations: 0.9688 kB / 0.9542 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5036, allocations: 4 kB / 0.9542 GB, free: 5.551 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.001024/0.5046, allocations: 0.9075 MB / 0.9551 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.5046, allocations: 9.5 kB / 0.9551 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.5047, allocations: 42.33 kB / 0.9551 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.5048, allocations: 60 kB / 0.9552 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.5051, allocations: 333.2 kB / 0.9555 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.5052, allocations: 20.67 kB / 0.9555 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.5052, allocations: 33.83 kB / 0.9555 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009537/0.5062, allocations: 239.1 kB / 0.9558 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.5062, allocations: 0 / 0.9558 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.5062, allocations: 5.969 kB / 0.9558 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.5063, allocations: 2.094 kB / 0.9558 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.507, allocations: 118.4 kB / 0.9559 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.5081, allocations: 0.6818 MB / 0.9566 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.5091, allocations: 182.8 kB / 0.9567 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.5099, allocations: 113.5 kB / 0.9568 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.5099, allocations: 1.375 kB / 0.9568 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008829/0.5108, allocations: 246 kB / 0.9571 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.5108, allocations: 0 / 0.9571 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002604/0.5134, allocations: 493.9 kB / 0.9575 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.5135, allocations: 60.61 kB / 0.9576 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.5138, allocations: 443.8 kB / 0.958 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.5139, allocations: 41.61 kB / 0.9581 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.514, allocations: 106.2 kB / 0.9582 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.514, allocations: 41.28 kB / 0.9582 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.5142, allocations: 136.8 kB / 0.9583 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.5142, allocations: 326 kB / 0.9586 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.5145, allocations: 144.6 kB / 0.9588 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.5148, allocations: 196.8 kB / 0.959 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.5151, allocations: 294.1 kB / 0.9592 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5151, allocations: 5.031 kB / 0.9593 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007923/0.5159, allocations: 0.5234 MB / 0.9598 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.516, allocations: 93.91 kB / 0.9599 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.516, allocations: 2.156 kB / 0.9599 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.516, allocations: 2.188 kB / 0.9599 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.5162, allocations: 27.27 kB / 0.9599 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5162, allocations: 9.953 kB / 0.9599 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.5167, allocations: 62.48 kB / 0.96 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/0.5168, allocations: 61.08 kB / 0.96 GB, free: 1.266 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.0001812/0.517, allocations: 217.8 kB / 0.9602 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.517, allocations: 40.64 kB / 0.9603 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.5171, allocations: 43.62 kB / 0.9603 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5171, allocations: 3 kB / 0.9603 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5171, allocations: 4 kB / 0.9603 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5171, allocations: 3.938 kB / 0.9603 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.5192, allocations: 0.7845 MB / 0.9611 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5192, allocations: 5.375 kB / 0.9611 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.5193, allocations: 7.609 kB / 0.9611 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5193, allocations: 0 / 0.9611 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.5193, allocations: 20.61 kB / 0.9611 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.5193, allocations: 0 / 0.9611 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5193, allocations: 1.406 kB / 0.9611 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.5211, allocations: 482 kB / 0.9616 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.5213, allocations: 245.9 kB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.5214, allocations: 19.25 kB / 0.9618 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.5219, allocations: 35.42 kB / 0.9619 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.522, allocations: 12.31 kB / 0.9619 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.646e-05/0.522, allocations: 58.69 kB / 0.9619 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002936/0.5223, allocations: 321.5 kB / 0.9622 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5224, allocations: 0 / 0.9622 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000351/0.5227, allocations: 72.11 kB / 0.9623 GB, free: 15.73 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.002156/0.5249, allocations: 1.032 MB / 0.9633 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.5262, allocations: 477.7 kB / 0.9638 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5262, allocations: 1 kB / 0.9638 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008014/0.527, allocations: 125.1 kB / 0.9639 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.5274, allocations: 43.52 kB / 0.9639 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.5319, allocations: 3.118 MB / 0.967 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.5322, allocations: 0.7904 MB / 0.9677 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.573e-05/0.5323, allocations: 17.98 kB / 0.9678 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.5324, allocations: 38.3 kB / 0.9678 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5324, allocations: 0 / 0.9678 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3066/0.839, allocations: 6.809 MB / 0.9744 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.8393, allocations: 242 kB / 0.9747 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.574, allocations: 11.94 kB / 0.9747 GB, free: 7.359 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)