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.001037/0.001037, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.169/2.169, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4873, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002197/0.4895, allocations: 1.73 MB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.4905, allocations: 0.6309 MB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.4906, allocations: 1.656 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.394e-05/0.4907, allocations: 7.875 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.457e-05/0.4908, allocations: 34.88 kB / 0.9521 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.4914, allocations: 361.2 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.4918, allocations: 0.6343 MB / 0.9531 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.4919, allocations: 35.45 kB / 0.9531 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.4922, allocations: 309.8 kB / 0.9534 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.4924, allocations: 146.4 kB / 0.9535 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.4925, allocations: 45.19 kB / 0.9536 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.4926, allocations: 44.62 kB / 0.9536 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.709e-05/0.4927, allocations: 128.4 kB / 0.9537 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.4928, allocations: 218.3 kB / 0.9539 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.4932, allocations: 0.6021 MB / 0.9545 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4932, allocations: 1.375 kB / 0.9545 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4932, allocations: 0 / 0.9545 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4932, allocations: 0 / 0.9545 GB, free: 5.605 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.0008986/0.4941, allocations: 0.8995 MB / 0.9554 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.4942, allocations: 9.188 kB / 0.9554 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.4942, allocations: 42.11 kB / 0.9555 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.4943, allocations: 63.59 kB / 0.9555 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.4946, allocations: 333.1 kB / 0.9558 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.4947, allocations: 21.11 kB / 0.9559 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.4948, allocations: 31.77 kB / 0.9559 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009439/0.4957, allocations: 241.1 kB / 0.9561 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.4957, allocations: 0 / 0.9561 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.4958, allocations: 5.562 kB / 0.9561 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4958, allocations: 1.906 kB / 0.9561 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.4965, allocations: 113.5 kB / 0.9562 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.4975, allocations: 0.6786 MB / 0.9569 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009805/0.4985, allocations: 183.2 kB / 0.9571 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.4992, allocations: 120.1 kB / 0.9572 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.4993, allocations: 2.75 kB / 0.9572 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008487/0.5001, allocations: 232.9 kB / 0.9574 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.5001, allocations: 9.312 kB / 0.9574 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002429/0.5026, allocations: 492.9 kB / 0.9579 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.5026, allocations: 69.34 kB / 0.958 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.5029, allocations: 442.9 kB / 0.9584 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.503, allocations: 42.38 kB / 0.9584 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.5031, allocations: 97.48 kB / 0.9585 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.5031, allocations: 33.64 kB / 0.9585 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.5033, allocations: 141.6 kB / 0.9587 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.63e-05/0.5033, allocations: 329.7 kB / 0.959 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.5036, allocations: 144 kB / 0.9591 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.5039, allocations: 189.7 kB / 0.9593 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.5042, allocations: 298.4 kB / 0.9596 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5042, allocations: 1.062 kB / 0.9596 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007277/0.5049, allocations: 0.5251 MB / 0.9601 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.505, allocations: 100.6 kB / 0.9602 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.505, allocations: 2.688 kB / 0.9602 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.505, allocations: 6.469 kB / 0.9602 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5051, allocations: 30.28 kB / 0.9602 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5052, allocations: 2.5 kB / 0.9602 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.5056, allocations: 62.11 kB / 0.9603 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.5057, allocations: 65.34 kB / 0.9604 GB, free: 1.324 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.0001719/0.5059, allocations: 220.8 kB / 0.9606 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.5059, allocations: 43.75 kB / 0.9606 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.506, allocations: 35.39 kB / 0.9607 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.506, allocations: 0 / 0.9607 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.506, allocations: 3.469 kB / 0.9607 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.506, allocations: 7.922 kB / 0.9607 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.5079, allocations: 0.7755 MB / 0.9614 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.508, allocations: 1.906 kB / 0.9614 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.508, allocations: 6.359 kB / 0.9614 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.508, allocations: 0.9062 kB / 0.9614 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.508, allocations: 27.58 kB / 0.9615 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.508, allocations: 5.484 kB / 0.9615 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5081, allocations: 4 kB / 0.9615 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.5097, allocations: 476.2 kB / 0.9619 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.5099, allocations: 251 kB / 0.9622 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.51, allocations: 22.69 kB / 0.9622 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.5104, allocations: 31.58 kB / 0.9622 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.5105, allocations: 13.12 kB / 0.9622 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.5105, allocations: 57.5 kB / 0.9623 GB, free: 4 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003052/0.5108, allocations: 322 kB / 0.9626 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5108, allocations: 0 / 0.9626 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003252/0.5112, allocations: 63.84 kB / 0.9626 GB, free: 15.8 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.001942/0.5131, allocations: 1.047 MB / 0.9637 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.5143, allocations: 480 kB / 0.9641 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5143, allocations: 5.062 kB / 0.9641 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007506/0.5151, allocations: 121.7 kB / 0.9642 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.5155, allocations: 40.53 kB / 0.9643 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.5194, allocations: 2.994 MB / 0.9672 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.5196, allocations: 0.7903 MB / 0.968 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.475e-05/0.5197, allocations: 14.33 kB / 0.968 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.5198, allocations: 29.67 kB / 0.968 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5198, allocations: 1.25 kB / 0.968 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.761/2.28, allocations: 6.721 MB / 0.9746 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.823/12.1, allocations: 15.5 kB / 0.9746 GB, free: 7.742 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)