Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.4 MB / 304.3 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 180.5 kB / 373 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 0.6317 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006822/0.000682, allocations: 94.88 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 14.97 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1908, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6112/0.8021, allocations: 139.9 MB / 1.117 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.8024, allocations: 70.31 kB / 1.117 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01168/0.8141, allocations: 4.468 MB / 1.122 GB, free: 31.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.62e-07/0.8141, allocations: 0 / 1.122 GB, free: 31.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.8141, allocations: 7.875 kB / 1.122 GB, free: 31.85 MB / 0.698 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.0007487/0.8149, allocations: 0.6204 MB / 1.122 GB, free: 31.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.8149, allocations: 7.688 kB / 1.122 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.815, allocations: 31.84 kB / 1.122 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.8153, allocations: 261.1 kB / 1.123 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.8153, allocations: 15.03 kB / 1.123 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.8154, allocations: 15.88 kB / 1.123 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.8156, allocations: 147.2 kB / 1.123 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.8156, allocations: 192 / 1.123 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.8157, allocations: 3.938 kB / 1.123 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.8157, allocations: 0 / 1.123 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.8158, allocations: 56.22 kB / 1.123 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.8161, allocations: 326.1 kB / 1.123 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.8163, allocations: 124.7 kB / 1.123 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.8164, allocations: 59.88 kB / 1.123 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.8164, allocations: 3.938 kB / 1.123 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.8168, allocations: 214.5 kB / 1.124 GB, free: 30.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.8168, allocations: 0 / 1.124 GB, free: 30.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0004871/0.8173, allocations: 277.2 kB / 1.124 GB, free: 30.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.8173, allocations: 69.52 kB / 1.124 GB, free: 30.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.8176, allocations: 280.1 kB / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.8176, allocations: 43.64 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.8177, allocations: 92.8 kB / 1.124 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.8177, allocations: 47.97 kB / 1.124 GB, free: 30.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.8178, allocations: 7.719 kB / 1.124 GB, free: 30.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.8179, allocations: 321.3 kB / 1.125 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.8181, allocations: 101.4 kB / 1.125 GB, free: 30.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.8184, allocations: 151.1 kB / 1.125 GB, free: 29.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.8187, allocations: 244.6 kB / 1.125 GB, free: 29.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.8187, allocations: 0 / 1.125 GB, free: 29.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006339/0.8193, allocations: 431.1 kB / 1.126 GB, free: 29.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.8194, allocations: 74.95 kB / 1.126 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8194, allocations: 0 / 1.126 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.8194, allocations: 11.75 kB / 1.126 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.8196, allocations: 32.73 kB / 1.126 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.8196, allocations: 3.875 kB / 1.126 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.8199, allocations: 54.41 kB / 1.126 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.82, allocations: 52 kB / 1.126 GB, free: 29.63 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.8202, allocations: 176.6 kB / 1.126 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.8202, allocations: 29.73 kB / 1.126 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.8203, allocations: 26.61 kB / 1.126 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.8203, allocations: 7.781 kB / 1.126 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8203, allocations: 0 / 1.126 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8203, allocations: 4 kB / 1.126 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.8209, allocations: 0.5562 MB / 1.127 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.821, allocations: 3.938 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.821, allocations: 9.828 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.821, allocations: 3.781 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.821, allocations: 13.11 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.821, allocations: 0 / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.821, allocations: 3.875 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.8214, allocations: 321.1 kB / 1.127 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.8215, allocations: 158.9 kB / 1.127 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.8216, allocations: 7.031 kB / 1.127 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.8218, allocations: 13.83 kB / 1.127 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.8218, allocations: 13.44 kB / 1.127 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.8219, allocations: 32.22 kB / 1.127 GB, free: 28.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001595/0.822, allocations: 207.3 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.822, allocations: 0 / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002932/0.8223, allocations: 61.34 kB / 1.127 GB, free: 28.81 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001375/0.8225, allocations: 119.2 kB / 1.127 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.823, allocations: 352 kB / 1.128 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.823, allocations: 0 / 1.128 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.8231, allocations: 73.62 kB / 1.128 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.8235, allocations: 24.73 kB / 1.128 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.8241, allocations: 447.6 kB / 1.128 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.8244, allocations: 0.7479 MB / 1.129 GB, free: 27.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.8245, allocations: 35.06 kB / 1.129 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.8246, allocations: 40.38 kB / 1.129 GB, free: 27.58 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.8246, allocations: 0 / 1.129 GB, free: 27.58 MB / 0.698 GB Notification: Performance of Templates: time 0.00631/0.831, allocations: 4.338 MB / 1.133 GB, free: 26.34 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)