Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",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.0006845/0.0006845, allocations: 92.86 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.0007252/0.0007252, allocations: 172.1 kB / 16.58 MB, free: 5.938 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.17/1.17, allocations: 223.3 MB / 240.6 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6026/0.6026, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002873, allocations: 9.688 kB / 493.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 77.11 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001234/0.1203, allocations: 1.18 MB / 0.558 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007054/0.1211, allocations: 415.2 kB / 0.5584 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.1211, allocations: 0 / 0.5584 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.708e-05/0.1212, allocations: 3.938 kB / 0.5584 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.1213, allocations: 19.91 kB / 0.5585 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.1218, allocations: 217.1 kB / 0.5587 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.1221, allocations: 255.5 kB / 0.5589 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.1222, allocations: 4 kB / 0.5589 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.1225, allocations: 227.6 kB / 0.5591 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1227, allocations: 143.7 kB / 0.5593 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.1228, allocations: 8 kB / 0.5593 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.351e-05/0.1229, allocations: 12 kB / 0.5593 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/0.123, allocations: 75.78 kB / 0.5594 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.123, allocations: 69.58 kB / 0.5594 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1232, allocations: 211.8 kB / 0.5596 GB, free: 8.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1232, allocations: 3.938 kB / 0.5596 GB, free: 8.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1233, allocations: 0 / 0.5596 GB, free: 8.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1233, allocations: 0 / 0.5596 GB, free: 8.875 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.0008531/0.1241, allocations: 0.6604 MB / 0.5603 GB, free: 8.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1242, allocations: 12.03 kB / 0.5603 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.1242, allocations: 34.55 kB / 0.5603 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.1243, allocations: 35.72 kB / 0.5604 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.1246, allocations: 258.5 kB / 0.5606 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.1246, allocations: 12 kB / 0.5606 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.1247, allocations: 23.94 kB / 0.5606 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.1255, allocations: 209.5 kB / 0.5608 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1255, allocations: 0 / 0.5608 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1255, allocations: 4 kB / 0.5608 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1255, allocations: 3.938 kB / 0.5608 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000632/0.1262, allocations: 115.8 kB / 0.5609 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.1265, allocations: 313.4 kB / 0.5612 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/0.1273, allocations: 194.6 kB / 0.5614 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.1279, allocations: 116.8 kB / 0.5615 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1279, allocations: 4 kB / 0.5615 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007368/0.1287, allocations: 224.5 kB / 0.5618 GB, free: 6.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1287, allocations: 0 / 0.5618 GB, free: 6.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001981/0.1307, allocations: 490.7 kB / 0.5622 GB, free: 5.988 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1307, allocations: 55.41 kB / 0.5623 GB, free: 5.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.131, allocations: 291 kB / 0.5626 GB, free: 5.633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.131, allocations: 33.7 kB / 0.5626 GB, free: 5.594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.1311, allocations: 89.14 kB / 0.5627 GB, free: 5.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.1311, allocations: 39.52 kB / 0.5627 GB, free: 5.465 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.1311, allocations: 8 kB / 0.5627 GB, free: 5.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.1312, allocations: 318.8 kB / 0.563 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1314, allocations: 91.94 kB / 0.5631 GB, free: 5.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.1316, allocations: 138.5 kB / 0.5632 GB, free: 4.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1318, allocations: 147.3 kB / 0.5634 GB, free: 4.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1318, allocations: 4 kB / 0.5634 GB, free: 4.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005458/0.1323, allocations: 390.4 kB / 0.5638 GB, free: 4.332 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.842e-05/0.1324, allocations: 77.09 kB / 0.5638 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1324, allocations: 0 / 0.5638 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1324, allocations: 7.938 kB / 0.5638 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1326, allocations: 27.92 kB / 0.5639 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1326, allocations: 3.953 kB / 0.5639 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.133, allocations: 68.05 kB / 0.5639 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.1331, allocations: 35.98 kB / 0.564 GB, free: 4.105 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.0001466/0.1332, allocations: 179.9 kB / 0.5641 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.1333, allocations: 27.72 kB / 0.5642 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.1333, allocations: 26.3 kB / 0.5642 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1333, allocations: 4 kB / 0.5642 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1333, allocations: 0 / 0.5642 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1333, allocations: 3.953 kB / 0.5642 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.135, allocations: 0.709 MB / 0.5649 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.135, allocations: 8 kB / 0.5649 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/0.135, allocations: 4 kB / 0.5649 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.135, allocations: 0 / 0.5649 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.1351, allocations: 19.92 kB / 0.5649 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1351, allocations: 0 / 0.5649 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1351, allocations: 0 / 0.5649 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.1364, allocations: 468.4 kB / 0.5654 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.1366, allocations: 168.7 kB / 0.5655 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.1367, allocations: 15.94 kB / 0.5656 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.137, allocations: 47.91 kB / 0.5656 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.1371, allocations: 4 kB / 0.5656 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.1371, allocations: 39.97 kB / 0.5656 GB, free: 2.301 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1373, allocations: 213.9 kB / 0.5658 GB, free: 2.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1373, allocations: 4 kB / 0.5658 GB, free: 2.086 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1376, allocations: 48 kB / 0.5659 GB, free: 2.039 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.001583/0.1392, allocations: 1.007 MB / 0.5669 GB, free: 1.004 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009019/0.1401, allocations: 382.6 kB / 0.5672 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1401, allocations: 384 / 0.5672 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006065/0.1407, allocations: 127.9 kB / 0.5674 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.141, allocations: 31.52 kB / 0.5674 GB, free: 468 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.143, allocations: 1.195 MB / 0.5686 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.1433, allocations: 0.7427 MB / 0.5693 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.1433, allocations: 17.08 kB / 0.5693 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.1434, allocations: 23.42 kB / 0.5693 GB, free: 14.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1434, allocations: 0 / 0.5693 GB, free: 14.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.1567, allocations: 4.506 MB / 0.5737 GB, free: 10.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.1569, allocations: 190.5 kB / 0.5739 GB, free: 9.801 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/1.651, allocations: 0 / 0.5739 GB, free: 9.801 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: