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.0009127/0.0009129, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001004/0.001004, allocations: 172.7 kB / 15.95 MB, free: 208 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.301/1.301, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.587/1.587, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004806/0.0004806, allocations: 17.84 kB / 0.6739 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2041, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001503/0.2056, allocations: 1.371 MB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.2064, allocations: 471 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.2065, allocations: 0 / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.714e-05/0.2066, allocations: 7.875 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.412e-05/0.2067, allocations: 23.91 kB / 0.7892 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.2072, allocations: 212.4 kB / 0.7895 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.2075, allocations: 323.4 kB / 0.7898 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.045e-05/0.2076, allocations: 21.11 kB / 0.7898 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.2079, allocations: 243.5 kB / 0.79 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.2081, allocations: 139.7 kB / 0.7901 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.2081, allocations: 11.94 kB / 0.7902 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.501e-05/0.2082, allocations: 15.94 kB / 0.7902 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.2083, allocations: 79.78 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.2084, allocations: 85.56 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.2086, allocations: 327.5 kB / 0.7906 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2086, allocations: 0 / 0.7906 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2086, allocations: 0 / 0.7906 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.2086, allocations: 0 / 0.7906 GB, free: 8.492 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.0007572/0.2094, allocations: 0.6915 MB / 0.7913 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2094, allocations: 8.031 kB / 0.7913 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.2095, allocations: 38.56 kB / 0.7914 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.33e-05/0.2096, allocations: 47.56 kB / 0.7914 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.2098, allocations: 275.1 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.2099, allocations: 12 kB / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.21, allocations: 23.98 kB / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008149/0.2108, allocations: 240.3 kB / 0.7919 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2108, allocations: 0 / 0.7919 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.2108, allocations: 4 kB / 0.7919 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2108, allocations: 4 kB / 0.7919 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006276/0.2115, allocations: 123.9 kB / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008956/0.2124, allocations: 0.5667 MB / 0.7926 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008368/0.2132, allocations: 200.6 kB / 0.7928 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006055/0.2138, allocations: 120.8 kB / 0.7929 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2139, allocations: 4 kB / 0.7929 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007535/0.2146, allocations: 231.1 kB / 0.7931 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.2146, allocations: 0 / 0.7931 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002023/0.2167, allocations: 0.4883 MB / 0.7936 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.2167, allocations: 63.41 kB / 0.7937 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.217, allocations: 308.5 kB / 0.794 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.217, allocations: 45.69 kB / 0.794 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.2171, allocations: 105 kB / 0.7941 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.2171, allocations: 31.61 kB / 0.7941 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.2172, allocations: 8 kB / 0.7942 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.2173, allocations: 322.8 kB / 0.7945 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.2174, allocations: 99.88 kB / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.2177, allocations: 146 kB / 0.7947 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.2179, allocations: 155.4 kB / 0.7948 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.2179, allocations: 4 kB / 0.7949 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005903/0.2185, allocations: 420.6 kB / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/0.2185, allocations: 79.38 kB / 0.7953 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2186, allocations: 4 kB / 0.7953 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2186, allocations: 4 kB / 0.7953 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.2187, allocations: 23.86 kB / 0.7954 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.2187, allocations: 4 kB / 0.7954 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.2191, allocations: 67.89 kB / 0.7954 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.2192, allocations: 43.98 kB / 0.7955 GB, free: 3.223 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.0001644/0.2194, allocations: 191.1 kB / 0.7957 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.2194, allocations: 27.62 kB / 0.7957 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.2195, allocations: 34.36 kB / 0.7957 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2195, allocations: 4 kB / 0.7957 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2195, allocations: 4 kB / 0.7957 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2195, allocations: 0 / 0.7957 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.2212, allocations: 0.7481 MB / 0.7964 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2212, allocations: 0 / 0.7964 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.2213, allocations: 4 kB / 0.7965 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2213, allocations: 0 / 0.7965 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.2213, allocations: 19.97 kB / 0.7965 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.2213, allocations: 8 kB / 0.7965 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2213, allocations: 3.938 kB / 0.7965 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.2228, allocations: 477.1 kB / 0.7969 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.223, allocations: 184.7 kB / 0.7971 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.223, allocations: 16 kB / 0.7971 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.2234, allocations: 43.95 kB / 0.7972 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.2235, allocations: 11.88 kB / 0.7972 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.2235, allocations: 43.97 kB / 0.7972 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001919/0.2237, allocations: 231 kB / 0.7974 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2237, allocations: 0 / 0.7974 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003027/0.224, allocations: 55.89 kB / 0.7975 GB, free: 1.047 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.001747/0.2258, allocations: 1.029 MB / 0.7985 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009836/0.2268, allocations: 413.3 kB / 0.7989 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2268, allocations: 0 / 0.7989 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006339/0.2274, allocations: 140.2 kB / 0.799 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2278, allocations: 24.64 kB / 0.7991 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.2305, allocations: 1.32 MB / 0.8003 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.2309, allocations: 0.7477 MB / 0.8011 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.933e-05/0.231, allocations: 17.42 kB / 0.8011 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.2311, allocations: 39.36 kB / 0.8011 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2311, allocations: 0 / 0.8011 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.2472, allocations: 5.074 MB / 0.8061 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.2475, allocations: 219.9 kB / 0.8063 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/1.772, allocations: 0.75 kB / 0.8063 GB, free: 8.082 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: