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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.234/1.234, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0008622/0.0008622, allocations: 183.7 kB / 325.9 MB, free: 2.727 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.34/1.34, allocations: 205 MB / 0.576 GB, free: 21.02 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.0007328/0.0007328, allocations: 90.44 kB / 0.6797 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002713, allocations: 11.03 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001346/0.1398, allocations: 1.419 MB / 0.8976 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007017/0.1405, allocations: 0.4962 MB / 0.8981 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.1405, allocations: 0 / 0.8981 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.053e-05/0.1406, allocations: 7.922 kB / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.581e-05/0.1407, allocations: 28.22 kB / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.1412, allocations: 254.6 kB / 0.8984 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1414, allocations: 359.8 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.437e-05/0.1415, allocations: 29.42 kB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1417, allocations: 214.3 kB / 0.899 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.1418, allocations: 123.5 kB / 0.8991 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.1419, allocations: 12 kB / 0.8991 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.142, allocations: 8 kB / 0.8991 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.142, allocations: 83.7 kB / 0.8992 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1421, allocations: 131.3 kB / 0.8993 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1424, allocations: 402.6 kB / 0.8997 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1424, allocations: 4 kB / 0.8997 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1424, allocations: 3.938 kB / 0.8997 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.1424, allocations: 0 / 0.8997 GB, free: 64.56 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.0007431/0.1431, allocations: 0.6321 MB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.1432, allocations: 8.031 kB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.1432, allocations: 46.55 kB / 0.9004 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.1433, allocations: 39.62 kB / 0.9004 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1435, allocations: 282.8 kB / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.1436, allocations: 19.97 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.1436, allocations: 16 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1439, allocations: 177.4 kB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1439, allocations: 0 / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1439, allocations: 0 / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1439, allocations: 4 kB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.144, allocations: 63.91 kB / 0.9009 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008383/0.1449, allocations: 0.555 MB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.1451, allocations: 138.7 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.1452, allocations: 68.77 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1452, allocations: 0 / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.1456, allocations: 234.7 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.1456, allocations: 0 / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004356/0.146, allocations: 281.2 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.1461, allocations: 63.39 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.1463, allocations: 328.3 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.1463, allocations: 37.69 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.1464, allocations: 97.05 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1464, allocations: 39.61 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.1464, allocations: 41.69 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.1465, allocations: 326.8 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1467, allocations: 108.2 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.1469, allocations: 158.4 kB / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.1471, allocations: 258.4 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1471, allocations: 0 / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005193/0.1476, allocations: 451.9 kB / 0.904 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.1477, allocations: 75.39 kB / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1477, allocations: 0 / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1477, allocations: 4 kB / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1478, allocations: 27.91 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1479, allocations: 4 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.1483, allocations: 71.95 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.1484, allocations: 59.97 kB / 0.9042 GB, free: 59.58 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.0001265/0.1485, allocations: 193.6 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.1485, allocations: 35.62 kB / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.1486, allocations: 26.36 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1486, allocations: 8 kB / 0.9045 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1486, allocations: 0 / 0.9045 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1486, allocations: 4 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.1491, allocations: 0.6023 MB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1491, allocations: 3.938 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1492, allocations: 4 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1492, allocations: 0 / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.1492, allocations: 19.91 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1492, allocations: 3.938 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1492, allocations: 4 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.1495, allocations: 327 kB / 0.9054 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1497, allocations: 184.6 kB / 0.9056 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.1497, allocations: 12 kB / 0.9056 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.1499, allocations: 19.92 kB / 0.9056 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.15, allocations: 11.98 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.15, allocations: 31.97 kB / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001337/0.1501, allocations: 239 kB / 0.9059 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1501, allocations: 0 / 0.9059 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002609/0.1504, allocations: 48 kB / 0.9059 GB, free: 57.72 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.0004652/0.1509, allocations: 0.8795 MB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.1513, allocations: 371.6 kB / 0.9071 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1513, allocations: 4 kB / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.1514, allocations: 71.91 kB / 0.9072 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1517, allocations: 36.56 kB / 0.9073 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.1539, allocations: 2.627 MB / 0.9098 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.1541, allocations: 0.7556 MB / 0.9106 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.1542, allocations: 41.42 kB / 0.9106 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.1543, allocations: 51.41 kB / 0.9106 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.1543, allocations: 0 / 0.9106 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5313/0.6856, allocations: 5.488 MB / 0.916 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/0.6858, allocations: 251.1 kB / 0.9162 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.381, allocations: 0 / 0.9162 GB, free: 47.19 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)