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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00148/0.00148, 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.001792/0.001792, allocations: 193.2 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.121/2.121, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 67.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4869/0.4883, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002035/0.4904, allocations: 1.78 MB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.4914, allocations: 0.6941 MB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.4915, allocations: 0 / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.298e-05/0.4916, allocations: 13.2 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.4917, allocations: 31.11 kB / 0.9515 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.4922, allocations: 335.2 kB / 0.9519 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.4926, allocations: 0.5356 MB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.4927, allocations: 34.94 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.493, allocations: 315.2 kB / 0.9527 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.4932, allocations: 165.3 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.4933, allocations: 14.72 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.4934, allocations: 14.59 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4935, allocations: 121.6 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.4936, allocations: 204.9 kB / 0.9532 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.494, allocations: 0.5765 MB / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.494, allocations: 4 kB / 0.9538 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.51e-07/0.494, allocations: 3.938 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.494, allocations: 0 / 0.9538 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.0009198/0.4949, allocations: 0.908 MB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.495, allocations: 12.5 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.495, allocations: 43.08 kB / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.4951, allocations: 54.97 kB / 0.9548 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.4954, allocations: 325.6 kB / 0.9551 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.4955, allocations: 38.66 kB / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/0.4955, allocations: 25.08 kB / 0.9552 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/0.4965, allocations: 245.7 kB / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.4965, allocations: 0 / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.4965, allocations: 5.125 kB / 0.9554 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4965, allocations: 2.094 kB / 0.9554 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.4973, allocations: 121.2 kB / 0.9555 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.4983, allocations: 0.6628 MB / 0.9562 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.4993, allocations: 192.2 kB / 0.9563 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007425/0.5, allocations: 117.6 kB / 0.9565 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.5, allocations: 1.719 kB / 0.9565 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008437/0.5009, allocations: 227.7 kB / 0.9567 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.5009, allocations: 0 / 0.9567 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002371/0.5033, allocations: 0.4923 MB / 0.9572 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.5033, allocations: 57.41 kB / 0.9572 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.5036, allocations: 451.5 kB / 0.9576 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.5037, allocations: 38.14 kB / 0.9577 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.5038, allocations: 104.7 kB / 0.9578 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.5038, allocations: 42.59 kB / 0.9578 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.504, allocations: 141.2 kB / 0.9579 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.504, allocations: 325.3 kB / 0.9583 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.5043, allocations: 139.8 kB / 0.9584 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.5045, allocations: 189.5 kB / 0.9586 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.5049, allocations: 310.5 kB / 0.9589 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5049, allocations: 1.156 kB / 0.9589 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007468/0.5056, allocations: 0.5179 MB / 0.9594 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.5057, allocations: 96.81 kB / 0.9595 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5057, allocations: 2.312 kB / 0.9595 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.5057, allocations: 2.25 kB / 0.9595 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5059, allocations: 22.45 kB / 0.9595 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5059, allocations: 7.5 kB / 0.9595 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.5064, allocations: 65.78 kB / 0.9596 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.5064, allocations: 60.52 kB / 0.9596 GB, free: 1.406 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.0001774/0.5066, allocations: 220.7 kB / 0.9598 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.5067, allocations: 45.62 kB / 0.9599 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.5067, allocations: 40.09 kB / 0.9599 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5067, allocations: 2.688 kB / 0.9599 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5068, allocations: 4 kB / 0.9599 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5068, allocations: 3.938 kB / 0.9599 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.5087, allocations: 0.7837 MB / 0.9607 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5087, allocations: 1.062 kB / 0.9607 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.5087, allocations: 3.219 kB / 0.9607 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5088, allocations: 5.109 kB / 0.9607 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.5088, allocations: 24.05 kB / 0.9607 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5088, allocations: 0 / 0.9607 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5088, allocations: 1.406 kB / 0.9607 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.5104, allocations: 483.6 kB / 0.9612 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.5106, allocations: 247.4 kB / 0.9614 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/0.5107, allocations: 19.56 kB / 0.9614 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.5112, allocations: 31.22 kB / 0.9615 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.5112, allocations: 12.55 kB / 0.9615 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/0.5113, allocations: 56.97 kB / 0.9615 GB, free: 80 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002797/0.5116, allocations: 318.1 kB / 0.9618 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5116, allocations: 0 / 0.9618 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003269/0.5119, allocations: 69.17 kB / 0.9619 GB, free: 15.88 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.001955/0.5139, allocations: 1.046 MB / 0.9629 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.5151, allocations: 474.8 kB / 0.9634 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5151, allocations: 5.031 kB / 0.9634 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007531/0.5158, allocations: 118.1 kB / 0.9635 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.5162, allocations: 41.94 kB / 0.9635 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.5204, allocations: 3.116 MB / 0.9666 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.5207, allocations: 0.7915 MB / 0.9674 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.899e-05/0.5208, allocations: 13.48 kB / 0.9674 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.5208, allocations: 34.42 kB / 0.9674 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.5208, allocations: 0 / 0.9674 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.849/2.37, allocations: 6.619 MB / 0.9739 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/2.37, allocations: 245.5 kB / 0.9741 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/4.075, allocations: 5.406 kB / 0.9741 GB, free: 7.773 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)