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.0009313/0.0009314, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005911/0.005911, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.479/2.479, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003946, allocations: 8 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5868, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001894/0.5887, allocations: 1.448 MB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.5901, allocations: 0.6833 MB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.5902, allocations: 3.938 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.5903, allocations: 7.938 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.5905, allocations: 27.84 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009073/0.5914, allocations: 339.1 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006094/0.592, allocations: 0.5306 MB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.5922, allocations: 32.89 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005849/0.5927, allocations: 315.1 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.5931, allocations: 171.1 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.5932, allocations: 16 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.773e-05/0.5933, allocations: 16 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.5935, allocations: 111.7 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.5937, allocations: 228.4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.5943, allocations: 0.5743 MB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5943, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5943, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.5943, allocations: 0 / 1.028 GB, free: 11.37 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.001118/0.5955, allocations: 0.7808 MB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5955, allocations: 12.03 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.829e-05/0.5956, allocations: 38.75 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.5957, allocations: 60.45 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.5961, allocations: 338.1 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.5962, allocations: 20.55 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.5963, allocations: 28.38 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.5973, allocations: 251.3 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5973, allocations: 0 / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.5974, allocations: 3.984 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5974, allocations: 4 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008292/0.5982, allocations: 127.9 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.5995, allocations: 0.6836 MB / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.6006, allocations: 202.4 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007784/0.6014, allocations: 124.8 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.6014, allocations: 8 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009787/0.6024, allocations: 239.1 kB / 1.03 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.6024, allocations: 0 / 1.03 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002561/0.605, allocations: 0.5224 MB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.605, allocations: 63.34 kB / 1.031 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.6055, allocations: 445.8 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/0.6056, allocations: 41.69 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.6057, allocations: 101.4 kB / 1.031 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.6057, allocations: 39.5 kB / 1.032 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.6058, allocations: 37.7 kB / 1.032 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6059, allocations: 330.8 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.6062, allocations: 139.9 kB / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.6065, allocations: 197.9 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.6069, allocations: 306.7 kB / 1.032 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6069, allocations: 0 / 1.032 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008154/0.6077, allocations: 0.5163 MB / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-05/0.6078, allocations: 91.38 kB / 1.033 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.6078, allocations: 4 kB / 1.033 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.6079, allocations: 4.188 kB / 1.033 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.608, allocations: 27.92 kB / 1.033 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.608, allocations: 4 kB / 1.033 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.6085, allocations: 71.72 kB / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/0.6086, allocations: 59.98 kB / 1.033 GB, free: 5.168 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.0002237/0.6088, allocations: 216.3 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.6089, allocations: 39.53 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.912e-05/0.609, allocations: 43.78 kB / 1.034 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.609, allocations: 7.938 kB / 1.034 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.609, allocations: 0 / 1.034 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.609, allocations: 3.938 kB / 1.034 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.6111, allocations: 0.8105 MB / 1.034 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6111, allocations: 0 / 1.034 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.6112, allocations: 4 kB / 1.034 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6112, allocations: 0 / 1.034 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.6112, allocations: 23.91 kB / 1.034 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.6112, allocations: 0 / 1.034 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6113, allocations: 0 / 1.034 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.613, allocations: 0.5011 MB / 1.035 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.6132, allocations: 244.4 kB / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.6133, allocations: 23.94 kB / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.6138, allocations: 31.97 kB / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.6138, allocations: 15.97 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.6139, allocations: 63.97 kB / 1.035 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002994/0.6142, allocations: 315.1 kB / 1.036 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6142, allocations: 0 / 1.036 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003296/0.6145, allocations: 71.89 kB / 1.036 GB, free: 2.672 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.002032/0.6166, allocations: 1.069 MB / 1.037 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.6178, allocations: 487.8 kB / 1.037 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6178, allocations: 0 / 1.037 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007786/0.6186, allocations: 132.2 kB / 1.037 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.619, allocations: 38.94 kB / 1.037 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/0.6233, allocations: 3.129 MB / 1.04 GB, free: 13.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.6237, allocations: 0.7905 MB / 1.041 GB, free: 12.84 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.6238, allocations: 13.42 kB / 1.041 GB, free: 12.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.6238, allocations: 31.42 kB / 1.041 GB, free: 12.79 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.6238, allocations: 4 kB / 1.041 GB, free: 12.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.6682, allocations: 6.522 MB / 1.048 GB, free: 6.348 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.6684, allocations: 227.9 kB / 1.048 GB, free: 6.094 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.393, allocations: 0 / 1.048 GB, free: 6.094 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)