Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.001648/0.001648, allocations: 107.3 kB / 15.34 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.001217/0.001217, allocations: 193.7 kB / 16.25 MB, free: 6.602 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.213/2.213, allocations: 390.3 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5224, allocations: 140.4 MB / 0.9493 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002412/0.5248, allocations: 1.783 MB / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.5259, allocations: 0.6245 MB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.5259, allocations: 3.938 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.807e-05/0.526, allocations: 13.2 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.5261, allocations: 27.69 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.5267, allocations: 339.5 kB / 0.952 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.5272, allocations: 0.6407 MB / 0.9526 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.5273, allocations: 33.95 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.5277, allocations: 382.5 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.5279, allocations: 173.4 kB / 0.9532 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/0.528, allocations: 41.75 kB / 0.9532 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-05/0.5281, allocations: 41.09 kB / 0.9532 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.5282, allocations: 128.6 kB / 0.9534 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.5284, allocations: 230.7 kB / 0.9536 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.5288, allocations: 0.6063 MB / 0.9542 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5288, allocations: 0 / 0.9542 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5288, allocations: 1.094 kB / 0.9542 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5288, allocations: 0 / 0.9542 GB, free: 5.535 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.001039/0.5299, allocations: 0.905 MB / 0.9551 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.5299, allocations: 8.875 kB / 0.9551 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.53, allocations: 42.09 kB / 0.9551 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.5301, allocations: 60.2 kB / 0.9552 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.5304, allocations: 336.8 kB / 0.9555 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.5304, allocations: 20.58 kB / 0.9555 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-05/0.5305, allocations: 32.2 kB / 0.9555 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009516/0.5315, allocations: 240.5 kB / 0.9558 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5315, allocations: 3.938 kB / 0.9558 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.5315, allocations: 1.906 kB / 0.9558 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5316, allocations: 5.688 kB / 0.9558 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.5323, allocations: 109.1 kB / 0.9559 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.5334, allocations: 0.6741 MB / 0.9565 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.5345, allocations: 184.2 kB / 0.9567 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/0.5353, allocations: 120.6 kB / 0.9568 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.5353, allocations: 1.344 kB / 0.9568 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009467/0.5363, allocations: 231.8 kB / 0.9571 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.5363, allocations: 4 kB / 0.9571 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002629/0.5389, allocations: 496.7 kB / 0.9575 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.539, allocations: 64.56 kB / 0.9576 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.5393, allocations: 444.6 kB / 0.958 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.5394, allocations: 41.25 kB / 0.9581 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.5395, allocations: 105.3 kB / 0.9582 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.5395, allocations: 38.17 kB / 0.9582 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.5397, allocations: 136.9 kB / 0.9583 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.5398, allocations: 325.8 kB / 0.9586 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.54, allocations: 140 kB / 0.9588 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.5403, allocations: 193.7 kB / 0.959 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.5407, allocations: 305.4 kB / 0.9592 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5407, allocations: 1.406 kB / 0.9592 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008074/0.5415, allocations: 0.5243 MB / 0.9598 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.5416, allocations: 97.91 kB / 0.9599 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5416, allocations: 6.062 kB / 0.9599 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5416, allocations: 7.156 kB / 0.9599 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.5418, allocations: 21.86 kB / 0.9599 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5418, allocations: 3.281 kB / 0.9599 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.5423, allocations: 70.22 kB / 0.96 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.725e-05/0.5424, allocations: 60.45 kB / 0.96 GB, free: 1.254 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.0002013/0.5426, allocations: 221.1 kB / 0.9602 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.5427, allocations: 36.81 kB / 0.9603 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/0.5427, allocations: 45.59 kB / 0.9603 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5427, allocations: 1.156 kB / 0.9603 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5428, allocations: 0 / 0.9603 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5428, allocations: 5.281 kB / 0.9603 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.5449, allocations: 0.7834 MB / 0.9611 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5449, allocations: 0 / 0.9611 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.5449, allocations: 4 kB / 0.9611 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5449, allocations: 1.031 kB / 0.9611 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.545, allocations: 27.59 kB / 0.9611 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.545, allocations: 1.469 kB / 0.9611 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.545, allocations: 0 / 0.9611 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.5467, allocations: 484.2 kB / 0.9616 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.547, allocations: 247.9 kB / 0.9618 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.264e-05/0.547, allocations: 22.94 kB / 0.9618 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.5475, allocations: 27.31 kB / 0.9619 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.5476, allocations: 12.11 kB / 0.9619 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.5477, allocations: 58.19 kB / 0.9619 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003061/0.548, allocations: 317.8 kB / 0.9622 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.548, allocations: 0 / 0.9622 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000348/0.5483, allocations: 68.39 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.5505, allocations: 1.05 MB / 0.9633 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.5518, allocations: 475.9 kB / 0.9638 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5518, allocations: 3.938 kB / 0.9638 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008161/0.5527, allocations: 130.1 kB / 0.9639 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.5531, allocations: 34.14 kB / 0.9639 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.5577, allocations: 3.11 MB / 0.967 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5581, allocations: 0.7951 MB / 0.9677 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.267e-05/0.5581, allocations: 16.88 kB / 0.9678 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.5582, allocations: 35.77 kB / 0.9678 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.5582, allocations: 0 / 0.9678 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2301/0.7884, allocations: 6.81 MB / 0.9744 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.7886, allocations: 232.2 kB / 0.9747 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.481, allocations: 0 / 0.9747 GB, free: 7.387 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)