Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001052/0.001052, allocations: 196.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 292.3 MB / 0.5492 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.78 kB / 0.6716 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2295, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002591/0.2322, allocations: 1.547 MB / 0.785 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008804/0.2331, allocations: 434.8 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.2331, allocations: 0 / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.888e-05/0.2332, allocations: 7.938 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.531e-05/0.2333, allocations: 20.28 kB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.2339, allocations: 231.2 kB / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.2343, allocations: 335.8 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.2343, allocations: 4 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.2346, allocations: 234.3 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.2349, allocations: 135.6 kB / 0.7864 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.2349, allocations: 20 kB / 0.7864 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-05/0.235, allocations: 16 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2351, allocations: 83.77 kB / 0.7865 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.2352, allocations: 127.4 kB / 0.7866 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.2354, allocations: 215.8 kB / 0.7868 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2355, allocations: 4 kB / 0.7868 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2355, allocations: 0 / 0.7868 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2355, allocations: 0 / 0.7868 GB, free: 10.52 MB / 0.6075 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.001063/0.2365, allocations: 0.7538 MB / 0.7875 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.2366, allocations: 8.031 kB / 0.7875 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.2367, allocations: 35.66 kB / 0.7876 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.237, allocations: 262.2 kB / 0.7878 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.237, allocations: 23.92 kB / 0.7878 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.2371, allocations: 19.98 kB / 0.7879 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009969/0.2381, allocations: 197.5 kB / 0.7881 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2381, allocations: 4 kB / 0.7881 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.2382, allocations: 4 kB / 0.7881 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2382, allocations: 4 kB / 0.7881 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007867/0.239, allocations: 99.86 kB / 0.7882 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.2394, allocations: 325.2 kB / 0.7885 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2404, allocations: 170.5 kB / 0.7886 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007422/0.2411, allocations: 108.8 kB / 0.7887 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.2412, allocations: 4 kB / 0.7887 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009336/0.2421, allocations: 203.6 kB / 0.7889 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.2421, allocations: 0 / 0.7889 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002502/0.2446, allocations: 457 kB / 0.7894 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.2447, allocations: 55.41 kB / 0.7894 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.245, allocations: 298.8 kB / 0.7897 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.245, allocations: 37.7 kB / 0.7897 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.2451, allocations: 89.14 kB / 0.7898 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.2451, allocations: 43.53 kB / 0.7899 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.2453, allocations: 93.48 kB / 0.79 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2454, allocations: 326.8 kB / 0.7903 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.2456, allocations: 83.94 kB / 0.7904 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.2458, allocations: 130 kB / 0.7905 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.2461, allocations: 244.1 kB / 0.7907 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2461, allocations: 0 / 0.7907 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006419/0.2468, allocations: 392.8 kB / 0.7911 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/0.2469, allocations: 83.38 kB / 0.7912 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2469, allocations: 4 kB / 0.7912 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2469, allocations: 3.938 kB / 0.7912 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2471, allocations: 19.98 kB / 0.7912 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.2471, allocations: 4 kB / 0.7912 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.2476, allocations: 55.8 kB / 0.7912 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.2476, allocations: 47.92 kB / 0.7913 GB, free: 5.57 MB / 0.6075 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.0001832/0.2478, allocations: 170.8 kB / 0.7915 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.2479, allocations: 27.7 kB / 0.7915 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.2479, allocations: 26.3 kB / 0.7915 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2479, allocations: 4 kB / 0.7915 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2479, allocations: 0 / 0.7915 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.248, allocations: 7.922 kB / 0.7915 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.25, allocations: 0.6916 MB / 0.7922 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.25, allocations: 0 / 0.7922 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.2501, allocations: 7.984 kB / 0.7922 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2501, allocations: 3.938 kB / 0.7922 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.2501, allocations: 27.91 kB / 0.7922 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2502, allocations: 7.938 kB / 0.7922 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2502, allocations: 0 / 0.7922 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.2519, allocations: 439 kB / 0.7927 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.252, allocations: 164.6 kB / 0.7928 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.2521, allocations: 19.94 kB / 0.7928 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/0.2526, allocations: 27.97 kB / 0.7929 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.2526, allocations: 7.984 kB / 0.7929 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.2527, allocations: 43.97 kB / 0.7929 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001833/0.2529, allocations: 209.9 kB / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2529, allocations: 0 / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003211/0.2532, allocations: 52 kB / 0.7932 GB, free: 3.562 MB / 0.6075 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.0001365/0.2534, allocations: 119.9 kB / 0.7933 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.2545, allocations: 385.9 kB / 0.7936 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2545, allocations: 384 / 0.7936 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007598/0.2553, allocations: 119.9 kB / 0.7938 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.2557, allocations: 24.62 kB / 0.7938 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.257, allocations: 0.5364 MB / 0.7943 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.2574, allocations: 0.7396 MB / 0.795 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.2574, allocations: 15.44 kB / 0.795 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2574, allocations: 0 / 0.795 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of Templates: time 0.004404/0.2618, allocations: 2.835 MB / 0.7978 GB, free: 14.73 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)