Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001197/0.001197, 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.001253/0.001253, 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.404/2.404, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 75.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4802, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002245/0.4825, allocations: 1.802 MB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.4836, allocations: 0.6871 MB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.4837, allocations: 4 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.527e-05/0.4838, allocations: 3.938 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.4839, allocations: 31.84 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.4845, allocations: 339.3 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.4848, allocations: 0.5305 MB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.4849, allocations: 40.88 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.4853, allocations: 315.1 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.4855, allocations: 171.1 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.345e-05/0.4856, allocations: 19.94 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.4856, allocations: 12 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.4858, allocations: 115.6 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.486, allocations: 206.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.4864, allocations: 0.59 MB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.4864, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4864, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.4864, allocations: 0 / 1.021 GB, free: 13.92 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.001031/0.4875, allocations: 0.9054 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.4875, allocations: 8.031 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.4875, allocations: 42.73 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.4876, allocations: 52.47 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.488, allocations: 334.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.488, allocations: 24.55 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.4881, allocations: 32.36 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/0.489, allocations: 241.7 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.4891, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.4891, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4891, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007705/0.4899, allocations: 115.9 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.4909, allocations: 0.6759 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.4919, allocations: 186.5 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007268/0.4927, allocations: 112.8 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4927, allocations: 8 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008749/0.4936, allocations: 231 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.4936, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002411/0.496, allocations: 495.2 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.4961, allocations: 59.41 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.4964, allocations: 453.8 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.4965, allocations: 37.7 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.4966, allocations: 105.3 kB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.4966, allocations: 35.59 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.4968, allocations: 137.3 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.4969, allocations: 330.8 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.4972, allocations: 143.9 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.4975, allocations: 193.9 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.4978, allocations: 303.1 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4978, allocations: 0 / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007626/0.4986, allocations: 0.5255 MB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/0.4987, allocations: 101.2 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4987, allocations: 0 / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.4987, allocations: 4 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.4988, allocations: 19.92 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.4989, allocations: 4.188 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.4993, allocations: 71.72 kB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/0.4994, allocations: 59.98 kB / 1.027 GB, free: 7.605 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.0002028/0.4996, allocations: 216.3 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.4997, allocations: 35.53 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.4997, allocations: 51.78 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4997, allocations: 0 / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4998, allocations: 0 / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4998, allocations: 3.938 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.5018, allocations: 0.787 MB / 1.028 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5018, allocations: 4 kB / 1.028 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.5019, allocations: 4 kB / 1.028 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5019, allocations: 4 kB / 1.028 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.5019, allocations: 31.84 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5019, allocations: 0 / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5019, allocations: 0 / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.5036, allocations: 476.1 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.5039, allocations: 248.4 kB / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.504, allocations: 19.94 kB / 1.029 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.5044, allocations: 35.97 kB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.5045, allocations: 11.98 kB / 1.029 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.5045, allocations: 55.97 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002548/0.5048, allocations: 327 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5048, allocations: 0 / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003164/0.5051, allocations: 67.98 kB / 1.03 GB, free: 5.156 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.001944/0.5071, allocations: 1.049 MB / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.5083, allocations: 470.5 kB / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5083, allocations: 0 / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007529/0.509, allocations: 120.4 kB / 1.031 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.5094, allocations: 44.72 kB / 1.031 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.5133, allocations: 3.115 MB / 1.034 GB, free: 196 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.5135, allocations: 0.7868 MB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.672e-05/0.5136, allocations: 13.59 kB / 1.035 GB, free: 15.36 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.5137, allocations: 35.42 kB / 1.035 GB, free: 15.33 MB / 0.795 GB Notification: Performance of SimCode: time 2.01e-07/0.5137, allocations: 0 / 1.035 GB, free: 15.33 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.5295, allocations: 6.615 MB / 1.042 GB, free: 8.762 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/0.5298, allocations: 218.4 kB / 1.042 GB, free: 8.512 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.234, allocations: 8.906 kB / 1.042 GB, free: 8.508 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)