Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildSysPro_BuildSysPro_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.008705/0.008705, allocations: 98.11 kB / 15.73 MB, free: 6.055 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.002128/0.002128, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9025/0.9025, allocations: 143.3 MB / 433.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 68.27 kB / 0.5953 GB, free: 12.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1587, allocations: 82.04 MB / 0.6754 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002635/0.1614, allocations: 1.485 MB / 0.6768 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009354/0.1624, allocations: 445.9 kB / 0.6773 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.1624, allocations: 0 / 0.6773 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.96e-05/0.1625, allocations: 3.938 kB / 0.6773 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1626, allocations: 24.22 kB / 0.6773 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007166/0.1634, allocations: 254.4 kB / 0.6775 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.1638, allocations: 323.5 kB / 0.6778 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.1638, allocations: 8 kB / 0.6778 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.1641, allocations: 191.7 kB / 0.678 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.1644, allocations: 124.8 kB / 0.6781 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.1645, allocations: 16 kB / 0.6782 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.1646, allocations: 24 kB / 0.6782 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1647, allocations: 83.77 kB / 0.6783 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1649, allocations: 123.4 kB / 0.6784 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.1653, allocations: 303.1 kB / 0.6787 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1653, allocations: 0 / 0.6787 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1653, allocations: 0 / 0.6787 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.1653, allocations: 4 kB / 0.6787 GB, free: 7.277 MB / 0.5137 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.001222/0.1665, allocations: 0.7461 MB / 0.6794 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1666, allocations: 12.03 kB / 0.6794 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.2e-05/0.1666, allocations: 46.67 kB / 0.6795 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.36e-05/0.1667, allocations: 28.8 kB / 0.6795 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.1671, allocations: 271.8 kB / 0.6797 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.1671, allocations: 16.12 kB / 0.6798 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.1672, allocations: 23.92 kB / 0.6798 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/0.1681, allocations: 193.5 kB / 0.68 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1682, allocations: 4 kB / 0.68 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.1682, allocations: 8 kB / 0.68 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1682, allocations: 0 / 0.68 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007531/0.169, allocations: 95.92 kB / 0.6801 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.1694, allocations: 313.4 kB / 0.6804 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1704, allocations: 182.3 kB / 0.6805 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/0.1711, allocations: 104.8 kB / 0.6806 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1712, allocations: 4 kB / 0.6806 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009447/0.1721, allocations: 212.4 kB / 0.6808 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 4.288e-06/0.1721, allocations: 3.984 kB / 0.6809 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002485/0.1746, allocations: 451 kB / 0.6813 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.1747, allocations: 59.41 kB / 0.6813 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.175, allocations: 294.9 kB / 0.6816 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.1751, allocations: 41.69 kB / 0.6817 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.1751, allocations: 89.14 kB / 0.6817 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.1752, allocations: 43.73 kB / 0.6818 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.1754, allocations: 93.58 kB / 0.6819 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1755, allocations: 322.8 kB / 0.6822 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.1757, allocations: 79.95 kB / 0.6823 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.176, allocations: 142.7 kB / 0.6824 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.1763, allocations: 245.1 kB / 0.6826 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1763, allocations: 0 / 0.6826 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006667/0.177, allocations: 390.9 kB / 0.683 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.1771, allocations: 71.39 kB / 0.6831 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.1772, allocations: 4 kB / 0.6831 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1772, allocations: 4 kB / 0.6831 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1773, allocations: 23.92 kB / 0.6831 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1774, allocations: 7.984 kB / 0.6831 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.1778, allocations: 52.11 kB / 0.6832 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.1779, allocations: 39.98 kB / 0.6832 GB, free: 2.297 MB / 0.5137 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.0001954/0.1781, allocations: 171.9 kB / 0.6834 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.1781, allocations: 23.86 kB / 0.6834 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.1782, allocations: 26.3 kB / 0.6834 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.1782, allocations: 12 kB / 0.6834 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1782, allocations: 0 / 0.6834 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1782, allocations: 0 / 0.6834 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.1804, allocations: 0.6974 MB / 0.6841 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1804, allocations: 4 kB / 0.6841 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.1804, allocations: 4 kB / 0.6841 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1804, allocations: 0 / 0.6841 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.1805, allocations: 19.97 kB / 0.6841 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1805, allocations: 3.938 kB / 0.6841 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1805, allocations: 0 / 0.6841 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.1822, allocations: 458.5 kB / 0.6846 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.1824, allocations: 164.8 kB / 0.6847 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.1825, allocations: 8 kB / 0.6847 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.183, allocations: 35.95 kB / 0.6848 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.183, allocations: 11.94 kB / 0.6848 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.1831, allocations: 39.97 kB / 0.6848 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002264/0.1833, allocations: 213.9 kB / 0.685 GB, free: 336 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1833, allocations: 0 / 0.685 GB, free: 336 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003626/0.1837, allocations: 48 kB / 0.6851 GB, free: 288 kB / 0.5137 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.00211/0.1858, allocations: 0.9901 MB / 0.686 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.187, allocations: 378.5 kB / 0.6864 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.187, allocations: 0 / 0.6864 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007457/0.1878, allocations: 115.9 kB / 0.6865 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.1882, allocations: 35.61 kB / 0.6865 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.1919, allocations: 2.373 MB / 0.6889 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.1923, allocations: 0.7435 MB / 0.6896 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.765e-05/0.1924, allocations: 17.06 kB / 0.6896 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.1925, allocations: 23.42 kB / 0.6896 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.1925, allocations: 0 / 0.6896 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.2214, allocations: 4.803 MB / 0.6943 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.37, allocations: 10.56 kB / 0.6943 GB, free: 6.734 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)