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.0012/0.0012, allocations: 108 kB / 15.61 MB, free: 152 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.001157/0.001157, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.186/1.186, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.046/2.046, allocations: 390.3 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 68.08 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.4718, allocations: 140.4 MB / 0.9497 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002174/0.474, allocations: 1.742 MB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009895/0.475, allocations: 0.6217 MB / 0.9521 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.4751, allocations: 0 / 0.9521 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.536e-05/0.4752, allocations: 11.88 kB / 0.9521 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.281e-05/0.4753, allocations: 32.09 kB / 0.9521 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.4759, allocations: 364.7 kB / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.4763, allocations: 0.6305 MB / 0.9531 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.4764, allocations: 39.36 kB / 0.9531 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.4766, allocations: 301 kB / 0.9534 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.4768, allocations: 151 kB / 0.9535 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.974e-05/0.4769, allocations: 45.12 kB / 0.9536 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.477, allocations: 41.47 kB / 0.9536 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.885e-05/0.4771, allocations: 122.2 kB / 0.9537 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.4773, allocations: 225.8 kB / 0.9539 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.4777, allocations: 0.5985 MB / 0.9545 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4777, allocations: 0 / 0.9545 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4777, allocations: 0 / 0.9545 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4777, allocations: 1.156 kB / 0.9545 GB, free: 5.73 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.0009074/0.4786, allocations: 0.9062 MB / 0.9554 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.4786, allocations: 10.53 kB / 0.9554 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.4787, allocations: 41.58 kB / 0.9555 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.4788, allocations: 57 kB / 0.9555 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.4791, allocations: 334.9 kB / 0.9558 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.4791, allocations: 21.17 kB / 0.9559 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.4792, allocations: 31.52 kB / 0.9559 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/0.4801, allocations: 242 kB / 0.9561 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-06/0.4802, allocations: 3.938 kB / 0.9561 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.4802, allocations: 6.844 kB / 0.9561 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.4802, allocations: 1.031 kB / 0.9561 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007574/0.481, allocations: 114 kB / 0.9562 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009889/0.482, allocations: 0.6771 MB / 0.9569 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/0.483, allocations: 180.8 kB / 0.9571 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.4837, allocations: 117.1 kB / 0.9572 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.4837, allocations: 5.094 kB / 0.9572 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008495/0.4846, allocations: 239.7 kB / 0.9574 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.4846, allocations: 0 / 0.9574 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002429/0.487, allocations: 495.9 kB / 0.9579 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.4871, allocations: 64.98 kB / 0.9579 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.4874, allocations: 439.7 kB / 0.9584 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.4874, allocations: 45.31 kB / 0.9584 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.4875, allocations: 97.39 kB / 0.9585 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.4875, allocations: 38.16 kB / 0.9585 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.4877, allocations: 137.3 kB / 0.9587 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.4878, allocations: 333.9 kB / 0.959 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.488, allocations: 135.5 kB / 0.9591 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.4883, allocations: 198.6 kB / 0.9593 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.4886, allocations: 296.9 kB / 0.9596 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4886, allocations: 4.75 kB / 0.9596 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007279/0.4893, allocations: 0.53 MB / 0.9601 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.4894, allocations: 93.44 kB / 0.9602 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4894, allocations: 1.312 kB / 0.9602 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4894, allocations: 7.828 kB / 0.9602 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4896, allocations: 24.97 kB / 0.9602 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4896, allocations: 7.594 kB / 0.9602 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.4901, allocations: 65.67 kB / 0.9603 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.4901, allocations: 64.77 kB / 0.9604 GB, free: 1.441 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.0001716/0.4903, allocations: 221.3 kB / 0.9606 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.4904, allocations: 37.19 kB / 0.9606 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.4904, allocations: 40.11 kB / 0.9607 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4904, allocations: 2.344 kB / 0.9607 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4904, allocations: 0 / 0.9607 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4905, allocations: 9.109 kB / 0.9607 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.4924, allocations: 0.7746 MB / 0.9614 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4924, allocations: 1.281 kB / 0.9614 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.4924, allocations: 12.05 kB / 0.9614 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4924, allocations: 0 / 0.9614 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.4925, allocations: 28.47 kB / 0.9615 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4925, allocations: 3.938 kB / 0.9615 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4925, allocations: 1.375 kB / 0.9615 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.4941, allocations: 480.5 kB / 0.9619 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.4943, allocations: 247.7 kB / 0.9622 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.4944, allocations: 18.12 kB / 0.9622 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.4948, allocations: 35.89 kB / 0.9622 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.4949, allocations: 4.562 kB / 0.9622 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/0.4949, allocations: 61.66 kB / 0.9623 GB, free: 128 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002796/0.4952, allocations: 317.2 kB / 0.9626 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4952, allocations: 4 kB / 0.9626 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003221/0.4956, allocations: 68.5 kB / 0.9626 GB, free: 15.92 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.001995/0.4976, allocations: 1.044 MB / 0.9637 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.4988, allocations: 478.9 kB / 0.9641 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4988, allocations: 5.562 kB / 0.9641 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000784/0.4996, allocations: 123.6 kB / 0.9642 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.5, allocations: 36.22 kB / 0.9643 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.504, allocations: 2.999 MB / 0.9672 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5043, allocations: 0.7867 MB / 0.968 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.511e-05/0.5044, allocations: 14.39 kB / 0.968 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.5045, allocations: 37.58 kB / 0.968 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5045, allocations: 1.438 kB / 0.968 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2094/0.7138, allocations: 6.725 MB / 0.9746 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.516, allocations: 9.984 kB / 0.9746 GB, free: 7.906 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)