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: translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005784/0.005784, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001156/0.001156, allocations: 189.1 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.297 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 0.9699/0.9699, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.5955 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4976, allocations: 82.03 MB / 0.6756 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002657/0.5003, allocations: 1.476 MB / 0.677 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.5013, allocations: 443.1 kB / 0.6775 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.5014, allocations: 0 / 0.6775 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.5015, allocations: 9.109 kB / 0.6775 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.5017, allocations: 23.17 kB / 0.6775 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007668/0.5024, allocations: 252.5 kB / 0.6777 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005292/0.503, allocations: 328.5 kB / 0.678 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.752e-05/0.5031, allocations: 9.688 kB / 0.6781 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.5034, allocations: 202 kB / 0.6782 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.5037, allocations: 113.4 kB / 0.6784 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.053e-05/0.5038, allocations: 19.31 kB / 0.6784 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.491e-05/0.5039, allocations: 19.25 kB / 0.6784 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.5041, allocations: 86.17 kB / 0.6785 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.5042, allocations: 128.6 kB / 0.6786 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004565/0.5047, allocations: 295.5 kB / 0.6789 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5047, allocations: 1.531 kB / 0.6789 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5047, allocations: 4 kB / 0.6789 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.5047, allocations: 0 / 0.6789 GB, free: 15.04 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.001305/0.5061, allocations: 0.7407 MB / 0.6796 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.5061, allocations: 9.562 kB / 0.6796 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.5062, allocations: 34.81 kB / 0.6796 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.5066, allocations: 262.4 kB / 0.6799 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.5067, allocations: 12.22 kB / 0.6799 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.5067, allocations: 23.44 kB / 0.6799 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009516/0.5077, allocations: 206.7 kB / 0.6801 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5077, allocations: 3.984 kB / 0.6801 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.5078, allocations: 2.031 kB / 0.6801 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5078, allocations: 1.188 kB / 0.6801 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007262/0.5085, allocations: 100.3 kB / 0.6802 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.5089, allocations: 312.5 kB / 0.6805 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.5099, allocations: 173.4 kB / 0.6807 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007446/0.5107, allocations: 107.7 kB / 0.6808 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.5107, allocations: 6.203 kB / 0.6808 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.5117, allocations: 216.7 kB / 0.681 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.5117, allocations: 1.062 kB / 0.681 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002565/0.5143, allocations: 450.2 kB / 0.6814 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.5144, allocations: 60.47 kB / 0.6815 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.5147, allocations: 287.5 kB / 0.6818 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.5148, allocations: 39.69 kB / 0.6818 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.5149, allocations: 90.2 kB / 0.6819 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.5149, allocations: 45.97 kB / 0.6819 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.5151, allocations: 94.11 kB / 0.682 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5153, allocations: 329.6 kB / 0.6823 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.5154, allocations: 77.33 kB / 0.6824 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.5157, allocations: 135.5 kB / 0.6825 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.516, allocations: 239.3 kB / 0.6828 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.516, allocations: 13.25 kB / 0.6828 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006685/0.5167, allocations: 387.5 kB / 0.6832 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.869e-05/0.5168, allocations: 75.95 kB / 0.6832 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5168, allocations: 5.375 kB / 0.6832 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.5168, allocations: 4.125 kB / 0.6832 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.517, allocations: 21.67 kB / 0.6833 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.517, allocations: 6.734 kB / 0.6833 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.5175, allocations: 52.75 kB / 0.6833 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.583e-05/0.5176, allocations: 42.39 kB / 0.6834 GB, free: 11.61 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.0002227/0.5178, allocations: 176.7 kB / 0.6835 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.5179, allocations: 23.84 kB / 0.6835 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.518, allocations: 27.98 kB / 0.6836 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.518, allocations: 2.656 kB / 0.6836 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.518, allocations: 0 / 0.6836 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.518, allocations: 1.531 kB / 0.6836 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.5202, allocations: 0.6972 MB / 0.6843 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.5202, allocations: 0 / 0.6843 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.5202, allocations: 3.344 kB / 0.6843 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5202, allocations: 1.375 kB / 0.6843 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.5203, allocations: 23.83 kB / 0.6843 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5203, allocations: 1.656 kB / 0.6843 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5203, allocations: 7.984 kB / 0.6843 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.5221, allocations: 451.8 kB / 0.6847 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.5223, allocations: 157.7 kB / 0.6849 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.5224, allocations: 13.53 kB / 0.6849 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.5228, allocations: 31.14 kB / 0.6849 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.5229, allocations: 5.094 kB / 0.6849 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.523, allocations: 49.5 kB / 0.685 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002062/0.5232, allocations: 209.6 kB / 0.6852 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5232, allocations: 1.438 kB / 0.6852 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003446/0.5235, allocations: 44.69 kB / 0.6852 GB, free: 10.32 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.0001807/0.5237, allocations: 119.5 kB / 0.6853 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.5249, allocations: 378.1 kB / 0.6857 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5249, allocations: 1.281 kB / 0.6857 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007935/0.5257, allocations: 117.5 kB / 0.6858 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.5262, allocations: 25.03 kB / 0.6858 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.5277, allocations: 431.8 kB / 0.6862 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.5281, allocations: 0.7388 MB / 0.687 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.731e-05/0.5282, allocations: 16.39 kB / 0.687 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.5283, allocations: 23.14 kB / 0.687 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.5283, allocations: 0 / 0.687 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of Templates: time 0.009042/0.5373, allocations: 3.732 MB / 0.6906 GB, free: 6.598 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)