Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.567/1.567, allocations: 287.4 MB / 302.6 MB, free: 8.348 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.001304/0.001304, allocations: 185 kB / 371.1 MB, free: 10.84 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.534/1.534, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008088/0.0008087, allocations: 93.41 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004218, allocations: 10.98 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2558, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001485/0.2573, allocations: 1.187 MB / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007793/0.2581, allocations: 407.2 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.2582, allocations: 4 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.62e-05/0.2583, allocations: 7.922 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.861e-05/0.2584, allocations: 23.8 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.2589, allocations: 205.9 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.2592, allocations: 239.5 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.082e-05/0.2592, allocations: 11.98 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.2595, allocations: 219.6 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.2597, allocations: 131.7 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.2598, allocations: 12 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.206e-05/0.2598, allocations: 8 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.2599, allocations: 75.78 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.26, allocations: 69.58 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.2602, allocations: 199.9 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2602, allocations: 8 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2602, allocations: 0 / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2602, allocations: 4 kB / 0.9814 GB, free: 25.33 MB / 0.6198 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.0009005/0.2611, allocations: 0.6026 MB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2612, allocations: 12.03 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.2612, allocations: 42.67 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.2613, allocations: 36.66 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.2615, allocations: 263.6 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2616, allocations: 12.38 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.2616, allocations: 20.36 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.2619, allocations: 155.6 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2619, allocations: 3.938 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.2619, allocations: 3.938 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2619, allocations: 4 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.2621, allocations: 47.91 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.2623, allocations: 317.3 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.2626, allocations: 126.7 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2627, allocations: 52.84 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.2627, allocations: 7.984 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003923/0.2631, allocations: 225.5 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.2631, allocations: 4 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005033/0.2636, allocations: 271.3 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.2637, allocations: 55.41 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.2639, allocations: 287 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.264, allocations: 41.69 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.264, allocations: 97.05 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.2641, allocations: 43.53 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.2641, allocations: 8 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.2642, allocations: 318.8 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.2644, allocations: 96.17 kB / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.2646, allocations: 146.4 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.2648, allocations: 244.1 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2648, allocations: 4 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005422/0.2654, allocations: 416.6 kB / 0.9852 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.2654, allocations: 71.39 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2655, allocations: 0 / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2655, allocations: 7.938 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2656, allocations: 31.91 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2657, allocations: 4 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.2661, allocations: 75.92 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/0.2662, allocations: 51.92 kB / 0.9855 GB, free: 20.88 MB / 0.6198 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.2664, allocations: 173.3 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.2664, allocations: 31.7 kB / 0.9857 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.2664, allocations: 26.25 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2665, allocations: 7.938 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2665, allocations: 0 / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2665, allocations: 0 / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006348/0.2671, allocations: 0.5605 MB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2671, allocations: 0 / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.2672, allocations: 15.97 kB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2672, allocations: 0 / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.2672, allocations: 19.98 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2672, allocations: 3.938 kB / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2672, allocations: 0 / 0.9863 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.2676, allocations: 321.5 kB / 0.9866 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.2677, allocations: 156.6 kB / 0.9867 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.2678, allocations: 11.98 kB / 0.9867 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.268, allocations: 19.98 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.268, allocations: 15.98 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.2681, allocations: 35.97 kB / 0.9868 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001277/0.2682, allocations: 201.9 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2682, allocations: 0 / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002592/0.2685, allocations: 51.98 kB / 0.9871 GB, free: 19.14 MB / 0.6198 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005116/0.269, allocations: 0.8719 MB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.2694, allocations: 343.7 kB / 0.9882 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2694, allocations: 0 / 0.9882 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2696, allocations: 63.97 kB / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2699, allocations: 24.88 kB / 0.9883 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.2714, allocations: 1.175 MB / 0.9895 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.2716, allocations: 0.7438 MB / 0.9902 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.2717, allocations: 37.42 kB / 0.9902 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2719, allocations: 43.42 kB / 0.9903 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2719, allocations: 0 / 0.9903 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.401/1.672, allocations: 4.973 MB / 0.9951 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/1.673, allocations: 193.9 kB / 0.9953 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/3.756, allocations: 0 / 0.9953 GB, free: 10.65 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)