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/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.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.0082/0.0082, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001662/0.001662, allocations: 198.4 kB / 16.68 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8677/0.8677, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.25 kB / 0.595 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1757, allocations: 82.03 MB / 0.6751 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002833/0.1786, allocations: 1.485 MB / 0.6766 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1797, allocations: 431.2 kB / 0.677 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.1798, allocations: 3.938 kB / 0.677 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.1799, allocations: 7.922 kB / 0.677 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1801, allocations: 28.22 kB / 0.677 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.1809, allocations: 250.3 kB / 0.6773 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.1814, allocations: 323.6 kB / 0.6776 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.1814, allocations: 7.938 kB / 0.6776 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.1818, allocations: 195.7 kB / 0.6778 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.182, allocations: 122.1 kB / 0.6779 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.1821, allocations: 20 kB / 0.6779 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.1822, allocations: 20 kB / 0.6779 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1823, allocations: 79.77 kB / 0.678 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1824, allocations: 131.4 kB / 0.6781 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.1828, allocations: 290.5 kB / 0.6784 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1828, allocations: 0 / 0.6784 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.404e-06/0.1828, allocations: 0 / 0.6784 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.1828, allocations: 0 / 0.6784 GB, free: 7.633 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.001151/0.184, allocations: 0.7465 MB / 0.6791 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.184, allocations: 12.03 kB / 0.6791 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.1841, allocations: 42.72 kB / 0.6792 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1842, allocations: 36.56 kB / 0.6792 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1845, allocations: 267.5 kB / 0.6795 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.1846, allocations: 16.12 kB / 0.6795 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.1846, allocations: 12 kB / 0.6795 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009903/0.1856, allocations: 209.4 kB / 0.6797 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1856, allocations: 0 / 0.6797 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.1857, allocations: 4 kB / 0.6797 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1857, allocations: 4 kB / 0.6797 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.1864, allocations: 91.92 kB / 0.6798 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.1868, allocations: 325.3 kB / 0.6801 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/0.1878, allocations: 177.7 kB / 0.6803 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007308/0.1886, allocations: 108.8 kB / 0.6804 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1886, allocations: 4 kB / 0.6804 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009538/0.1896, allocations: 208.9 kB / 0.6806 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.1896, allocations: 8 kB / 0.6806 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002434/0.192, allocations: 441 kB / 0.681 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.1921, allocations: 67.39 kB / 0.6811 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.1924, allocations: 287 kB / 0.6813 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.1924, allocations: 37.7 kB / 0.6814 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1926, allocations: 97.03 kB / 0.6815 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.1926, allocations: 43.53 kB / 0.6815 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.1928, allocations: 93.48 kB / 0.6816 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1929, allocations: 322.8 kB / 0.6819 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.1931, allocations: 83.95 kB / 0.682 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.1933, allocations: 135.6 kB / 0.6821 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.1936, allocations: 241.1 kB / 0.6824 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1936, allocations: 0 / 0.6824 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000592/0.1942, allocations: 390.3 kB / 0.6827 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.1943, allocations: 75.38 kB / 0.6828 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1943, allocations: 4 kB / 0.6828 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1943, allocations: 4.188 kB / 0.6828 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.1945, allocations: 27.92 kB / 0.6828 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1945, allocations: 4 kB / 0.6828 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.195, allocations: 55.8 kB / 0.6829 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.1951, allocations: 39.98 kB / 0.6829 GB, free: 2.652 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.0001745/0.1952, allocations: 179.9 kB / 0.6831 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.1953, allocations: 23.72 kB / 0.6831 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.1953, allocations: 26.3 kB / 0.6831 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.1954, allocations: 7.984 kB / 0.6832 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1954, allocations: 0 / 0.6832 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1954, allocations: 0 / 0.6832 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.1974, allocations: 0.701 MB / 0.6838 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1975, allocations: 0 / 0.6838 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.1975, allocations: 7.938 kB / 0.6838 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1975, allocations: 0 / 0.6838 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.1976, allocations: 15.97 kB / 0.6839 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1976, allocations: 4 kB / 0.6839 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1976, allocations: 3.938 kB / 0.6839 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.1992, allocations: 451.3 kB / 0.6843 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.1995, allocations: 156.7 kB / 0.6844 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.1995, allocations: 12 kB / 0.6845 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.2, allocations: 35.95 kB / 0.6845 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.2, allocations: 11.94 kB / 0.6845 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.2001, allocations: 39.97 kB / 0.6845 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001869/0.2003, allocations: 209.9 kB / 0.6847 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2003, allocations: 0 / 0.6847 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000334/0.2006, allocations: 52 kB / 0.6848 GB, free: 0.6406 MB / 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.002039/0.2027, allocations: 0.9891 MB / 0.6858 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.2038, allocations: 378.6 kB / 0.6861 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2039, allocations: 0 / 0.6861 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.2046, allocations: 115.5 kB / 0.6862 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.205, allocations: 28.58 kB / 0.6863 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.2085, allocations: 2.373 MB / 0.6886 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.2088, allocations: 0.7396 MB / 0.6893 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.517e-05/0.2088, allocations: 17.08 kB / 0.6893 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.2089, allocations: 27.42 kB / 0.6893 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.2089, allocations: 0 / 0.6893 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.2338, allocations: 4.911 MB / 0.6941 GB, free: 7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.825, allocations: 3 kB / 0.6941 GB, free: 7 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)