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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001354/0.001354, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001523/0.001523, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 71.89 kB / 0.8689 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6528/0.6544, allocations: 151.6 MB / 1.017 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002612/0.657, allocations: 1.798 MB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.6582, allocations: 0.6186 MB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.6582, allocations: 7.938 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.565e-05/0.6583, allocations: 7.875 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.6585, allocations: 31.91 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.6592, allocations: 340.6 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005772/0.6597, allocations: 0.6321 MB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.6599, allocations: 36.83 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.6603, allocations: 371.1 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.6606, allocations: 183.1 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.6607, allocations: 40 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.412e-05/0.6608, allocations: 40 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.6609, allocations: 127.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.6611, allocations: 234.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.6616, allocations: 0.6056 MB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6616, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6617, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.6617, allocations: 0 / 1.022 GB, free: 13.59 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.001252/0.6629, allocations: 0.9093 MB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.663, allocations: 8.031 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.27e-05/0.663, allocations: 42.73 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.6631, allocations: 56.38 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.6635, allocations: 338 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.6636, allocations: 20.55 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-05/0.6637, allocations: 32.36 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009609/0.6646, allocations: 241.7 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.6646, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.6647, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.6647, allocations: 7.938 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.6654, allocations: 115.8 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.6667, allocations: 0.672 MB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.6677, allocations: 193.1 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007168/0.6684, allocations: 112.8 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.6685, allocations: 7.984 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009645/0.6694, allocations: 231.1 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.6695, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002514/0.672, allocations: 499 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.672, allocations: 63.39 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.6725, allocations: 445.8 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.533e-05/0.6726, allocations: 37.7 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.6727, allocations: 105.3 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.6727, allocations: 35.61 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.6729, allocations: 141.3 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.673, allocations: 326.8 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.6733, allocations: 139.9 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.6736, allocations: 197.9 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.674, allocations: 308.4 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.674, allocations: 0 / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008307/0.6749, allocations: 0.5241 MB / 1.027 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.043e-05/0.675, allocations: 99.38 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.675, allocations: 0 / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.675, allocations: 4 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.6752, allocations: 19.92 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.6752, allocations: 7.984 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.6757, allocations: 67.86 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/0.6758, allocations: 59.98 kB / 1.028 GB, free: 7.258 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.0002409/0.676, allocations: 216.3 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.6761, allocations: 39.52 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.6762, allocations: 43.8 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6762, allocations: 0 / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6762, allocations: 0 / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6762, allocations: 3.938 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.6783, allocations: 0.787 MB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6784, allocations: 4 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.6784, allocations: 3.984 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6784, allocations: 8 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.6784, allocations: 23.92 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6785, allocations: 0 / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6785, allocations: 0 / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.6801, allocations: 480.5 kB / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.6804, allocations: 252.3 kB / 1.03 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.6805, allocations: 19.94 kB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004674/0.681, allocations: 27.97 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.681, allocations: 11.98 kB / 1.03 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.6811, allocations: 55.97 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002848/0.6814, allocations: 319.1 kB / 1.03 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6814, allocations: 4 kB / 1.03 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003721/0.6817, allocations: 67.98 kB / 1.03 GB, free: 4.82 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.001999/0.6838, allocations: 1.056 MB / 1.031 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.685, allocations: 479.4 kB / 1.031 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.685, allocations: 4.375 kB / 1.031 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007534/0.6858, allocations: 127.8 kB / 1.032 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.6862, allocations: 41.16 kB / 1.032 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.6903, allocations: 3.103 MB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.6906, allocations: 0.794 MB / 1.035 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.484e-05/0.6907, allocations: 17.42 kB / 1.035 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.6908, allocations: 27.42 kB / 1.035 GB, free: 14.98 MB / 0.795 GB Notification: Performance of SimCode: time 1.703e-06/0.6908, allocations: 4 kB / 1.035 GB, free: 14.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.7077, allocations: 6.803 MB / 1.042 GB, free: 8.242 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.7079, allocations: 222.2 kB / 1.042 GB, free: 7.992 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.407, allocations: 0 / 1.042 GB, free: 7.992 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)