Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009225/0.0009225, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009842/0.0009842, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9092/0.9092, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.801/1.801, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.588e-05, allocations: 2.312 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001769/0.001785, allocations: 1.568 MB / 0.7615 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008846/0.00267, allocations: 0.5458 MB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.002714, allocations: 0 / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.745e-05/0.002802, allocations: 8.422 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.002917, allocations: 29.88 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.003529, allocations: 322.4 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.003905, allocations: 487.7 kB / 0.7629 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.00394, allocations: 15.97 kB / 0.7629 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.004268, allocations: 355.6 kB / 0.7632 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.004461, allocations: 139.7 kB / 0.7633 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.004506, allocations: 25.03 kB / 0.7634 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.203e-05/0.004548, allocations: 28 kB / 0.7634 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.004634, allocations: 116.4 kB / 0.7635 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.004734, allocations: 131.7 kB / 0.7636 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.005005, allocations: 379.6 kB / 0.764 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.005006, allocations: 0 / 0.764 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005007, allocations: 4.75 kB / 0.764 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.00501, allocations: 0 / 0.764 GB, free: 2.605 MB / 0.7136 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.0006825/0.005693, allocations: 0.7371 MB / 0.7647 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.00572, allocations: 8.031 kB / 0.7647 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.769e-05/0.005797, allocations: 48.88 kB / 0.7648 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.006015, allocations: 236.1 kB / 0.765 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.006046, allocations: 18.17 kB / 0.765 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.006099, allocations: 28.36 kB / 0.765 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.006386, allocations: 185.4 kB / 0.7652 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.006393, allocations: 4.125 kB / 0.7652 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.006409, allocations: 5.938 kB / 0.7652 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.006414, allocations: 4.375 kB / 0.7652 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.006485, allocations: 42.8 kB / 0.7653 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.00664, allocations: 116.9 kB / 0.7654 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.006781, allocations: 92.14 kB / 0.7655 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.006852, allocations: 45.97 kB / 0.7655 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.006866, allocations: 4 kB / 0.7655 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.007012, allocations: 153.2 kB / 0.7657 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.007013, allocations: 0 / 0.7657 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003049/0.007318, allocations: 211.3 kB / 0.7659 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.007348, allocations: 56.41 kB / 0.7659 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.007518, allocations: 331.2 kB / 0.7662 GB, free: 204 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.007553, allocations: 41.69 kB / 0.7663 GB, free: 156 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.007599, allocations: 102.5 kB / 0.7664 GB, free: 48 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.007626, allocations: 31.8 kB / 0.7664 GB, free: 16 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.007748, allocations: 121.3 kB / 0.7665 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.007819, allocations: 323.8 kB / 0.7668 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.007962, allocations: 159.3 kB / 0.767 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.008104, allocations: 202.2 kB / 0.7672 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.008278, allocations: 245.9 kB / 0.7674 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.008282, allocations: 7.984 kB / 0.7674 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003297/0.008612, allocations: 430.7 kB / 0.7678 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.008659, allocations: 79.38 kB / 0.7679 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008663, allocations: 0 / 0.7679 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.008676, allocations: 4 kB / 0.7679 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.008784, allocations: 41.25 kB / 0.7679 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.008789, allocations: 4 kB / 0.7679 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.008945, allocations: 41.36 kB / 0.768 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.008994, allocations: 55.92 kB / 0.768 GB, free: 14.21 MB / 0.7292 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.0001096/0.009103, allocations: 148 kB / 0.7682 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.009138, allocations: 27.97 kB / 0.7682 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.009177, allocations: 35.67 kB / 0.7682 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.009179, allocations: 4 kB / 0.7682 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.009181, allocations: 0.625 kB / 0.7682 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.009184, allocations: 0 / 0.7682 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.009575, allocations: 383.3 kB / 0.7686 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009577, allocations: 0 / 0.7686 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.009593, allocations: 4 kB / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009595, allocations: 0.8438 kB / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.009611, allocations: 11.97 kB / 0.7686 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.009613, allocations: 1.219 kB / 0.7686 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.009615, allocations: 4 kB / 0.7686 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.009823, allocations: 248.4 kB / 0.7689 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.009962, allocations: 120.8 kB / 0.769 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.01, allocations: 8 kB / 0.769 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.01017, allocations: 33.56 kB / 0.769 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.01019, allocations: 11.92 kB / 0.769 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.01023, allocations: 48.88 kB / 0.7691 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.552e-05/0.01031, allocations: 140.7 kB / 0.7692 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01031, allocations: 0.6875 kB / 0.7692 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001931/0.01051, allocations: 67.98 kB / 0.7693 GB, free: 12.91 MB / 0.7292 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 8.733e-05/0.01059, allocations: 98.84 kB / 0.7694 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003948/0.01099, allocations: 399 kB / 0.7698 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.01099, allocations: 4.562 kB / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.01107, allocations: 69.61 kB / 0.7698 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.01125, allocations: 42.36 kB / 0.7699 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.01185, allocations: 472.4 kB / 0.7703 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.368e-05/0.01189, allocations: 83.81 kB / 0.7704 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.459e-05/0.01193, allocations: 23.05 kB / 0.7704 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.01208, allocations: 115 kB / 0.7705 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.01208, allocations: 0.5312 kB / 0.7705 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.006005/0.01809, allocations: 5.324 MB / 0.7757 GB, free: 6.25 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.816254056990147]