Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 104.5 kB / 15.98 MB, free: 6.352 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.001428/0.001428, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.461/1.461, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.809/1.809, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001393/0.001394, allocations: 65.83 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2119, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002697/0.2146, allocations: 1.56 MB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.2156, allocations: 424.4 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.2156, allocations: 0 / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.579e-05/0.2157, allocations: 3.938 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.986e-05/0.2159, allocations: 24.22 kB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.2165, allocations: 238.9 kB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.2168, allocations: 327.9 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.2168, allocations: 4 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.2172, allocations: 234.3 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.2174, allocations: 139.6 kB / 0.7864 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/0.2175, allocations: 16 kB / 0.7864 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.994e-05/0.2175, allocations: 20 kB / 0.7864 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2176, allocations: 87.7 kB / 0.7865 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.2178, allocations: 127.4 kB / 0.7866 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.218, allocations: 215.8 kB / 0.7868 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.218, allocations: 3.984 kB / 0.7868 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.218, allocations: 0 / 0.7868 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.218, allocations: 0 / 0.7868 GB, free: 10.51 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.001043/0.2191, allocations: 0.7499 MB / 0.7875 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2191, allocations: 8.031 kB / 0.7875 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.493e-05/0.2192, allocations: 35.7 kB / 0.7876 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.2195, allocations: 262.2 kB / 0.7878 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.2196, allocations: 23.92 kB / 0.7879 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.2196, allocations: 12 kB / 0.7879 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009747/0.2206, allocations: 209.4 kB / 0.7881 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2206, allocations: 3.938 kB / 0.7881 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.2207, allocations: 0 / 0.7881 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2207, allocations: 0 / 0.7881 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007577/0.2214, allocations: 95.91 kB / 0.7882 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.2218, allocations: 325.2 kB / 0.7885 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.2228, allocations: 170.5 kB / 0.7886 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.2236, allocations: 108.8 kB / 0.7887 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.2236, allocations: 3.984 kB / 0.7887 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.2246, allocations: 207.5 kB / 0.7889 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.2246, allocations: 0 / 0.7889 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002524/0.2272, allocations: 452.1 kB / 0.7894 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.2272, allocations: 59.39 kB / 0.7894 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.2275, allocations: 298.8 kB / 0.7897 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.2276, allocations: 37.7 kB / 0.7897 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.2276, allocations: 93.12 kB / 0.7898 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.2277, allocations: 39.53 kB / 0.7899 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.2279, allocations: 97.48 kB / 0.79 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.228, allocations: 322.8 kB / 0.7903 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.2282, allocations: 83.94 kB / 0.7904 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.2284, allocations: 138.5 kB / 0.7905 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.2287, allocations: 244 kB / 0.7907 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2287, allocations: 0 / 0.7907 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006638/0.2294, allocations: 396.5 kB / 0.7911 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.2295, allocations: 71.39 kB / 0.7912 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2295, allocations: 4 kB / 0.7912 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2296, allocations: 0 / 0.7912 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.2297, allocations: 28.09 kB / 0.7912 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2298, allocations: 8 kB / 0.7912 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.2302, allocations: 55.8 kB / 0.7913 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.2303, allocations: 47.98 kB / 0.7913 GB, free: 5.562 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.0001853/0.2305, allocations: 167.9 kB / 0.7915 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.2305, allocations: 27.72 kB / 0.7915 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.2306, allocations: 26.3 kB / 0.7915 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2306, allocations: 4 kB / 0.7915 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2306, allocations: 0 / 0.7915 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.2306, allocations: 7.922 kB / 0.7915 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.2328, allocations: 0.6817 MB / 0.7922 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2328, allocations: 3.938 kB / 0.7922 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.445e-05/0.2328, allocations: 7.938 kB / 0.7922 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.2328, allocations: 7.922 kB / 0.7922 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.2329, allocations: 23.92 kB / 0.7922 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2329, allocations: 0 / 0.7922 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2329, allocations: 0 / 0.7922 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.2346, allocations: 443 kB / 0.7927 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.2348, allocations: 164.6 kB / 0.7928 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.2348, allocations: 19.92 kB / 0.7928 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.2353, allocations: 31.97 kB / 0.7929 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.2354, allocations: 11.98 kB / 0.7929 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.2354, allocations: 39.97 kB / 0.7929 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001789/0.2356, allocations: 205.9 kB / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.323e-06/0.2356, allocations: 0 / 0.7931 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003581/0.236, allocations: 55.92 kB / 0.7932 GB, free: 3.559 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.0001459/0.2361, allocations: 119.2 kB / 0.7933 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.2373, allocations: 385.8 kB / 0.7936 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2373, allocations: 0 / 0.7936 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.2381, allocations: 124.2 kB / 0.7938 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.2384, allocations: 23.77 kB / 0.7938 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2398, allocations: 0.5325 MB / 0.7943 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.2401, allocations: 0.7442 MB / 0.795 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.2402, allocations: 15.44 kB / 0.795 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2402, allocations: 0 / 0.795 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of Templates: time 0.004254/0.2444, allocations: 2.841 MB / 0.7978 GB, free: 14.72 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)