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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",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.431/1.431, allocations: 288.4 MB / 303.6 MB, free: 8.16 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.0009172/0.0009172, allocations: 189.3 kB / 372.3 MB, free: 10.1 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.103/1.103, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0006501/0.0006502, allocations: 94.22 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003161, allocations: 13.31 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001196/0.1411, allocations: 1.354 MB / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006501/0.1418, allocations: 464.1 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.1418, allocations: 0 / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.746e-05/0.1419, allocations: 15.86 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.193e-05/0.142, allocations: 23.84 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.1425, allocations: 208.8 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1427, allocations: 307.5 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.1428, allocations: 29.72 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.143, allocations: 235.5 kB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1432, allocations: 131.7 kB / 0.9829 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/0.1433, allocations: 12 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.1433, allocations: 8 kB / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.1434, allocations: 83.77 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1435, allocations: 161.1 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1437, allocations: 319.2 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1437, allocations: 0 / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1437, allocations: 4 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1437, 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.0008144/0.1446, allocations: 0.6415 MB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.1446, allocations: 8.031 kB / 0.9841 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.1446, allocations: 42.73 kB / 0.9841 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.1447, allocations: 40.56 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1449, allocations: 288.2 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.145, allocations: 12.56 kB / 0.9845 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.145, allocations: 24.36 kB / 0.9845 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.1453, allocations: 176 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1453, allocations: 0 / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.1453, allocations: 8 kB / 0.9847 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1453, allocations: 0 / 0.9847 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1455, allocations: 59.91 kB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008563/0.1463, allocations: 0.555 MB / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.1466, allocations: 138.7 kB / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1467, allocations: 60.83 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1467, allocations: 8 kB / 0.9855 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003428/0.147, allocations: 229.4 kB / 0.9857 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.034e-06/0.147, allocations: 0 / 0.9857 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.00044/0.1475, allocations: 286.4 kB / 0.9859 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.1475, allocations: 59.41 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1477, allocations: 312.5 kB / 0.9863 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.1478, allocations: 41.7 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.1478, allocations: 97.03 kB / 0.9864 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.1479, allocations: 47.44 kB / 0.9865 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.1479, allocations: 8 kB / 0.9865 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.1479, allocations: 330.8 kB / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.1481, allocations: 112.1 kB / 0.9869 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.1483, allocations: 162.3 kB / 0.9871 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.1486, allocations: 256.4 kB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1486, allocations: 4 kB / 0.9873 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005482/0.1491, allocations: 444.7 kB / 0.9877 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.1492, allocations: 79.42 kB / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1492, allocations: 0 / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1492, allocations: 4 kB / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1494, allocations: 23.97 kB / 0.9878 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1494, allocations: 7.938 kB / 0.9878 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.1499, allocations: 71.8 kB / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.1499, allocations: 55.98 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.0001325/0.1501, allocations: 185.7 kB / 0.9881 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.1501, allocations: 31.7 kB / 0.9882 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.1501, allocations: 30.36 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1501, allocations: 4 kB / 0.9882 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1502, allocations: 4 kB / 0.9882 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1502, allocations: 0 / 0.9882 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.1507, allocations: 0.5936 MB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1507, allocations: 0 / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.1508, allocations: 15.92 kB / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1508, allocations: 0 / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.1508, allocations: 11.98 kB / 0.9888 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1508, allocations: 0 / 0.9888 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1508, allocations: 3.938 kB / 0.9888 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.1511, allocations: 328.2 kB / 0.9891 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.1513, allocations: 188.5 kB / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.1513, allocations: 23.98 kB / 0.9893 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.1515, allocations: 8 kB / 0.9893 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.1516, allocations: 23.91 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.1516, allocations: 27.98 kB / 0.9894 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001373/0.1518, allocations: 231 kB / 0.9896 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1518, allocations: 7.938 kB / 0.9896 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000276/0.152, allocations: 48 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.0004651/0.1525, allocations: 0.8785 MB / 0.9905 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003956/0.1529, allocations: 372.2 kB / 0.9909 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1529, allocations: 0 / 0.9909 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1531, allocations: 71.91 kB / 0.9909 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1534, allocations: 43.14 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.001512/0.1549, 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.000131/0.155, allocations: 0.7517 MB / 0.993 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.1552, 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.0001223/0.1553, allocations: 51.41 kB / 0.9931 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.1553, allocations: 0 / 0.9931 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.631/1.787, allocations: 5.554 MB / 0.9985 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/1.787, allocations: 235 kB / 0.9987 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/3.491, allocations: 0 / 0.9987 GB, free: 7.863 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)