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.001142/0.001149, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001251/0.001252, allocations: 193.7 kB / 16.25 MB, free: 6.617 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.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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 1.108/1.108, allocations: 143.1 MB / 433.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1972, allocations: 82.05 MB / 0.5939 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003125/0.2004, allocations: 1.556 MB / 0.5954 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2015, allocations: 411.4 kB / 0.5958 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.2016, allocations: 0 / 0.5958 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.2017, allocations: 7.922 kB / 0.5958 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2019, allocations: 16.3 kB / 0.5958 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007408/0.2027, allocations: 239.9 kB / 0.5961 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.2031, allocations: 327.8 kB / 0.5964 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.921e-05/0.2031, allocations: 8 kB / 0.5964 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.2035, allocations: 238.3 kB / 0.5966 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.2038, allocations: 135.6 kB / 0.5967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.2038, allocations: 16 kB / 0.5968 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.217e-05/0.2039, allocations: 20 kB / 0.5968 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.204, allocations: 83.77 kB / 0.5969 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.2042, allocations: 131.3 kB / 0.597 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.2046, allocations: 319.2 kB / 0.5973 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2046, allocations: 0 / 0.5973 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2046, allocations: 0 / 0.5973 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2046, allocations: 0 / 0.5973 GB, free: 6.324 MB / 0.4981 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.00123/0.2058, allocations: 0.7382 MB / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.2059, allocations: 16.02 kB / 0.598 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.206, allocations: 38.5 kB / 0.5981 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.412e-05/0.2061, allocations: 31.72 kB / 0.5981 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.2064, allocations: 262.3 kB / 0.5983 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.2064, allocations: 15.98 kB / 0.5984 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-05/0.2065, allocations: 20 kB / 0.5984 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.2075, allocations: 205.4 kB / 0.5986 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2075, allocations: 4 kB / 0.5986 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.2075, allocations: 7.922 kB / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2075, allocations: 4 kB / 0.5986 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.2083, allocations: 95.86 kB / 0.5987 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.2087, allocations: 325.3 kB / 0.599 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.2097, allocations: 162.5 kB / 0.5991 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.2105, allocations: 108.8 kB / 0.5992 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.2105, allocations: 4 kB / 0.5993 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009833/0.2115, allocations: 215.1 kB / 0.5995 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.2115, allocations: 3.938 kB / 0.5995 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002446/0.214, allocations: 443.3 kB / 0.5999 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2141, allocations: 67.33 kB / 0.5999 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.2144, allocations: 294.9 kB / 0.6002 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.2144, allocations: 37.7 kB / 0.6003 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.2145, allocations: 93.11 kB / 0.6004 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.2146, allocations: 31.62 kB / 0.6004 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.2147, allocations: 97.47 kB / 0.6005 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2149, allocations: 326.8 kB / 0.6008 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.215, allocations: 75.95 kB / 0.6009 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.2153, allocations: 149.8 kB / 0.601 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.2156, allocations: 233.3 kB / 0.6012 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2156, allocations: 0 / 0.6012 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006233/0.2162, allocations: 407.4 kB / 0.6016 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-05/0.2163, allocations: 71.39 kB / 0.6017 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2163, allocations: 0 / 0.6017 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2163, allocations: 4.188 kB / 0.6017 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.2166, allocations: 23.98 kB / 0.6017 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.2166, allocations: 11.92 kB / 0.6017 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.2171, allocations: 55.78 kB / 0.6018 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/0.2171, allocations: 40 kB / 0.6018 GB, free: 1.34 MB / 0.4981 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.0002028/0.2173, allocations: 172 kB / 0.602 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.2174, allocations: 27.66 kB / 0.602 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.2175, allocations: 30.3 kB / 0.602 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2175, allocations: 3.938 kB / 0.602 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2175, allocations: 0 / 0.602 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2175, allocations: 0 / 0.602 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.2195, allocations: 0.6895 MB / 0.6027 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2195, allocations: 4 kB / 0.6027 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.2196, allocations: 7.938 kB / 0.6027 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2196, allocations: 0 / 0.6027 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.2196, allocations: 19.97 kB / 0.6027 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2196, allocations: 0 / 0.6027 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2196, allocations: 3.938 kB / 0.6027 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4022/0.6219, allocations: 446 kB / 0.6032 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/0.6223, allocations: 163.9 kB / 0.6033 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.6224, allocations: 9.094 kB / 0.6033 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.6231, allocations: 32.48 kB / 0.6034 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.6232, allocations: 10.31 kB / 0.6034 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.881e-05/0.6233, allocations: 43.5 kB / 0.6034 GB, free: 44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003153/0.6236, allocations: 213.7 kB / 0.6036 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6236, allocations: 0 / 0.6036 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006501/0.6243, allocations: 47.34 kB / 0.6037 GB, free: 43.92 MB / 0.4981 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.002804/0.6271, allocations: 0.9878 MB / 0.6046 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.6288, allocations: 388.9 kB / 0.605 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.6288, allocations: 1.188 kB / 0.605 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.6299, allocations: 116.1 kB / 0.6051 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.6304, allocations: 31.03 kB / 0.6051 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/0.6353, allocations: 2.438 MB / 0.6075 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.6356, allocations: 0.7436 MB / 0.6082 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.6357, allocations: 13.91 kB / 0.6083 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.6358, allocations: 26.61 kB / 0.6083 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.6358, allocations: 0 / 0.6083 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.6603, allocations: 4.798 MB / 0.613 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.6606, allocations: 214.2 kB / 0.6132 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.553, allocations: 3.875 kB / 0.6132 GB, free: 40.32 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)