Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.0006925/0.0006925, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007665/0.0007665, allocations: 175.6 kB / 16.58 MB, free: 6.855 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.166/1.166, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.609/0.609, allocations: 113.7 MB / 405.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002628, allocations: 12.78 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 77.1 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001383/0.1245, allocations: 1.188 MB / 0.558 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007958/0.1253, allocations: 412.2 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.1254, allocations: 0 / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.929e-05/0.1255, allocations: 3.938 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.493e-05/0.1256, allocations: 23.84 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.1262, allocations: 219 kB / 0.5587 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.1265, allocations: 255.5 kB / 0.5589 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.1265, allocations: 8 kB / 0.5589 GB, free: 9.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.1269, allocations: 219.7 kB / 0.5591 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1271, allocations: 143.6 kB / 0.5593 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.1271, allocations: 8 kB / 0.5593 GB, free: 9.188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.1272, allocations: 12 kB / 0.5593 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.1273, allocations: 83.77 kB / 0.5594 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.1274, allocations: 69.58 kB / 0.5594 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1275, allocations: 199.9 kB / 0.5596 GB, free: 8.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1276, allocations: 0 / 0.5596 GB, free: 8.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1276, allocations: 0 / 0.5596 GB, free: 8.824 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1276, allocations: 4 kB / 0.5596 GB, free: 8.82 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.0007845/0.1284, allocations: 0.6643 MB / 0.5603 GB, free: 8.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1284, allocations: 12.03 kB / 0.5603 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.1285, allocations: 38.55 kB / 0.5603 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.1285, allocations: 31.72 kB / 0.5604 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1288, allocations: 254.5 kB / 0.5606 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.1288, allocations: 12 kB / 0.5606 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.1289, allocations: 27.89 kB / 0.5606 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.1297, allocations: 209.4 kB / 0.5608 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1297, allocations: 0 / 0.5608 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.1297, allocations: 8 kB / 0.5608 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1297, allocations: 4 kB / 0.5609 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006032/0.1303, allocations: 99.92 kB / 0.5609 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.1307, allocations: 313.4 kB / 0.5612 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.1315, allocations: 194.6 kB / 0.5614 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005867/0.1321, allocations: 128.7 kB / 0.5616 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1321, allocations: 0 / 0.5616 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007609/0.1329, allocations: 224.6 kB / 0.5618 GB, free: 6.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.1329, allocations: 0 / 0.5618 GB, free: 6.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002017/0.1349, allocations: 488.9 kB / 0.5622 GB, free: 5.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.135, allocations: 63.39 kB / 0.5623 GB, free: 5.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.1352, allocations: 290.9 kB / 0.5626 GB, free: 5.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.1353, allocations: 41.69 kB / 0.5626 GB, free: 5.523 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.1354, allocations: 89.14 kB / 0.5627 GB, free: 5.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.1354, allocations: 43.45 kB / 0.5627 GB, free: 5.391 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.1354, allocations: 8 kB / 0.5627 GB, free: 5.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1356, allocations: 318.8 kB / 0.563 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.1358, allocations: 87.94 kB / 0.5631 GB, free: 4.977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.1359, allocations: 134.5 kB / 0.5633 GB, free: 4.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.1362, allocations: 149.4 kB / 0.5634 GB, free: 4.668 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1362, allocations: 0 / 0.5634 GB, free: 4.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005841/0.1368, allocations: 396.6 kB / 0.5638 GB, free: 4.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/0.1368, allocations: 73.27 kB / 0.5639 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1368, allocations: 0 / 0.5639 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1369, allocations: 7.984 kB / 0.5639 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.137, allocations: 23.92 kB / 0.5639 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.137, allocations: 3.953 kB / 0.5639 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.1374, allocations: 64.05 kB / 0.5639 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.1375, allocations: 47.97 kB / 0.564 GB, free: 4.035 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.0001508/0.1377, allocations: 171.9 kB / 0.5642 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.1377, allocations: 27.7 kB / 0.5642 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.1378, allocations: 26.3 kB / 0.5642 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.1378, allocations: 8 kB / 0.5642 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1378, allocations: 0 / 0.5642 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1378, allocations: 3.953 kB / 0.5642 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.1395, allocations: 0.6943 MB / 0.5649 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1395, allocations: 7.938 kB / 0.5649 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.1396, allocations: 7.922 kB / 0.5649 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1396, allocations: 4 kB / 0.5649 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.1396, allocations: 23.94 kB / 0.5649 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1396, allocations: 0 / 0.5649 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1396, allocations: 3.984 kB / 0.5649 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.141, allocations: 461.6 kB / 0.5654 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.1412, allocations: 164.7 kB / 0.5655 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.1413, allocations: 12 kB / 0.5656 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.1417, allocations: 39.92 kB / 0.5656 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.1417, allocations: 11.98 kB / 0.5656 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.1418, allocations: 39.97 kB / 0.5656 GB, free: 2.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.142, allocations: 213.9 kB / 0.5658 GB, free: 2.039 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.142, allocations: 0 / 0.5658 GB, free: 2.039 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.1423, allocations: 51.94 kB / 0.5659 GB, free: 1.988 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.001669/0.144, allocations: 1.006 MB / 0.5669 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009383/0.1449, allocations: 391.6 kB / 0.5672 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.145, allocations: 0 / 0.5672 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006139/0.1456, allocations: 132.2 kB / 0.5674 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.1459, allocations: 27.59 kB / 0.5674 GB, free: 404 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.1481, allocations: 1.194 MB / 0.5686 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1484, allocations: 0.7439 MB / 0.5693 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.1484, allocations: 17.06 kB / 0.5693 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.1485, allocations: 23.44 kB / 0.5693 GB, free: 14.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1485, allocations: 4 kB / 0.5693 GB, free: 14.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.1621, allocations: 4.513 MB / 0.5737 GB, free: 9.98 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.1623, allocations: 194.1 kB / 0.5739 GB, free: 9.738 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.668, allocations: 0 / 0.5739 GB, free: 9.738 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: