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.001524/0.001524, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001808/0.001808, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.156/2.156, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4849, allocations: 140.4 MB / 0.9493 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003368/0.4883, allocations: 1.789 MB / 0.951 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.4899, allocations: 0.6319 MB / 0.9516 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.49, allocations: 1.375 kB / 0.9516 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.4901, allocations: 3.938 kB / 0.9516 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.4903, allocations: 31.59 kB / 0.9517 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009743/0.4913, allocations: 328.7 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007431/0.492, allocations: 0.6395 MB / 0.9526 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.4922, allocations: 43.09 kB / 0.9526 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006176/0.4928, allocations: 370 kB / 0.953 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.4931, allocations: 173.3 kB / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.4933, allocations: 41.31 kB / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.4934, allocations: 41.69 kB / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.4936, allocations: 136.9 kB / 0.9534 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.4939, allocations: 234.1 kB / 0.9536 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000591/0.4945, allocations: 0.5988 MB / 0.9542 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4945, allocations: 0 / 0.9542 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4945, allocations: 5.469 kB / 0.9542 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.4945, allocations: 0 / 0.9542 GB, free: 5.664 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.001495/0.496, allocations: 0.9034 MB / 0.9551 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4961, allocations: 8.562 kB / 0.9551 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/0.4961, allocations: 42.39 kB / 0.9551 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.4963, allocations: 56.94 kB / 0.9552 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.4968, allocations: 331.8 kB / 0.9555 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.4969, allocations: 24.95 kB / 0.9555 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.497, allocations: 31.73 kB / 0.9555 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.4985, allocations: 241.3 kB / 0.9558 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4985, allocations: 0 / 0.9558 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.4986, allocations: 9.812 kB / 0.9558 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4986, allocations: 2.562 kB / 0.9558 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.4998, allocations: 117.5 kB / 0.9559 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.5014, allocations: 0.6742 MB / 0.9565 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.5031, allocations: 188.2 kB / 0.9567 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.5043, allocations: 112.6 kB / 0.9568 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.5043, allocations: 2.281 kB / 0.9568 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/0.5057, allocations: 241.1 kB / 0.9571 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.5057, allocations: 0 / 0.9571 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.004008/0.5098, allocations: 497.8 kB / 0.9575 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.5098, allocations: 61.36 kB / 0.9576 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.5104, allocations: 443.3 kB / 0.958 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.6e-05/0.5105, allocations: 42.2 kB / 0.9581 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.5106, allocations: 104.8 kB / 0.9582 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.5107, allocations: 34.7 kB / 0.9582 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.511, allocations: 145 kB / 0.9583 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.511, allocations: 329 kB / 0.9586 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.5115, allocations: 140.3 kB / 0.9588 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.512, allocations: 193.6 kB / 0.959 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.5125, allocations: 303.1 kB / 0.9593 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5126, allocations: 4 kB / 0.9593 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001316/0.5139, allocations: 0.5195 MB / 0.9598 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.184e-05/0.514, allocations: 97.97 kB / 0.9599 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.514, allocations: 1.156 kB / 0.9599 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.514, allocations: 3.688 kB / 0.9599 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.5143, allocations: 17.7 kB / 0.9599 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5143, allocations: 7.125 kB / 0.9599 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/0.5151, allocations: 74.41 kB / 0.96 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.5152, allocations: 60.55 kB / 0.96 GB, free: 1.379 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.0002877/0.5155, allocations: 216.8 kB / 0.9602 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.5156, allocations: 41.3 kB / 0.9603 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.5157, allocations: 36.39 kB / 0.9603 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5157, allocations: 6.406 kB / 0.9603 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5158, allocations: 0 / 0.9603 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5158, allocations: 5.344 kB / 0.9603 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.519, allocations: 0.784 MB / 0.9611 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.519, allocations: 0 / 0.9611 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.519, allocations: 8.031 kB / 0.9611 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.519, allocations: 5.172 kB / 0.9611 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.5191, allocations: 24.08 kB / 0.9611 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5191, allocations: 0 / 0.9611 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5191, allocations: 1.531 kB / 0.9611 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.5218, allocations: 484.8 kB / 0.9616 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.5222, allocations: 247.6 kB / 0.9618 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.5224, allocations: 23.33 kB / 0.9618 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.5231, allocations: 27.38 kB / 0.9619 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.5232, allocations: 16.7 kB / 0.9619 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.667e-05/0.5233, allocations: 57.66 kB / 0.9619 GB, free: 56 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004875/0.5238, allocations: 317.5 kB / 0.9622 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5238, allocations: 0 / 0.9622 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006042/0.5244, allocations: 68.55 kB / 0.9623 GB, free: 15.85 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.003223/0.5276, allocations: 1.043 MB / 0.9633 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.5297, allocations: 478.2 kB / 0.9638 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5298, allocations: 0 / 0.9638 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.531, allocations: 129.7 kB / 0.9639 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.5316, allocations: 39 kB / 0.9639 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/0.5385, allocations: 3.115 MB / 0.967 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.539, allocations: 0.79 MB / 0.9677 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.5391, allocations: 18.2 kB / 0.9678 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.5392, allocations: 30.17 kB / 0.9678 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of SimCode: time 3.476e-06/0.5392, allocations: 0 / 0.9678 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5756/1.115, allocations: 6.823 MB / 0.9745 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/1.115, allocations: 231.2 kB / 0.9747 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.768, allocations: 4 kB / 0.9747 GB, free: 7.512 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)