Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.3 MB / 308.1 MB, free: 4.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001695/0.001695, allocations: 188.1 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009678/0.0009678, allocations: 98.73 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 51.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3035, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.004335/0.3079, allocations: 1.722 MB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.3095, allocations: 0.5031 MB / 0.9844 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.3097, allocations: 0 / 0.9844 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.3099, allocations: 7.922 kB / 0.9844 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.3102, allocations: 28.22 kB / 0.9845 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3113, allocations: 243.7 kB / 0.9847 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006323/0.3119, allocations: 359.8 kB / 0.985 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.3121, allocations: 37.36 kB / 0.9851 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005412/0.3127, allocations: 222.3 kB / 0.9853 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.3131, allocations: 135.5 kB / 0.9854 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.3132, allocations: 8 kB / 0.9854 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/0.3133, allocations: 12 kB / 0.9854 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3135, allocations: 83.7 kB / 0.9855 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.3137, allocations: 135.2 kB / 0.9856 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.3143, allocations: 414.9 kB / 0.986 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3143, allocations: 0 / 0.986 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3143, allocations: 0 / 0.986 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.3143, allocations: 4 kB / 0.986 GB, free: 6.473 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.001729/0.3161, allocations: 0.7269 MB / 0.9867 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3161, allocations: 12.03 kB / 0.9868 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.3163, allocations: 31.72 kB / 0.9868 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.3169, allocations: 286.8 kB / 0.9871 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/0.317, allocations: 19.94 kB / 0.9871 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.3171, allocations: 19.98 kB / 0.9871 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.3175, allocations: 171.7 kB / 0.9873 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3175, allocations: 0 / 0.9873 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.3175, allocations: 3.984 kB / 0.9873 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3176, allocations: 4 kB / 0.9873 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.3177, allocations: 59.97 kB / 0.9873 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3191, allocations: 0.555 MB / 0.9879 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.3195, allocations: 130.7 kB / 0.988 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.3197, allocations: 68.77 kB / 0.9881 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.3197, allocations: 7.938 kB / 0.9881 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005814/0.3203, allocations: 230.4 kB / 0.9883 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.857e-06/0.3203, allocations: 3.984 kB / 0.9883 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0006567/0.321, allocations: 285.1 kB / 0.9886 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.321, allocations: 67.39 kB / 0.9886 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.3214, allocations: 316.4 kB / 0.9889 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.3215, allocations: 37.7 kB / 0.989 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.3216, allocations: 97.03 kB / 0.9891 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.3217, allocations: 51.44 kB / 0.9891 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.3219, allocations: 109.7 kB / 0.9892 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.322, allocations: 330.8 kB / 0.9895 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.3223, allocations: 108.2 kB / 0.9896 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.3226, allocations: 158.4 kB / 0.9898 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.323, allocations: 267.9 kB / 0.99 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.323, allocations: 0 / 0.99 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007801/0.3238, allocations: 440.6 kB / 0.9905 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.439e-05/0.3239, allocations: 77.42 kB / 0.9905 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3239, allocations: 192 / 0.9905 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.324, allocations: 11.98 kB / 0.9905 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.3241, allocations: 27.92 kB / 0.9906 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.3242, allocations: 11.98 kB / 0.9906 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.3247, allocations: 59.8 kB / 0.9906 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.448e-05/0.3248, allocations: 51.97 kB / 0.9907 GB, free: 1.379 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,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,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0002385/0.325, allocations: 193.7 kB / 0.9909 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.3251, allocations: 27.62 kB / 0.9909 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.3252, allocations: 30.36 kB / 0.9909 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3252, allocations: 0 / 0.9909 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3252, allocations: 0 / 0.9909 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3252, allocations: 7.984 kB / 0.9909 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008623/0.3261, allocations: 0.5919 MB / 0.9915 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3261, allocations: 0 / 0.9915 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.3261, allocations: 12 kB / 0.9915 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/0.3262, allocations: 3.984 kB / 0.9915 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.3262, allocations: 19.92 kB / 0.9915 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3262, allocations: 0 / 0.9915 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3262, allocations: 3.938 kB / 0.9915 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009429/0.3272, allocations: 0.948 MB / 0.9925 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.3274, allocations: 188.6 kB / 0.9927 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.3275, allocations: 19.98 kB / 0.9927 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.3277, allocations: 7.984 kB / 0.9927 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.3278, allocations: 19.97 kB / 0.9927 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.3278, allocations: 35.86 kB / 0.9927 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002251/0.3281, allocations: 231 kB / 0.993 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3281, allocations: 0 / 0.993 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004425/0.3285, allocations: 55.89 kB / 0.993 GB, free: 14.86 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: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0002343/0.3288, allocations: 129 kB / 0.9931 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006632/0.3294, allocations: 358.6 kB / 0.9935 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3295, allocations: 0 / 0.9935 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.3296, allocations: 81.16 kB / 0.9936 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.3301, allocations: 32.56 kB / 0.9936 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3312, allocations: 0.6731 MB / 0.9942 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.3316, allocations: 0.758 MB / 0.995 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.3318, allocations: 37.42 kB / 0.995 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.3319, allocations: 39.42 kB / 0.9951 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.3319, allocations: 0 / 0.9951 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.009859/0.3418, allocations: 4.536 MB / 0.9995 GB, free: 8.148 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)