Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00117/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001149/0.001149, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.664 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.273/2.273, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5355/0.5368, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00278/0.5396, allocations: 1.787 MB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.5409, allocations: 0.6975 MB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.541, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.5412, allocations: 11.92 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.5413, allocations: 27.84 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007305/0.542, allocations: 344.7 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.5425, allocations: 0.5304 MB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.5426, allocations: 32.88 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/0.543, allocations: 315 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.5433, allocations: 175.1 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.329e-05/0.5434, allocations: 12 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.5435, allocations: 16 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.5436, allocations: 119.6 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.5438, allocations: 206.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.5443, allocations: 0.5862 MB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5443, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5443, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5443, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 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.001241/0.5456, allocations: 0.8976 MB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.5456, allocations: 12.03 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.5457, allocations: 38.73 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.5458, allocations: 60.47 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.5462, allocations: 346 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.5463, allocations: 20.55 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.5463, allocations: 32.36 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.5474, allocations: 233.7 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5474, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.5474, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5474, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008299/0.5483, allocations: 119.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.5495, allocations: 0.6681 MB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.5506, allocations: 186.4 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.5514, allocations: 116.8 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5514, allocations: 3.984 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009761/0.5524, allocations: 232.7 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.5524, allocations: 4 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002647/0.5551, allocations: 496.9 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.5551, allocations: 67.33 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.5555, allocations: 437.8 kB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.5556, allocations: 49.64 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.5557, allocations: 101.3 kB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.5557, allocations: 35.55 kB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.5559, allocations: 141.2 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.556, allocations: 330.8 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.5563, allocations: 143.9 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.5566, allocations: 189.9 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.557, allocations: 307.1 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.557, allocations: 0 / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008243/0.5579, allocations: 0.5216 MB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.5579, allocations: 91.38 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.558, allocations: 4.188 kB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.558, allocations: 4 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.5581, allocations: 27.92 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.5582, allocations: 11.92 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.5586, allocations: 55.8 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.5587, allocations: 55.98 kB / 1.027 GB, free: 7.648 MB / 0.7794 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.0002214/0.559, allocations: 228.3 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.559, allocations: 39.52 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.5591, allocations: 39.8 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5591, allocations: 4 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5591, allocations: 0 / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5591, allocations: 3.938 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.5612, allocations: 0.7881 MB / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5612, allocations: 0 / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.5612, allocations: 7.984 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5613, allocations: 0 / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.5613, allocations: 23.92 kB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5613, allocations: 0 / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5613, allocations: 4 kB / 1.028 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.563, allocations: 483.6 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.5633, allocations: 244.4 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.5634, allocations: 19.94 kB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.5639, allocations: 31.97 kB / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.5639, allocations: 11.92 kB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/0.564, allocations: 63.97 kB / 1.029 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002769/0.5642, allocations: 315.1 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5643, allocations: 0 / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003351/0.5646, allocations: 71.98 kB / 1.03 GB, free: 5.199 MB / 0.7794 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.002007/0.5666, allocations: 1.053 MB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.5678, allocations: 472.4 kB / 1.031 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5678, allocations: 3.938 kB / 1.031 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007625/0.5686, allocations: 128.2 kB / 1.031 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.569, allocations: 38.58 kB / 1.031 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.5732, allocations: 3.115 MB / 1.034 GB, free: 232 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.5735, allocations: 0.7907 MB / 1.035 GB, free: 15.41 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.376e-05/0.5736, allocations: 13.42 kB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.5737, allocations: 31.42 kB / 1.035 GB, free: 15.37 MB / 0.795 GB Notification: Performance of SimCode: time 2.054e-06/0.5737, allocations: 0 / 1.035 GB, free: 15.37 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.5896, allocations: 6.617 MB / 1.042 GB, free: 8.801 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.5899, allocations: 232.7 kB / 1.042 GB, free: 8.543 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.142, allocations: 0 / 1.042 GB, free: 8.543 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)