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.001137/0.001137, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001432/0.001432, allocations: 161 kB / 24.17 MB, free: 328 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 1.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.924/1.924, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.923e-06/1.923e-06, allocations: 1.094 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.519e-05, allocations: 6.031 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002244/0.002269, allocations: 1.609 MB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003316, allocations: 0.5523 MB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.003374, allocations: 0 / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.749e-05/0.003462, allocations: 6.672 kB / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.003565, allocations: 28.72 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.004205, allocations: 327.4 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.004634, allocations: 491.9 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.004672, allocations: 7.984 kB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.005062, allocations: 355.6 kB / 0.7633 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.005306, allocations: 136.1 kB / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.00536, allocations: 28 kB / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.005408, allocations: 29.53 kB / 0.7635 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.005498, allocations: 115.7 kB / 0.7636 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.005605, allocations: 135.7 kB / 0.7637 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.005902, allocations: 374.9 kB / 0.7641 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.005906, allocations: 1.25 kB / 0.7641 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.312e-06/0.005908, allocations: 0 / 0.7641 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.005914, allocations: 0 / 0.7641 GB, free: 2.492 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.000805/0.006719, allocations: 0.7417 MB / 0.7648 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.00675, allocations: 8.031 kB / 0.7648 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.00683, allocations: 52.81 kB / 0.7649 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.007059, allocations: 232.1 kB / 0.7651 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.00709, allocations: 16.36 kB / 0.7651 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.007134, allocations: 32.36 kB / 0.7651 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.007463, allocations: 184.2 kB / 0.7653 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.007471, allocations: 192 / 0.7653 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.007488, allocations: 4.375 kB / 0.7653 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.007494, allocations: 4.375 kB / 0.7653 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.007571, allocations: 40.52 kB / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.007751, allocations: 123.4 kB / 0.7655 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.007911, allocations: 97.56 kB / 0.7656 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.007987, allocations: 44.34 kB / 0.7656 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.008007, allocations: 4.844 kB / 0.7656 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.00818, allocations: 144.3 kB / 0.7657 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.008181, allocations: 4 kB / 0.7657 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003367/0.008518, allocations: 210.3 kB / 0.7659 GB, free: 496 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.00855, allocations: 59.41 kB / 0.766 GB, free: 424 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.008738, allocations: 327.3 kB / 0.7663 GB, free: 84 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.008776, allocations: 42.5 kB / 0.7664 GB, free: 36 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.008837, allocations: 97.44 kB / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.008872, allocations: 36.78 kB / 0.7665 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.008984, allocations: 113.4 kB / 0.7666 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.00906, allocations: 322.8 kB / 0.7669 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.009221, allocations: 156.4 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.009377, allocations: 213.2 kB / 0.7673 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.009562, allocations: 242 kB / 0.7675 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.009566, allocations: 3.984 kB / 0.7675 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003568/0.009923, allocations: 433.9 kB / 0.7679 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.009984, allocations: 86.16 kB / 0.768 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.009989, allocations: 0 / 0.768 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.01, allocations: 7.938 kB / 0.768 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.01014, allocations: 41.03 kB / 0.768 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01014, allocations: 4 kB / 0.768 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.01031, allocations: 40.83 kB / 0.7681 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.01041, allocations: 59.91 kB / 0.7681 GB, free: 14.09 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.0001165/0.01053, allocations: 147.9 kB / 0.7683 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.01057, allocations: 27.97 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.01061, allocations: 36.22 kB / 0.7683 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01061, allocations: 1.125 kB / 0.7683 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01061, allocations: 0 / 0.7683 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01062, allocations: 0 / 0.7683 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.01108, allocations: 379.8 kB / 0.7687 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.01108, allocations: 4.812 kB / 0.7687 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.01111, allocations: 7.984 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.01111, allocations: 1.25 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.01113, allocations: 7.984 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01113, allocations: 0 / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01113, allocations: 4.703 kB / 0.7687 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.01139, allocations: 256 kB / 0.769 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.01152, allocations: 115.5 kB / 0.7691 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.01156, allocations: 17.5 kB / 0.7691 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.01174, allocations: 32.5 kB / 0.7691 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.01176, allocations: 11.92 kB / 0.7691 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.0118, allocations: 48.62 kB / 0.7692 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.932e-05/0.01189, allocations: 133.9 kB / 0.7693 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01189, allocations: 4 kB / 0.7693 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002093/0.0121, allocations: 63.98 kB / 0.7694 GB, free: 12.79 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 0.0001051/0.01221, allocations: 97.34 kB / 0.7695 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.01267, allocations: 405.9 kB / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.01268, allocations: 4 kB / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.01276, allocations: 65.8 kB / 0.7699 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.01296, allocations: 38.84 kB / 0.77 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.01361, allocations: 472.4 kB / 0.7704 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.724e-05/0.01366, allocations: 83.81 kB / 0.7705 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.01369, allocations: 15.08 kB / 0.7705 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.01387, allocations: 119 kB / 0.7706 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.01387, allocations: 0.5312 kB / 0.7706 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.006942/0.02081, allocations: 5.322 MB / 0.7758 GB, free: 6.129 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 -s gbode -gbm=radauIIA3 -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: 5.169939849060029]