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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.406/1.406, allocations: 288.4 MB / 303.6 MB, free: 8.176 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.0008547/0.0008547, allocations: 172.5 kB / 372.2 MB, free: 10.14 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.094/1.094, allocations: 205.4 MB / 0.631 GB, free: 9.797 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.0006461/0.0006461, allocations: 98.28 kB / 0.7444 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 18.73 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001174/0.1381, allocations: 1.363 MB / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006292/0.1387, allocations: 453.7 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.1388, allocations: 4 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.784e-05/0.1389, allocations: 11.86 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.278e-05/0.139, allocations: 27.84 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.1394, allocations: 208.9 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.1397, allocations: 311.5 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.1398, allocations: 29.72 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.14, allocations: 231.5 kB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1402, allocations: 139.7 kB / 0.9829 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.1402, allocations: 8 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.446e-05/0.1403, allocations: 12 kB / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.1404, allocations: 79.78 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1405, allocations: 161.1 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1407, allocations: 319.2 kB / 0.9835 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1407, allocations: 0 / 0.9835 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1407, allocations: 0 / 0.9835 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.1407, allocations: 0 / 0.9835 GB, free: 23.87 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.0008222/0.1415, allocations: 0.6415 MB / 0.9841 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1416, allocations: 12.03 kB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.1416, allocations: 42.73 kB / 0.9841 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.1417, allocations: 36.56 kB / 0.9842 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1419, allocations: 284.2 kB / 0.9844 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.142, allocations: 16.55 kB / 0.9845 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.142, allocations: 20.38 kB / 0.9845 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.1423, allocations: 175 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1423, allocations: 0 / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.1423, allocations: 4 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1423, allocations: 0 / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1424, allocations: 67.91 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008637/0.1433, allocations: 0.5511 MB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.1435, allocations: 138.7 kB / 0.9854 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1437, allocations: 56.83 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1437, allocations: 11.92 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003488/0.144, allocations: 233.8 kB / 0.9857 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.144, allocations: 0 / 0.9857 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004431/0.1445, allocations: 286.6 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1445, allocations: 63.41 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1447, allocations: 308.5 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.1448, allocations: 41.69 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.1448, allocations: 101 kB / 0.9864 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.1449, allocations: 47.44 kB / 0.9865 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.1449, allocations: 8 kB / 0.9865 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.1449, allocations: 326.8 kB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.1451, allocations: 112.1 kB / 0.9869 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.1453, allocations: 162.3 kB / 0.9871 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.1456, allocations: 255.5 kB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1456, allocations: 0 / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005286/0.1461, allocations: 447.3 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.1461, allocations: 79.39 kB / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1462, allocations: 0 / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1462, allocations: 4 kB / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1463, allocations: 27.91 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1463, allocations: 4 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.1468, allocations: 71.98 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.1469, allocations: 55.98 kB / 0.988 GB, free: 18.92 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.0001336/0.147, allocations: 189.7 kB / 0.9881 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1471, allocations: 23.72 kB / 0.9882 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.1471, allocations: 34.36 kB / 0.9882 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1471, allocations: 4 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1471, allocations: 0 / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1471, allocations: 0 / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.1477, allocations: 0.6012 MB / 0.9888 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1477, allocations: 0 / 0.9888 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.1477, allocations: 8 kB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1477, allocations: 0 / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.1477, allocations: 15.98 kB / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1477, allocations: 11.92 kB / 0.9888 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1478, allocations: 3.938 kB / 0.9888 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.1481, allocations: 319.1 kB / 0.9891 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1482, allocations: 188.6 kB / 0.9893 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.1483, allocations: 15.98 kB / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1485, allocations: 11.98 kB / 0.9893 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.1485, allocations: 19.92 kB / 0.9894 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.1485, allocations: 39.91 kB / 0.9894 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001323/0.1487, allocations: 227 kB / 0.9896 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1487, allocations: 0 / 0.9896 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000264/0.149, allocations: 48 kB / 0.9897 GB, free: 17.09 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.0004728/0.1494, allocations: 0.892 MB / 0.9905 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.1498, allocations: 358.6 kB / 0.9909 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1498, allocations: 0 / 0.9909 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.15, allocations: 76.67 kB / 0.9909 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1503, allocations: 36.45 kB / 0.991 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1518, allocations: 1.316 MB / 0.9923 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.1519, allocations: 0.7517 MB / 0.993 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000121/0.152, allocations: 37.42 kB / 0.993 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.1522, allocations: 59.34 kB / 0.9931 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.1522, allocations: 0 / 0.9931 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7944/0.9465, allocations: 5.548 MB / 0.9985 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/0.9467, allocations: 234.6 kB / 0.9987 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.827, allocations: 4 kB / 0.9987 GB, free: 7.871 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)