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.001378/0.001378, 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.001341/0.001341, allocations: 194.6 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.589/2.589, allocations: 437.1 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.89 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5988/0.6003, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002782/0.6031, allocations: 1.739 MB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.6043, allocations: 0.6207 MB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.6044, allocations: 3.938 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.904e-05/0.6046, allocations: 11.81 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.6047, allocations: 35.78 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.6055, allocations: 361.9 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.6061, allocations: 0.6398 MB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.6063, allocations: 29.11 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/0.6067, allocations: 303.6 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.607, allocations: 151.3 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.6071, allocations: 47.94 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.6072, allocations: 40 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.6074, allocations: 127.6 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.6076, allocations: 215 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.6082, allocations: 0.602 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6082, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6082, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.6082, allocations: 0 / 1.022 GB, free: 13.55 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.001301/0.6095, allocations: 0.9015 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6095, allocations: 8.031 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.683e-05/0.6096, allocations: 42.73 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.6097, allocations: 56.38 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.6101, allocations: 342.1 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/0.6102, allocations: 28.55 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-05/0.6103, allocations: 24.36 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.6113, allocations: 239.1 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.6113, allocations: 0 / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.6114, allocations: 4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6114, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.6122, allocations: 115.9 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.6135, allocations: 0.6836 MB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.6146, allocations: 182.5 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/0.6154, allocations: 117 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.6154, allocations: 8 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009675/0.6164, allocations: 231 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.6164, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002641/0.619, allocations: 499.2 kB / 1.026 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.6191, allocations: 67.38 kB / 1.026 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.6196, allocations: 445.8 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.383e-05/0.6197, allocations: 37.7 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.6198, allocations: 101.3 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.6198, allocations: 39.55 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.6201, allocations: 141.3 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6202, allocations: 322.8 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.6205, allocations: 147.8 kB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.6208, allocations: 198.4 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.6212, allocations: 303 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6212, allocations: 0 / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008438/0.6221, allocations: 0.5201 MB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.233e-05/0.6222, allocations: 100.8 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6222, allocations: 0 / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6222, allocations: 4 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6224, allocations: 24.11 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.6224, allocations: 7.984 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.6229, allocations: 59.8 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.229e-05/0.623, allocations: 59.98 kB / 1.028 GB, free: 7.223 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.0002488/0.6233, allocations: 216.3 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.6233, allocations: 47.52 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.281e-05/0.6234, allocations: 39.78 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6234, allocations: 0 / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6234, allocations: 0 / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6234, allocations: 3.938 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.6256, allocations: 0.7948 MB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6257, allocations: 0 / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.6257, allocations: 7.984 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.6257, allocations: 0 / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.6257, allocations: 27.92 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6258, allocations: 0 / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6258, allocations: 0 / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.6275, allocations: 477.1 kB / 1.03 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.6278, allocations: 248.4 kB / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/0.6279, allocations: 19.94 kB / 1.03 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.6284, allocations: 35.95 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.6285, allocations: 8 kB / 1.03 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-05/0.6286, allocations: 55.97 kB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003372/0.6289, allocations: 323 kB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6289, allocations: 0 / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004007/0.6293, allocations: 67.98 kB / 1.03 GB, free: 4.785 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.002097/0.6314, allocations: 1.041 MB / 1.031 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.6328, allocations: 480.6 kB / 1.032 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6329, allocations: 0 / 1.032 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007759/0.6336, allocations: 128.2 kB / 1.032 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.6341, allocations: 42.78 kB / 1.032 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.6385, allocations: 2.996 MB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.6389, allocations: 0.794 MB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.072e-05/0.639, allocations: 13.42 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.639, allocations: 35.36 kB / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.6391, allocations: 0 / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.6634, allocations: 6.715 MB / 1.042 GB, free: 8.367 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.714, allocations: 3.938 kB / 1.042 GB, free: 8.363 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)