Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.0009935/0.0009935, allocations: 80.8 kB / 20.75 MB, free: 3.746 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.0011/0.0011, allocations: 161 kB / 24.17 MB, free: 336 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.051/1.051, allocations: 177.1 MB / 204.6 MB, free: 5.508 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.999/1.999, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.639e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003436/0.003463, allocations: 1.828 MB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.005016, allocations: 0.6281 MB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.005114, allocations: 0 / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.005216, allocations: 11.86 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.00537, allocations: 35.23 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.006303, allocations: 378.5 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007062/0.00701, allocations: 0.6037 MB / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.007111, allocations: 25.92 kB / 0.7635 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006209/0.007732, allocations: 420.4 kB / 0.7639 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.008083, allocations: 147.4 kB / 0.7641 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.584e-05/0.008179, allocations: 44.53 kB / 0.7641 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.237e-05/0.008251, allocations: 40.94 kB / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.008371, allocations: 123.7 kB / 0.7643 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.008536, allocations: 151.7 kB / 0.7644 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.009008, allocations: 431.3 kB / 0.7648 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.009012, allocations: 4.688 kB / 0.7648 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.282e-06/0.009014, allocations: 0 / 0.7648 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.00902, allocations: 1.031 kB / 0.7648 GB, free: 1.738 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001111/0.01013, allocations: 0.7746 MB / 0.7656 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.01017, allocations: 9.969 kB / 0.7656 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.01029, allocations: 52.88 kB / 0.7656 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.01063, allocations: 259.8 kB / 0.7659 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.01068, allocations: 20.38 kB / 0.7659 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.01075, allocations: 28.36 kB / 0.7659 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.0112, allocations: 195.8 kB / 0.7661 GB, free: 332 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.01121, allocations: 3.281 kB / 0.7661 GB, free: 332 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.01124, allocations: 8.375 kB / 0.7661 GB, free: 324 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.01125, allocations: 384 / 0.7661 GB, free: 324 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.01137, allocations: 43.58 kB / 0.7662 GB, free: 284 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/0.01217, allocations: 324.9 kB / 0.7665 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.0124, allocations: 102.5 kB / 0.7666 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.01253, allocations: 46.55 kB / 0.7666 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01255, allocations: 4 kB / 0.7666 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.01279, allocations: 162.4 kB / 0.7668 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.734e-06/0.0128, allocations: 0 / 0.7668 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0004703/0.01327, allocations: 200 kB / 0.767 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.01331, allocations: 63.39 kB / 0.767 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.01362, allocations: 339.4 kB / 0.7674 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.01367, allocations: 44.44 kB / 0.7674 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.01375, allocations: 105.4 kB / 0.7675 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.0138, allocations: 47.61 kB / 0.7676 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.01398, allocations: 117.4 kB / 0.7677 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01408, allocations: 326.8 kB / 0.768 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.01432, allocations: 159.3 kB / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.01456, allocations: 214.8 kB / 0.7683 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.01485, allocations: 256.4 kB / 0.7686 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01486, allocations: 1.031 kB / 0.7686 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005624/0.01542, allocations: 449 kB / 0.769 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.342e-05/0.0155, allocations: 96.52 kB / 0.7691 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.01551, allocations: 0 / 0.7691 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.01553, allocations: 4 kB / 0.7691 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01569, allocations: 40.72 kB / 0.7691 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01569, allocations: 4 kB / 0.7691 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.01594, allocations: 48.73 kB / 0.7692 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/0.01602, allocations: 49.3 kB / 0.7692 GB, free: 12.97 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001777/0.0162, allocations: 151.2 kB / 0.7694 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.01626, allocations: 28.53 kB / 0.7694 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/0.01634, allocations: 40.5 kB / 0.7694 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.01635, allocations: 4 kB / 0.7695 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01635, allocations: 0.9375 kB / 0.7695 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01636, allocations: 0 / 0.7695 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007063/0.01706, allocations: 400.2 kB / 0.7698 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.01707, allocations: 0 / 0.7698 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.01711, allocations: 4 kB / 0.7698 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.01711, allocations: 0 / 0.7698 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.01715, allocations: 15.97 kB / 0.7699 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01715, allocations: 4.781 kB / 0.7699 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01715, allocations: 0 / 0.7699 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.01755, allocations: 245.5 kB / 0.7701 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.0178, allocations: 127.5 kB / 0.7702 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.989e-05/0.01788, allocations: 21.03 kB / 0.7702 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.01817, allocations: 32.91 kB / 0.7703 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.01821, allocations: 9.047 kB / 0.7703 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.01827, allocations: 47.97 kB / 0.7703 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001784/0.01845, allocations: 144.7 kB / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01845, allocations: 1.219 kB / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003822/0.01884, allocations: 64 kB / 0.7705 GB, free: 11.64 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002023/0.01904, allocations: 114.3 kB / 0.7706 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.01969, allocations: 413.7 kB / 0.771 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.0197, allocations: 4 kB / 0.771 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.01984, allocations: 71.75 kB / 0.7711 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.02019, allocations: 54.3 kB / 0.7711 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007999/0.02099, allocations: 485.7 kB / 0.7716 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.362e-05/0.02107, allocations: 87.81 kB / 0.7717 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.373e-05/0.02114, allocations: 16.27 kB / 0.7717 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.0214, allocations: 126.2 kB / 0.7718 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of SimCode: time 1.312e-06/0.0214, allocations: 0.6875 kB / 0.7718 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.008308/0.02971, allocations: 5.875 MB / 0.7776 GB, free: 4.367 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.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.249579688068479]