Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.45/1.45, allocations: 287.4 MB / 302.6 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009312/0.0009313, allocations: 170.3 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.132/1.132, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006657/0.0006658, allocations: 101.2 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 14.39 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1451, allocations: 115.3 MB / 0.9788 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001214/0.1463, allocations: 1.355 MB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006283/0.147, allocations: 461.5 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.147, allocations: 0 / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.731e-05/0.1471, allocations: 7.922 kB / 0.9805 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.1472, allocations: 28.72 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.1477, allocations: 222.6 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.1479, allocations: 307.5 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/0.148, allocations: 29.7 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.1482, allocations: 227.5 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1484, allocations: 135.7 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.1484, allocations: 16 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.1485, allocations: 8 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.1486, allocations: 79.78 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.1486, allocations: 73.58 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1488, allocations: 319.2 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1488, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1488, allocations: 4 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.1488, allocations: 0 / 0.9819 GB, free: 24.79 MB / 0.6198 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.0007722/0.1496, allocations: 0.6492 MB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.1496, allocations: 8.031 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.1497, allocations: 38.75 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.1497, allocations: 40.55 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.15, allocations: 276.2 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.15, allocations: 16.56 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.1501, allocations: 16.38 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.1503, allocations: 179.6 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1503, allocations: 4 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.1503, allocations: 4 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1504, allocations: 7.938 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1505, allocations: 63.95 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008341/0.1513, allocations: 0.5589 MB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.1516, allocations: 130.7 kB / 0.9839 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.938e-05/0.1517, allocations: 64.83 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1517, allocations: 0 / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003495/0.152, allocations: 232 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.152, allocations: 0 / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004356/0.1525, allocations: 283.3 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.1525, allocations: 67.38 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1527, allocations: 316.5 kB / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.1528, allocations: 45.64 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.1528, allocations: 93.05 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.1529, allocations: 47.44 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.1529, allocations: 8 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.788e-05/0.1529, allocations: 330.8 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.1531, allocations: 100.2 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1533, allocations: 158.4 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.1536, allocations: 258.6 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1536, allocations: 0 / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005347/0.1541, allocations: 443.9 kB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.1542, allocations: 83.31 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1542, allocations: 4 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1542, allocations: 4 kB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1543, allocations: 27.92 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1543, allocations: 8.188 kB / 0.9863 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.1548, allocations: 67.8 kB / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.1548, allocations: 51.97 kB / 0.9864 GB, free: 19.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$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 (28): * Single equations (assignments): 26 * 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.0001255/0.155, allocations: 197.7 kB / 0.9866 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.155, allocations: 23.72 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.1551, allocations: 30.36 kB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1551, allocations: 0 / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1551, allocations: 0 / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1551, allocations: 7.969 kB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.1556, allocations: 0.5996 MB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1556, allocations: 4 kB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.1556, allocations: 11.98 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1557, allocations: 0 / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.1557, allocations: 11.98 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1557, allocations: 4 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1557, allocations: 7.875 kB / 0.9873 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.156, allocations: 324.7 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.1561, allocations: 192.5 kB / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.1562, allocations: 8 kB / 0.9878 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.1564, allocations: 19.98 kB / 0.9878 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.1564, allocations: 19.91 kB / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.1565, allocations: 31.98 kB / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001357/0.1566, allocations: 223 kB / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1566, allocations: 0 / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002544/0.1569, allocations: 59.98 kB / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.00046/0.1573, allocations: 0.8831 MB / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.1578, allocations: 354.6 kB / 0.9893 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1578, allocations: 0 / 0.9893 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1579, allocations: 75.91 kB / 0.9894 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1582, allocations: 40.94 kB / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1597, allocations: 1.306 MB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.1598, allocations: 0.7556 MB / 0.9915 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.16, allocations: 37.42 kB / 0.9915 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1601, allocations: 55.41 kB / 0.9916 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1601, allocations: 0 / 0.9916 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.1965, allocations: 5.53 MB / 0.997 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001303/0.1967, allocations: 231.5 kB / 0.9972 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.811, allocations: 0 / 0.9972 GB, free: 8.816 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)