Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.0009785/0.0009785, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001283/0.001283, allocations: 181 kB / 24.09 MB, free: 416 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.9639/0.9639, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.79/1.79, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 3.984 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.312e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003059/0.003092, allocations: 1.783 MB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.00469, allocations: 0.6182 MB / 0.79 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.004794, allocations: 4 kB / 0.79 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.004913, allocations: 11.86 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.005075, allocations: 42.28 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009768/0.006051, allocations: 376.9 kB / 0.7904 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006521/0.006704, allocations: 0.5931 MB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.006837, allocations: 21.3 kB / 0.791 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.00746, allocations: 423.5 kB / 0.7914 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.007812, allocations: 147.3 kB / 0.7915 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-05/0.007908, allocations: 44.91 kB / 0.7916 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.007986, allocations: 40 kB / 0.7916 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.008123, allocations: 128.4 kB / 0.7917 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.008278, allocations: 147.7 kB / 0.7919 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.008733, allocations: 445.2 kB / 0.7923 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.008737, allocations: 0 / 0.7923 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/0.008738, allocations: 0 / 0.7923 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.008744, allocations: 0 / 0.7923 GB, free: 7.375 MB / 0.7448 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.001213/0.009958, allocations: 0.9416 MB / 0.7932 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.01002, allocations: 16.55 kB / 0.7932 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.01016, allocations: 61.38 kB / 0.7933 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.01054, allocations: 286.7 kB / 0.7935 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.0106, allocations: 20.89 kB / 0.7936 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.01067, allocations: 36.36 kB / 0.7936 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.0112, allocations: 206.7 kB / 0.7938 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.01121, allocations: 1.312 kB / 0.7938 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.01124, allocations: 4.359 kB / 0.7938 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.01125, allocations: 4.375 kB / 0.7938 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.01138, allocations: 58.28 kB / 0.7939 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.01248, allocations: 0.5529 MB / 0.7944 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.01299, allocations: 115.2 kB / 0.7945 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.01313, allocations: 63.38 kB / 0.7946 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.01317, allocations: 4 kB / 0.7946 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.01349, allocations: 186.3 kB / 0.7948 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.01349, allocations: 1.094 kB / 0.7948 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000716/0.01421, allocations: 365.1 kB / 0.7951 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.01425, allocations: 63.33 kB / 0.7952 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.01463, allocations: 426.5 kB / 0.7956 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.01468, allocations: 41.69 kB / 0.7956 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.01477, allocations: 152.1 kB / 0.7958 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.01482, allocations: 43.67 kB / 0.7958 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.015, allocations: 139.1 kB / 0.7959 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.01515, allocations: 0.4962 MB / 0.7964 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.01541, allocations: 175.3 kB / 0.7966 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.01566, allocations: 233.1 kB / 0.7968 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.01595, allocations: 278.4 kB / 0.7971 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01595, allocations: 0 / 0.7971 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007198/0.01667, allocations: 0.5497 MB / 0.7976 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-05/0.01676, allocations: 91.38 kB / 0.7977 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.01676, allocations: 0 / 0.7977 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.01678, allocations: 4 kB / 0.7977 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01695, allocations: 35.91 kB / 0.7977 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01695, allocations: 4 kB / 0.7977 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.0172, allocations: 47.86 kB / 0.7978 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.01728, allocations: 55.98 kB / 0.7978 GB, free: 1.355 MB / 0.7448 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.0001903/0.01747, allocations: 195.1 kB / 0.798 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.01754, allocations: 47.69 kB / 0.7981 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.539e-05/0.01761, allocations: 35.73 kB / 0.7981 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01761, allocations: 4 kB / 0.7981 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01761, allocations: 0 / 0.7981 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01762, allocations: 0 / 0.7981 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.01849, allocations: 0.6346 MB / 0.7987 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01849, allocations: 0 / 0.7987 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.01853, allocations: 8 kB / 0.7987 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.01853, allocations: 4 kB / 0.7987 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.01856, allocations: 19.97 kB / 0.7988 GB, free: 376 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01856, allocations: 0 / 0.7988 GB, free: 376 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01857, allocations: 0 / 0.7988 GB, free: 376 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.01911, allocations: 463.8 kB / 0.7992 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.01936, allocations: 169.4 kB / 0.7994 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/0.01942, allocations: 23.98 kB / 0.7994 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.01969, allocations: 39.97 kB / 0.7994 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.01972, allocations: 3.984 kB / 0.7994 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/0.01978, allocations: 55.98 kB / 0.7995 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002074/0.01998, allocations: 271 kB / 0.7997 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01998, allocations: 0 / 0.7997 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003664/0.02035, allocations: 71.98 kB / 0.7998 GB, free: 15.27 MB / 0.7605 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.000182/0.02053, allocations: 131.2 kB / 0.7999 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006297/0.02116, allocations: 431.9 kB / 0.8003 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02116, allocations: 0 / 0.8003 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.0213, allocations: 79.95 kB / 0.8004 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.02168, allocations: 69.53 kB / 0.8005 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/0.02244, allocations: 498.7 kB / 0.801 GB, free: 14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.0225, allocations: 91.81 kB / 0.801 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.528e-05/0.02256, allocations: 13.48 kB / 0.8011 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.0228, allocations: 150.1 kB / 0.8012 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of SimCode: time 7.72e-07/0.0228, allocations: 0 / 0.8012 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.01021/0.03301, allocations: 5.909 MB / 0.807 GB, free: 7.789 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.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.077408044133335]