Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_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.313/1.313, 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.001135/0.001135, allocations: 171.4 kB / 325.8 MB, free: 2.699 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.481/1.481, allocations: 205 MB / 0.576 GB, free: 21 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.0007504/0.0007503, allocations: 89.58 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.000256, allocations: 9.75 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001239/0.1337, allocations: 1.222 MB / 0.8974 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007009/0.1344, allocations: 441 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.1344, allocations: 0 / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.092e-05/0.1345, allocations: 3.938 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.933e-05/0.1346, allocations: 16.3 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.1352, allocations: 233.2 kB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1354, allocations: 287.9 kB / 0.8983 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.1354, allocations: 8 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.1356, allocations: 214.3 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.1358, allocations: 123.6 kB / 0.8987 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.1359, allocations: 12 kB / 0.8987 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.244e-05/0.1359, allocations: 12 kB / 0.8987 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.136, allocations: 75.78 kB / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.1361, allocations: 123.3 kB / 0.8989 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1363, allocations: 279 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1363, allocations: 0 / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1363, allocations: 0 / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1363, allocations: 0 / 0.8991 GB, free: 65.09 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007631/0.1371, allocations: 0.6104 MB / 0.8997 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1371, allocations: 8.031 kB / 0.8997 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.1372, allocations: 42.55 kB / 0.8998 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.1373, allocations: 31.62 kB / 0.8998 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1375, allocations: 266.2 kB / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.1375, allocations: 12 kB / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.1375, allocations: 16 kB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.1378, allocations: 148.5 kB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1378, allocations: 4 kB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.1378, allocations: 7.984 kB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1378, allocations: 4 kB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1379, allocations: 47.97 kB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.1381, allocations: 313.4 kB / 0.9006 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1384, allocations: 126.7 kB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/0.1385, allocations: 60.83 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.1385, allocations: 4 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.1388, allocations: 230 kB / 0.901 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.1388, allocations: 0 / 0.901 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004183/0.1392, allocations: 269.2 kB / 0.9012 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.1393, allocations: 63.39 kB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1395, allocations: 290.9 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.1395, allocations: 37.7 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.1395, allocations: 89.14 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.1396, allocations: 51.42 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.1397, allocations: 33.7 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.1397, allocations: 322.8 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.1399, allocations: 104.1 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.14, allocations: 142.4 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.1403, allocations: 240.5 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1403, allocations: 11.88 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004992/0.1408, allocations: 408.7 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.1408, allocations: 71.39 kB / 0.903 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1409, allocations: 8.172 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1409, allocations: 7.938 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.141, allocations: 27.92 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.141, allocations: 4 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.1415, allocations: 75.7 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.1415, allocations: 55.97 kB / 0.9032 GB, free: 60.59 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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.0001147/0.1417, allocations: 168 kB / 0.9034 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.1417, allocations: 23.72 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.1417, allocations: 34.19 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1418, allocations: 0 / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1418, allocations: 0 / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1418, allocations: 7.984 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.1423, allocations: 0.5709 MB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1423, allocations: 0 / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1424, allocations: 8 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1424, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.1424, allocations: 15.97 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1424, allocations: 4 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1424, allocations: 0 / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.1427, allocations: 323 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.1428, allocations: 148.7 kB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.1429, allocations: 8 kB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.1431, allocations: 15.98 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.1431, allocations: 19.91 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.1432, allocations: 31.98 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001211/0.1433, allocations: 209.9 kB / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1433, allocations: 0 / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002564/0.1435, allocations: 48 kB / 0.9048 GB, free: 58.88 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0004497/0.144, allocations: 0.8742 MB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.1444, allocations: 342.5 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1444, allocations: 384 / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1445, allocations: 75.89 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.1448, allocations: 28.86 kB / 0.9061 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.1469, allocations: 2.461 MB / 0.9085 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.147, allocations: 0.7438 MB / 0.9092 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.1472, allocations: 37.42 kB / 0.9092 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.1473, allocations: 47.41 kB / 0.9093 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.1473, allocations: 0 / 0.9093 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3592/0.5065, allocations: 5.008 MB / 0.9142 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.5066, allocations: 224.6 kB / 0.9144 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.268, allocations: 2.25 kB / 0.9144 GB, free: 48.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)