Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007145/0.0007145, allocations: 92.39 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007569/0.0007569, allocations: 174.4 kB / 16.58 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6062/0.6062, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 9.156 kB / 493.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 77.12 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001325/0.12, allocations: 1.177 MB / 0.558 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007863/0.1208, allocations: 407.1 kB / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.1209, allocations: 0 / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.35e-05/0.121, allocations: 7.922 kB / 0.5584 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.1211, allocations: 23.86 kB / 0.5585 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.1216, allocations: 216.4 kB / 0.5587 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.1219, allocations: 251.5 kB / 0.5589 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.1219, allocations: 7.984 kB / 0.5589 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.1222, allocations: 231.6 kB / 0.5591 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.1224, allocations: 139.7 kB / 0.5593 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.1225, allocations: 16 kB / 0.5593 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.227e-05/0.1225, allocations: 8 kB / 0.5593 GB, free: 9.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.1226, allocations: 83.77 kB / 0.5594 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.1227, allocations: 69.58 kB / 0.5594 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1229, allocations: 203.8 kB / 0.5596 GB, free: 8.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1229, allocations: 0 / 0.5596 GB, free: 8.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1229, allocations: 4 kB / 0.5596 GB, free: 8.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1229, allocations: 0 / 0.5596 GB, free: 8.828 MB / 430.1 MB 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.0007543/0.1236, allocations: 0.6604 MB / 0.5603 GB, free: 8.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.1237, allocations: 8.031 kB / 0.5603 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.1237, allocations: 38.55 kB / 0.5603 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.1238, allocations: 31.72 kB / 0.5604 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1241, allocations: 246.5 kB / 0.5606 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.1241, allocations: 12 kB / 0.5606 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.1241, allocations: 27.94 kB / 0.5606 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.1249, allocations: 217.4 kB / 0.5608 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1249, allocations: 3.938 kB / 0.5608 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.125, allocations: 0 / 0.5608 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.125, allocations: 3.984 kB / 0.5608 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.1256, allocations: 111.9 kB / 0.5609 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.1259, allocations: 313.4 kB / 0.5612 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/0.1267, allocations: 190.6 kB / 0.5614 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006121/0.1273, allocations: 120.8 kB / 0.5615 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1274, allocations: 0 / 0.5615 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007581/0.1281, allocations: 227.1 kB / 0.5618 GB, free: 6.434 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.1281, allocations: 4 kB / 0.5618 GB, free: 6.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001975/0.1301, allocations: 478.5 kB / 0.5622 GB, free: 5.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1302, allocations: 63.39 kB / 0.5623 GB, free: 5.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.1304, allocations: 287 kB / 0.5626 GB, free: 5.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.1305, allocations: 33.7 kB / 0.5626 GB, free: 5.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.1305, allocations: 93.14 kB / 0.5627 GB, free: 5.465 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.1306, allocations: 47.44 kB / 0.5627 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.1306, allocations: 4 kB / 0.5627 GB, free: 5.414 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.1307, allocations: 326.8 kB / 0.563 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1309, allocations: 83.88 kB / 0.5631 GB, free: 5.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.1311, allocations: 134.5 kB / 0.5632 GB, free: 4.852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.1313, allocations: 153.2 kB / 0.5634 GB, free: 4.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1313, allocations: 4 kB / 0.5634 GB, free: 4.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005562/0.1318, allocations: 388.6 kB / 0.5638 GB, free: 4.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.1319, allocations: 79.33 kB / 0.5638 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1319, allocations: 4.188 kB / 0.5638 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1319, allocations: 4 kB / 0.5638 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1321, allocations: 19.98 kB / 0.5639 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1321, allocations: 11.89 kB / 0.5639 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.1325, allocations: 59.86 kB / 0.5639 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.1325, allocations: 47.98 kB / 0.564 GB, free: 4.055 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001499/0.1327, allocations: 172 kB / 0.5641 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.1327, allocations: 23.72 kB / 0.5642 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.1328, allocations: 26.3 kB / 0.5642 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1328, allocations: 4 kB / 0.5642 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1328, allocations: 3.938 kB / 0.5642 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1328, allocations: 3.953 kB / 0.5642 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.1345, allocations: 0.7096 MB / 0.5649 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1345, allocations: 4 kB / 0.5649 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.1346, allocations: 7.938 kB / 0.5649 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1346, allocations: 0 / 0.5649 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.1346, allocations: 23.92 kB / 0.5649 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1346, allocations: 0 / 0.5649 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.1346, allocations: 4 kB / 0.5649 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.136, allocations: 470 kB / 0.5654 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.1361, allocations: 160.6 kB / 0.5655 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.1362, allocations: 12 kB / 0.5655 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.1366, allocations: 43.91 kB / 0.5656 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.1367, allocations: 7.984 kB / 0.5656 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.1367, allocations: 43.98 kB / 0.5656 GB, free: 2.258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.1369, allocations: 205.9 kB / 0.5658 GB, free: 2.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1369, allocations: 0 / 0.5658 GB, free: 2.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1372, allocations: 48 kB / 0.5659 GB, free: 2.008 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.001625/0.1388, allocations: 1.009 MB / 0.5669 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009169/0.1397, allocations: 390.5 kB / 0.5672 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1397, allocations: 7.938 kB / 0.5672 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.1404, allocations: 125.2 kB / 0.5674 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1407, allocations: 26.56 kB / 0.5674 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.1427, allocations: 1.187 MB / 0.5686 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.143, allocations: 0.7388 MB / 0.5693 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.202e-05/0.1431, allocations: 17.08 kB / 0.5693 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.1432, allocations: 27.42 kB / 0.5693 GB, free: 14.35 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1432, allocations: 3.938 kB / 0.5693 GB, free: 14.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.1575, allocations: 4.53 MB / 0.5737 GB, free: 10 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.1578, allocations: 191.4 kB / 0.5739 GB, free: 9.762 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/1.645, allocations: 0 / 0.5739 GB, free: 9.762 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: