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.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.457/1.457, allocations: 287.4 MB / 302.6 MB, free: 8.254 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.00102/0.00102, allocations: 181.1 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.15/1.15, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007015/0.0007016, allocations: 101.2 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003607, allocations: 17.44 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, 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.CalendarTimeMonths): time 0.001323/0.1537, allocations: 1.354 MB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007051/0.1544, allocations: 463 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.1545, allocations: 0 / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.864e-05/0.1546, allocations: 7.938 kB / 0.9805 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.1547, allocations: 23.84 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.1553, allocations: 210.1 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1555, allocations: 307.5 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.521e-05/0.1556, allocations: 33.7 kB / 0.9811 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.1559, allocations: 235.5 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.1561, allocations: 131.7 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.1561, allocations: 12 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.176e-05/0.1562, allocations: 8 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.1563, allocations: 83.77 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.1563, allocations: 73.58 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1565, allocations: 311.2 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1566, allocations: 4 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1566, allocations: 4 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.1566, allocations: 3.938 kB / 0.9819 GB, free: 24.8 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.0008594/0.1574, allocations: 0.6472 MB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1575, allocations: 11.97 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.1575, allocations: 42.73 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.1576, allocations: 40.56 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1579, allocations: 276.2 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.1579, allocations: 20.55 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.158, allocations: 16.38 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.1582, allocations: 182.6 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1583, allocations: 0 / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.1583, allocations: 0 / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1583, allocations: 4 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1584, allocations: 59.97 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.1593, allocations: 0.555 MB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.1596, allocations: 134.6 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.1597, allocations: 68.83 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1597, allocations: 0 / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.1601, allocations: 233.8 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.1601, allocations: 0 / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004512/0.1605, allocations: 285.1 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.1606, allocations: 59.41 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1608, allocations: 316.5 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1608, allocations: 37.7 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.1609, allocations: 105 kB / 0.9849 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.1609, allocations: 43.45 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.1609, allocations: 12 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.161, allocations: 330.8 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.1612, allocations: 100.2 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1614, allocations: 158.4 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.1617, allocations: 254.2 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1617, allocations: 0 / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005543/0.1622, allocations: 451.8 kB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.1623, allocations: 77.73 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1623, allocations: 4 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1623, allocations: 4 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1625, allocations: 31.91 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1625, allocations: 4 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.1629, allocations: 71.86 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.163, allocations: 47.98 kB / 0.9864 GB, free: 19.86 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.0001355/0.1631, allocations: 193.7 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.1632, allocations: 27.66 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.1632, allocations: 34.36 kB / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1632, allocations: 0 / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1632, allocations: 4 kB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1633, allocations: 0 / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.1638, allocations: 0.6035 MB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1638, allocations: 4 kB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.1639, allocations: 11.98 kB / 0.9873 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1639, allocations: 0 / 0.9873 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1639, allocations: 11.98 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1639, allocations: 4 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1639, allocations: 3.938 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.1642, allocations: 333.2 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.1644, allocations: 188.5 kB / 0.9878 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.1644, allocations: 11.98 kB / 0.9878 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.1646, allocations: 15.98 kB / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1647, allocations: 15.92 kB / 0.9878 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.1647, allocations: 35.97 kB / 0.9879 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001407/0.1649, allocations: 227 kB / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1649, allocations: 0 / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002685/0.1652, allocations: 56 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.0004933/0.1657, allocations: 0.8782 MB / 0.989 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.1661, allocations: 360.3 kB / 0.9893 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1661, allocations: 0 / 0.9893 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1662, allocations: 75.91 kB / 0.9894 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.1666, allocations: 32.56 kB / 0.9894 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1682, allocations: 1.317 MB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.1683, allocations: 0.7517 MB / 0.9915 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.1685, 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.0001261/0.1686, allocations: 55.41 kB / 0.9915 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.1686, allocations: 0 / 0.9915 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/0.2765, allocations: 5.521 MB / 0.9969 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.2767, allocations: 220.7 kB / 0.9972 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/1.75, allocations: 0 / 0.9972 GB, free: 8.805 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)