Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_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.007551/0.007551, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001502/0.001502, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8709/0.8709, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 60.66 kB / 0.595 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1679, allocations: 82.03 MB / 0.6751 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00291/0.1709, allocations: 1.485 MB / 0.6766 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.172, allocations: 439.2 kB / 0.677 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.1721, allocations: 0 / 0.677 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1722, allocations: 3.938 kB / 0.677 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.1724, allocations: 20.23 kB / 0.677 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008261/0.1732, allocations: 262.5 kB / 0.6773 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.1736, allocations: 319.5 kB / 0.6776 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.1737, allocations: 7.984 kB / 0.6776 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.174, allocations: 199.7 kB / 0.6778 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.1743, allocations: 120 kB / 0.6779 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.1744, allocations: 20 kB / 0.6779 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.069e-05/0.1744, allocations: 20 kB / 0.6779 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1745, allocations: 75.78 kB / 0.678 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1747, allocations: 131.4 kB / 0.6781 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.175, allocations: 303 kB / 0.6784 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1751, allocations: 0 / 0.6784 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1751, allocations: 0 / 0.6784 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.1751, allocations: 0 / 0.6784 GB, free: 7.488 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.001192/0.1763, allocations: 0.7539 MB / 0.6792 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1763, allocations: 12.03 kB / 0.6792 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.1764, allocations: 38.73 kB / 0.6792 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1765, allocations: 32.8 kB / 0.6792 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1769, allocations: 271.7 kB / 0.6795 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.1769, allocations: 16.12 kB / 0.6795 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.177, allocations: 19.98 kB / 0.6795 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.178, allocations: 201.5 kB / 0.6797 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.178, allocations: 0 / 0.6797 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.178, allocations: 4 kB / 0.6797 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1781, allocations: 7.984 kB / 0.6797 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.1789, allocations: 91.92 kB / 0.6798 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.1793, allocations: 309.4 kB / 0.6801 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.1806, allocations: 182.3 kB / 0.6803 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009576/0.1816, allocations: 108.8 kB / 0.6804 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.1817, allocations: 4 kB / 0.6804 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.1829, allocations: 215.1 kB / 0.6806 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/0.1829, allocations: 0 / 0.6806 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.003/0.1859, allocations: 448.2 kB / 0.681 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.186, allocations: 63.39 kB / 0.6811 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.1863, allocations: 302.9 kB / 0.6814 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.1864, allocations: 33.7 kB / 0.6814 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.1865, allocations: 89.14 kB / 0.6815 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.1866, allocations: 39.75 kB / 0.6815 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.1867, allocations: 93.58 kB / 0.6816 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1869, allocations: 326.8 kB / 0.6819 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1871, allocations: 83.94 kB / 0.682 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.1873, allocations: 143.4 kB / 0.6822 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.1876, allocations: 242.5 kB / 0.6824 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1877, allocations: 4 kB / 0.6824 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006502/0.1883, allocations: 388.7 kB / 0.6828 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.427e-05/0.1884, allocations: 71.39 kB / 0.6828 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1884, allocations: 4 kB / 0.6828 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1884, allocations: 0 / 0.6828 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.1886, allocations: 36.09 kB / 0.6829 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1886, allocations: 4 kB / 0.6829 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.1891, allocations: 51.91 kB / 0.6829 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.1892, allocations: 35.98 kB / 0.683 GB, free: 2.5 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.0002053/0.1894, allocations: 179.9 kB / 0.6831 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.1895, allocations: 27.86 kB / 0.6832 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.1895, allocations: 26.3 kB / 0.6832 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1895, allocations: 4 kB / 0.6832 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1895, allocations: 0 / 0.6832 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1896, allocations: 3.984 kB / 0.6832 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.1918, allocations: 0.6936 MB / 0.6839 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1918, allocations: 3.938 kB / 0.6839 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.1919, allocations: 4 kB / 0.6839 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1919, allocations: 0 / 0.6839 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.1919, allocations: 15.97 kB / 0.6839 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.334e-05/0.1919, allocations: 4 kB / 0.6839 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1919, allocations: 0 / 0.6839 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.1937, allocations: 455.4 kB / 0.6843 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.194, allocations: 160.8 kB / 0.6845 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.194, allocations: 15.98 kB / 0.6845 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.1946, allocations: 35.97 kB / 0.6845 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1946, allocations: 11.92 kB / 0.6845 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.1947, allocations: 39.97 kB / 0.6846 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001896/0.1949, allocations: 205.9 kB / 0.6848 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1949, allocations: 0 / 0.6848 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003549/0.1952, allocations: 55.98 kB / 0.6848 GB, free: 492 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.002146/0.1974, allocations: 0.9871 MB / 0.6858 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.1986, allocations: 382.5 kB / 0.6862 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1986, allocations: 0 / 0.6862 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007974/0.1994, allocations: 115.8 kB / 0.6863 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.1998, allocations: 40.62 kB / 0.6863 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.2038, allocations: 2.365 MB / 0.6886 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.2041, allocations: 0.7396 MB / 0.6893 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.777e-05/0.2042, allocations: 9.094 kB / 0.6893 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.2043, allocations: 27.42 kB / 0.6894 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.2043, allocations: 4 kB / 0.6894 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.2282, allocations: 4.819 MB / 0.6941 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.127, allocations: 7.062 kB / 0.6941 GB, free: 6.941 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)