Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.422/1.422, allocations: 288.4 MB / 303.6 MB, free: 8.141 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.001321/0.001321, allocations: 182.9 kB / 372.3 MB, free: 10.13 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.08/1.08, allocations: 205.4 MB / 0.631 GB, free: 9.785 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.0006417/0.0006417, allocations: 94.34 kB / 0.7444 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 13.47 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 115.3 MB / 0.9802 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001157/0.1369, allocations: 1.359 MB / 0.9815 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006457/0.1376, allocations: 455.1 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.1376, allocations: 4 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.434e-05/0.1377, allocations: 3.938 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.878e-05/0.1378, allocations: 23.84 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.1383, allocations: 220.9 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1385, allocations: 303.5 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.502e-05/0.1386, allocations: 25.72 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.1389, allocations: 235.5 kB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.139, allocations: 139.7 kB / 0.9829 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.1391, allocations: 12 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.958e-05/0.1392, allocations: 8 kB / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.1392, allocations: 75.78 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1394, allocations: 165.1 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1396, allocations: 323.1 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1396, allocations: 0 / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1396, allocations: 0 / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.1396, allocations: 0 / 0.9835 GB, free: 23.86 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.0008349/0.1404, allocations: 0.6454 MB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1405, allocations: 8.031 kB / 0.9841 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.1405, allocations: 38.75 kB / 0.9841 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.1406, allocations: 40.55 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1408, allocations: 292.2 kB / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.1408, allocations: 8.562 kB / 0.9845 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.1409, allocations: 24.38 kB / 0.9845 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.1412, allocations: 173.8 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1412, allocations: 0 / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1412, allocations: 4 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1412, allocations: 4 kB / 0.9847 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1413, allocations: 66.12 kB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/0.1422, allocations: 0.5511 MB / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.1425, allocations: 138.6 kB / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1426, allocations: 64.83 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1426, allocations: 7.938 kB / 0.9855 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003455/0.1429, allocations: 228 kB / 0.9857 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.1429, allocations: 0 / 0.9857 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004463/0.1434, allocations: 286.2 kB / 0.9859 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.1434, allocations: 59.39 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1436, allocations: 312.5 kB / 0.9863 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.1437, allocations: 41.7 kB / 0.9863 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.1437, allocations: 93.05 kB / 0.9864 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1438, allocations: 51.42 kB / 0.9865 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.1438, allocations: 8 kB / 0.9865 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.807e-05/0.1439, allocations: 330.8 kB / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.144, allocations: 104.2 kB / 0.9869 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.1442, allocations: 158.4 kB / 0.987 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.1445, allocations: 260.2 kB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1445, allocations: 0 / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005333/0.145, allocations: 445.8 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.1451, allocations: 79.38 kB / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1451, allocations: 0 / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1451, allocations: 8.188 kB / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1453, allocations: 27.92 kB / 0.9878 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1453, allocations: 4 kB / 0.9878 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.1457, allocations: 75.73 kB / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.1458, allocations: 55.97 kB / 0.988 GB, free: 18.91 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.0001329/0.1459, allocations: 193.7 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.146, allocations: 23.72 kB / 0.9882 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.146, allocations: 30.36 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.146, allocations: 0 / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.146, allocations: 4 kB / 0.9882 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.146, allocations: 3.984 kB / 0.9882 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.1466, allocations: 0.5976 MB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1466, allocations: 3.938 kB / 0.9888 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.1466, allocations: 11.98 kB / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1466, allocations: 0 / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1467, allocations: 15.98 kB / 0.9888 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1467, allocations: 3.938 kB / 0.9888 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1467, allocations: 3.938 kB / 0.9888 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.147, allocations: 323.1 kB / 0.9891 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1471, allocations: 188.5 kB / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.1472, allocations: 12 kB / 0.9893 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.1474, allocations: 11.98 kB / 0.9893 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.1474, allocations: 23.91 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.1474, allocations: 27.98 kB / 0.9894 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001322/0.1476, allocations: 227 kB / 0.9896 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1476, allocations: 0 / 0.9896 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002613/0.1479, allocations: 59.98 kB / 0.9897 GB, free: 17.07 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.0004685/0.1483, allocations: 0.8827 MB / 0.9905 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.1487, allocations: 360.9 kB / 0.9909 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1487, allocations: 384 / 0.9909 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1489, allocations: 83.91 kB / 0.9909 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1492, allocations: 35.61 kB / 0.991 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1507, allocations: 1.314 MB / 0.9923 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.1508, allocations: 0.7581 MB / 0.993 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.151, allocations: 41.42 kB / 0.993 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1511, allocations: 55.34 kB / 0.9931 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1511, allocations: 4 kB / 0.9931 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8658/1.017, allocations: 5.535 MB / 0.9985 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/1.017, allocations: 225.2 kB / 0.9987 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.831, allocations: 0 / 0.9987 GB, free: 7.871 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)