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.001062/0.001062, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 200.2 kB / 16.64 MB, free: 6.453 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.315/1.315, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.741/1.741, allocations: 292.3 MB / 0.549 GB, free: 12.8 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.001401/0.001401, allocations: 71.61 kB / 0.6723 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2154, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002629/0.218, allocations: 1.487 MB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.219, allocations: 427.2 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.2191, allocations: 7.938 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.2192, allocations: 3.938 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2193, allocations: 32.16 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.22, allocations: 242.4 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.2204, allocations: 323.5 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.2204, allocations: 15.98 kB / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.2207, allocations: 191.7 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.2209, allocations: 122.5 kB / 0.7869 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.221, allocations: 20 kB / 0.7869 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.044e-05/0.221, allocations: 20 kB / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.2212, allocations: 87.7 kB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.2213, allocations: 119.4 kB / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.2216, allocations: 287.1 kB / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2216, allocations: 0 / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2216, allocations: 0 / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.2216, allocations: 0 / 0.7874 GB, free: 9.41 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.001026/0.2226, allocations: 0.75 MB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2227, allocations: 12.03 kB / 0.7881 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.2228, allocations: 28.66 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.2231, allocations: 263.5 kB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.2231, allocations: 12.38 kB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.2232, allocations: 23.94 kB / 0.7884 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008593/0.224, allocations: 204.2 kB / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.224, allocations: 4 kB / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.2241, allocations: 0 / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2241, allocations: 0 / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.2247, allocations: 95.92 kB / 0.7887 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2251, allocations: 321.2 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009326/0.226, allocations: 182.3 kB / 0.7892 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.2267, allocations: 108.8 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.2267, allocations: 0 / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008088/0.2275, allocations: 211.2 kB / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.2275, allocations: 0 / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002255/0.2298, allocations: 452.1 kB / 0.79 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.2299, allocations: 63.39 kB / 0.79 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.2301, allocations: 294.9 kB / 0.7903 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.2302, allocations: 33.7 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.2303, allocations: 97.12 kB / 0.7904 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.2303, allocations: 39.47 kB / 0.7905 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2305, allocations: 93.48 kB / 0.7905 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2306, allocations: 326.8 kB / 0.7909 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.2308, allocations: 79.89 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.231, allocations: 138.6 kB / 0.7911 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.2313, allocations: 244 kB / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2313, allocations: 3.938 kB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000619/0.2319, allocations: 392.6 kB / 0.7917 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-05/0.232, allocations: 76.31 kB / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.232, allocations: 0 / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2321, allocations: 4 kB / 0.7918 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.2322, allocations: 20.11 kB / 0.7918 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2322, allocations: 8 kB / 0.7918 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.2326, allocations: 51.86 kB / 0.7918 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/0.2327, allocations: 43.98 kB / 0.7919 GB, free: 4.477 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.0001773/0.2329, allocations: 175.9 kB / 0.792 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.233, allocations: 23.72 kB / 0.7921 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.233, allocations: 34.3 kB / 0.7921 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.233, allocations: 0 / 0.7921 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.233, allocations: 3.938 kB / 0.7921 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2331, allocations: 0 / 0.7921 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.235, allocations: 0.6935 MB / 0.7928 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.235, allocations: 4 kB / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.235, allocations: 0 / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.235, allocations: 4 kB / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.2351, allocations: 19.97 kB / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2351, allocations: 0 / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2351, allocations: 0 / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.2366, allocations: 447.4 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.2368, allocations: 168.6 kB / 0.7934 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.2368, allocations: 8 kB / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.2372, allocations: 31.97 kB / 0.7934 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.2373, allocations: 11.98 kB / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.2373, allocations: 47.91 kB / 0.7935 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001704/0.2375, allocations: 209.9 kB / 0.7937 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2375, allocations: 0 / 0.7937 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003117/0.2378, allocations: 44 kB / 0.7937 GB, free: 2.477 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.0001476/0.238, allocations: 119.2 kB / 0.7938 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.239, allocations: 381.3 kB / 0.7942 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2391, allocations: 0 / 0.7942 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000672/0.2397, allocations: 115.9 kB / 0.7943 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.2401, allocations: 32.73 kB / 0.7943 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.2413, allocations: 440.6 kB / 0.7948 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.2416, allocations: 0.7435 MB / 0.7955 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.916e-05/0.2417, allocations: 9.078 kB / 0.7955 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.2417, allocations: 15.44 kB / 0.7955 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of SimCode: time 1.523e-06/0.2417, allocations: 0 / 0.7955 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of Templates: time 0.00649/0.2482, allocations: 3.63 MB / 0.7991 GB, free: 12.96 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)