Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.219/1.219, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008293/0.0008294, allocations: 175.4 kB / 325.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006653/0.0006653, allocations: 86.05 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 15.09 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.00139/0.1445, allocations: 1.419 MB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007135/0.1453, allocations: 0.4962 MB / 0.8981 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.1453, allocations: 0 / 0.8981 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.263e-05/0.1454, allocations: 7.875 kB / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.1455, allocations: 28.22 kB / 0.8981 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.146, allocations: 252.1 kB / 0.8984 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1462, allocations: 359.8 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.1463, allocations: 33.42 kB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.1465, allocations: 214.3 kB / 0.899 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1466, allocations: 127.5 kB / 0.8991 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.1467, allocations: 12 kB / 0.8991 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-05/0.1468, allocations: 8 kB / 0.8991 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.1468, allocations: 79.72 kB / 0.8992 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1469, allocations: 135.3 kB / 0.8993 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1472, allocations: 398.6 kB / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1472, allocations: 4 kB / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1472, allocations: 4 kB / 0.8997 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.1472, allocations: 0 / 0.8997 GB, free: 64.54 MB / 0.6042 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.0007586/0.148, allocations: 0.6336 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.148, allocations: 8.031 kB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.1481, allocations: 38.56 kB / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.1481, allocations: 39.61 kB / 0.9004 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.1484, allocations: 286.8 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.1484, allocations: 16 kB / 0.9007 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.1484, allocations: 20 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1487, allocations: 176.1 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1487, allocations: 0 / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.1487, allocations: 0 / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1487, allocations: 4 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1489, allocations: 67.89 kB / 0.9009 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.1497, allocations: 0.5473 MB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1499, allocations: 150.6 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.988e-05/0.15, allocations: 68.77 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.15, allocations: 3.984 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.1504, allocations: 236 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.1504, allocations: 0 / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004338/0.1508, allocations: 275.7 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.1509, allocations: 63.39 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1511, allocations: 328.3 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.1511, allocations: 33.7 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.1511, allocations: 105 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1512, allocations: 39.59 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.1512, allocations: 33.7 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.934e-05/0.1513, allocations: 334.8 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.1515, allocations: 108.1 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.1517, allocations: 162.3 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.1519, allocations: 257.2 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1519, allocations: 0 / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005239/0.1524, allocations: 440.5 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/0.1525, allocations: 83.56 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1525, allocations: 0 / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1525, allocations: 4 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1527, allocations: 23.98 kB / 0.9041 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1527, allocations: 7.938 kB / 0.9041 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.1531, allocations: 75.78 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.1532, allocations: 51.98 kB / 0.9042 GB, free: 59.54 MB / 0.6042 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.1533, allocations: 185.7 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1534, allocations: 31.62 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.1534, allocations: 34.34 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1534, allocations: 4 kB / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1534, allocations: 0 / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1534, allocations: 4 kB / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.154, allocations: 0.5958 MB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.154, allocations: 0 / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.1541, allocations: 11.92 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.1541, allocations: 4 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.1541, allocations: 15.92 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1541, allocations: 3.938 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1541, allocations: 0 / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.1544, allocations: 337.2 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1546, allocations: 184.6 kB / 0.9056 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.1546, allocations: 8 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1548, allocations: 19.92 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.1549, allocations: 19.97 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.1549, allocations: 27.98 kB / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001334/0.1551, allocations: 227 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/0.1551, allocations: 4 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002576/0.1553, allocations: 55.94 kB / 0.9059 GB, free: 57.69 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004644/0.1558, allocations: 0.8778 MB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.1562, allocations: 368.3 kB / 0.9071 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1562, allocations: 4 kB / 0.9071 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1563, allocations: 75.91 kB / 0.9072 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.1567, allocations: 37.48 kB / 0.9073 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.1588, allocations: 2.633 MB / 0.9098 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.159, allocations: 0.7517 MB / 0.9106 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.1591, allocations: 37.42 kB / 0.9106 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.1593, allocations: 55.41 kB / 0.9106 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.1593, allocations: 0 / 0.9106 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1267/0.286, allocations: 5.482 MB / 0.916 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/0.2861, allocations: 250 kB / 0.9162 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/1.809, allocations: 2.75 kB / 0.9162 GB, free: 47.16 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)