Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 194.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 62.33 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002554/0.2985, allocations: 1.518 MB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2997, allocations: 0.5459 MB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.2998, allocations: 0 / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.663e-05/0.2999, allocations: 11.86 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.614e-05/0.3, allocations: 27.84 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.3009, allocations: 310.9 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005674/0.3015, allocations: 0.4994 MB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.041e-05/0.3015, allocations: 7.984 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.3019, allocations: 275.7 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.3022, allocations: 139.6 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.3023, allocations: 28 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3025, allocations: 24 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3026, allocations: 111.7 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.3028, allocations: 195 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.3033, allocations: 426.9 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3033, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3033, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.3033, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 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.001189/0.3045, allocations: 0.8626 MB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3045, allocations: 8.031 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.3047, allocations: 56.47 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.305, allocations: 310.2 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.3051, allocations: 20.36 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.3052, allocations: 24.36 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3062, allocations: 218 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3062, allocations: 8.062 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.3063, allocations: 3.938 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3063, allocations: 0 / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008397/0.3071, allocations: 103.9 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.3076, allocations: 397.2 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3087, allocations: 174.5 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007776/0.3095, allocations: 112.8 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3095, allocations: 4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009815/0.3105, allocations: 225.5 kB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.3105, allocations: 0 / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002575/0.3131, allocations: 484.8 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.3132, allocations: 63.41 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.3136, allocations: 413.8 kB / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.3137, allocations: 37.7 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/0.3138, allocations: 97.44 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.3139, allocations: 47.44 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3141, allocations: 125.3 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3143, allocations: 322.8 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.3146, allocations: 119.9 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.3149, allocations: 179.5 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.3153, allocations: 275.5 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.3154, allocations: 0 / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008987/0.3163, allocations: 492.6 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.3164, allocations: 91.31 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3164, allocations: 0 / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.3164, allocations: 8.172 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.3167, allocations: 31.92 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3167, allocations: 0 / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.3172, allocations: 63.73 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/0.3173, allocations: 59.97 kB / 1.077 GB, free: 0.6406 MB / 0.8262 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.0003096/0.3176, allocations: 196.5 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.3177, allocations: 39.47 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.353e-05/0.3178, allocations: 39.75 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3178, allocations: 3.984 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3178, allocations: 4 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3178, allocations: 0 / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.3203, allocations: 0.7421 MB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3203, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.3204, allocations: 7.938 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.3204, allocations: 7.984 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.3204, allocations: 11.98 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.3204, allocations: 11.94 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3204, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.3223, allocations: 478.7 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.3225, allocations: 196.5 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.3226, allocations: 11.98 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/0.3231, allocations: 35.97 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3232, allocations: 7.984 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.706e-05/0.3232, allocations: 59.98 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002886/0.3235, allocations: 295.1 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3235, allocations: 0 / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004135/0.324, allocations: 63.98 kB / 1.079 GB, free: 14.36 MB / 0.8419 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.0001713/0.3241, allocations: 132 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.3255, allocations: 448.7 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3255, allocations: 0 / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008088/0.3263, allocations: 120.2 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3267, allocations: 33.42 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3282, allocations: 0.5475 MB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.3285, allocations: 0.7707 MB / 1.081 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.753e-05/0.3286, allocations: 17.08 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.3287, allocations: 23.42 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3287, allocations: 0 / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.008409/0.3371, allocations: 4.963 MB / 1.086 GB, free: 7.152 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)