Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_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.004737/0.004738, allocations: 100.3 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002238/0.002238, allocations: 282.5 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9321/0.9321, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 99.84 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1463, allocations: 86.97 MB / 0.7659 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002508/0.1489, allocations: 1.493 MB / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000878/0.1498, allocations: 415.4 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.1499, allocations: 4 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.502e-05/0.1499, allocations: 11.86 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.118e-05/0.1501, allocations: 24.23 kB / 0.7678 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.1508, allocations: 249.1 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.1511, allocations: 323.5 kB / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.1512, allocations: 16.27 kB / 0.7683 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.1515, allocations: 203.6 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.1517, allocations: 108.1 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.1518, allocations: 20 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.001e-05/0.1519, allocations: 20 kB / 0.7687 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.152, allocations: 87.72 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.1521, allocations: 127.3 kB / 0.7689 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.1524, allocations: 295 kB / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1524, allocations: 0 / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1524, allocations: 4 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.1525, allocations: 0 / 0.7691 GB, free: 5.617 MB / 0.5606 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.001024/0.1535, allocations: 0.7345 MB / 0.7699 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1535, allocations: 12.03 kB / 0.7699 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.1536, allocations: 38.69 kB / 0.7699 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.1537, allocations: 36.64 kB / 0.7699 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.154, allocations: 263.5 kB / 0.7702 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.1541, allocations: 20.11 kB / 0.7702 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.1541, allocations: 24 kB / 0.7702 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009083/0.155, allocations: 193.5 kB / 0.7704 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1551, allocations: 0 / 0.7704 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.1551, allocations: 3.984 kB / 0.7704 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1551, allocations: 7.984 kB / 0.7704 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007376/0.1558, allocations: 99.86 kB / 0.7705 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.1562, allocations: 313.3 kB / 0.7708 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009961/0.1572, allocations: 170.4 kB / 0.771 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000737/0.1579, allocations: 108.8 kB / 0.7711 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.158, allocations: 4 kB / 0.7711 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008788/0.1588, allocations: 215.2 kB / 0.7713 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 3.196e-06/0.1589, allocations: 3.938 kB / 0.7713 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00242/0.1613, allocations: 447.4 kB / 0.7717 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1613, allocations: 59.39 kB / 0.7718 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.1616, allocations: 294.9 kB / 0.7721 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.1617, allocations: 37.7 kB / 0.7721 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.1617, allocations: 93.11 kB / 0.7722 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.1618, allocations: 35.56 kB / 0.7722 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1619, allocations: 97.39 kB / 0.7723 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.162, allocations: 326.8 kB / 0.7726 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1622, allocations: 83.94 kB / 0.7727 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1624, allocations: 141.9 kB / 0.7728 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.1627, allocations: 235.5 kB / 0.7731 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1627, allocations: 4 kB / 0.7731 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005859/0.1633, allocations: 384.8 kB / 0.7734 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.208e-05/0.1634, allocations: 83.38 kB / 0.7735 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1634, allocations: 4 kB / 0.7735 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1634, allocations: 0 / 0.7735 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1636, allocations: 19.98 kB / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1636, allocations: 7.938 kB / 0.7736 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.164, allocations: 59.73 kB / 0.7736 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.1641, allocations: 47.92 kB / 0.7737 GB, free: 0.6445 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.1643, allocations: 171.9 kB / 0.7738 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.1644, allocations: 31.7 kB / 0.7739 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.1644, allocations: 26.3 kB / 0.7739 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1644, allocations: 7.938 kB / 0.7739 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1644, allocations: 0 / 0.7739 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1644, allocations: 0 / 0.7739 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3042/0.4686, allocations: 0.6818 MB / 0.7745 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4687, allocations: 0.5156 kB / 0.7745 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.4687, allocations: 7.031 kB / 0.7746 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.4687, allocations: 2.484 kB / 0.7746 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.4688, allocations: 17.44 kB / 0.7746 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.4688, allocations: 2.031 kB / 0.7746 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4688, allocations: 1.906 kB / 0.7746 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.4705, allocations: 454 kB / 0.775 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.4707, allocations: 161.9 kB / 0.7752 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.4708, allocations: 10.94 kB / 0.7752 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.4712, allocations: 34.34 kB / 0.7752 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.4713, allocations: 11.5 kB / 0.7752 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.479e-05/0.4714, allocations: 43.38 kB / 0.7753 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001824/0.4715, allocations: 207.9 kB / 0.7755 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4715, allocations: 0.6875 kB / 0.7755 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003635/0.4719, allocations: 50.59 kB / 0.7755 GB, free: 14.57 MB / 0.5606 GB 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 (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.001876/0.4738, allocations: 0.9927 MB / 0.7765 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.4749, allocations: 380.6 kB / 0.7768 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4749, allocations: 2.141 kB / 0.7768 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007504/0.4757, allocations: 123.9 kB / 0.777 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.476, allocations: 26.84 kB / 0.777 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.4791, allocations: 2.353 MB / 0.7793 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.4793, allocations: 0.7377 MB / 0.78 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.659e-05/0.4794, allocations: 16 kB / 0.78 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.4794, allocations: 22.91 kB / 0.78 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.4794, allocations: 5.234 kB / 0.78 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.5006, allocations: 4.801 MB / 0.7847 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/7.748, allocations: 1.875 kB / 0.7847 GB, free: 11.12 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)