Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_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.001058/0.001057, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001211/0.001211, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008444/0.0008446, allocations: 14.94 kB / 0.6737 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3263, allocations: 116.3 MB / 0.7873 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001768/0.3281, allocations: 1.363 MB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.329, allocations: 455 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.3291, allocations: 3.938 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.3291, allocations: 7.922 kB / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3293, allocations: 35.89 kB / 0.7891 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.3299, allocations: 201.6 kB / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.3302, allocations: 195.6 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.3304, allocations: 25.09 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.3307, allocations: 183.5 kB / 0.7896 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.3309, allocations: 135.7 kB / 0.7898 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.331, allocations: 12 kB / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-05/0.3311, allocations: 12 kB / 0.7898 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3312, allocations: 79.78 kB / 0.7899 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.3313, allocations: 73.58 kB / 0.7899 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.3317, allocations: 327.5 kB / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3317, allocations: 0 / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.679e-06/0.3317, allocations: 0 / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3317, allocations: 3.938 kB / 0.7903 GB, free: 8.73 MB / 0.6075 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.001113/0.3328, allocations: 0.6953 MB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3329, allocations: 8.031 kB / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.249e-05/0.333, allocations: 42.55 kB / 0.791 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.034e-05/0.3331, allocations: 39.58 kB / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.3334, allocations: 267.2 kB / 0.7913 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.3335, allocations: 16 kB / 0.7913 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.3336, allocations: 19.94 kB / 0.7913 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3346, allocations: 243.9 kB / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3346, allocations: 0 / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.3346, allocations: 11.98 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3347, allocations: 0 / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.3354, allocations: 119.9 kB / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3366, allocations: 0.5706 MB / 0.7922 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3376, allocations: 186.5 kB / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.3377, allocations: 4 kB / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009595/0.3387, allocations: 227.1 kB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.3387, allocations: 0 / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002446/0.3411, allocations: 0.4915 MB / 0.7931 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3412, allocations: 59.39 kB / 0.7932 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.3415, allocations: 312.5 kB / 0.7935 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/0.3416, allocations: 41.7 kB / 0.7935 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.3417, allocations: 101 kB / 0.7936 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.3418, allocations: 43.48 kB / 0.7936 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.3418, allocations: 7.984 kB / 0.7937 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3419, allocations: 330.8 kB / 0.794 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3421, allocations: 87.95 kB / 0.7941 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.3424, allocations: 145.9 kB / 0.7942 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.3426, allocations: 167.3 kB / 0.7943 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3426, allocations: 0 / 0.7943 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006693/0.3433, allocations: 419 kB / 0.7947 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/0.3434, allocations: 75.39 kB / 0.7948 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3434, allocations: 0 / 0.7948 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3435, allocations: 4 kB / 0.7948 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.3436, allocations: 28.09 kB / 0.7949 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3436, allocations: 4 kB / 0.7949 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.3441, allocations: 67.8 kB / 0.7949 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.3442, allocations: 39.98 kB / 0.795 GB, free: 3.598 MB / 0.6075 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002061/0.3444, allocations: 192.3 kB / 0.7951 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.3445, allocations: 23.72 kB / 0.7952 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.3445, allocations: 30.36 kB / 0.7952 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3445, allocations: 0 / 0.7952 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3445, allocations: 0 / 0.7952 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3445, allocations: 3.984 kB / 0.7952 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.3466, allocations: 0.7674 MB / 0.7959 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3466, allocations: 4 kB / 0.7959 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.3467, allocations: 4 kB / 0.796 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3467, allocations: 0 / 0.796 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.3467, allocations: 15.97 kB / 0.796 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3467, allocations: 0 / 0.796 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.3467, allocations: 0 / 0.796 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.3484, allocations: 485 kB / 0.7964 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.3486, allocations: 188.7 kB / 0.7966 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.3487, allocations: 19.98 kB / 0.7966 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.3492, allocations: 31.97 kB / 0.7967 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.3492, allocations: 15.92 kB / 0.7967 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.3493, allocations: 43.97 kB / 0.7967 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002174/0.3495, allocations: 231 kB / 0.7969 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3495, allocations: 0 / 0.7969 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003622/0.3499, allocations: 55.86 kB / 0.797 GB, free: 1.414 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002015/0.3519, allocations: 1.029 MB / 0.798 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.3531, allocations: 417.8 kB / 0.7984 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3531, allocations: 3.938 kB / 0.7984 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007454/0.3539, allocations: 127.9 kB / 0.7985 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3542, allocations: 28.69 kB / 0.7985 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.3563, allocations: 1.719 MB / 0.8002 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3566, allocations: 0.7555 MB / 0.801 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.329e-05/0.3567, allocations: 17.42 kB / 0.801 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.3568, allocations: 31.42 kB / 0.801 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of SimCode: time 1.092e-06/0.3568, allocations: 0 / 0.801 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.3731, allocations: 5.027 MB / 0.8059 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.3733, allocations: 222.3 kB / 0.8061 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.308, allocations: 0 / 0.8061 GB, free: 8.078 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: