Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 288.2 MB / 303.2 MB, free: 8.066 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.001093/0.001093, allocations: 179.6 kB / 371.8 MB, free: 10.27 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.674/1.674, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008567/0.0008567, allocations: 97.2 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003873, allocations: 11.5 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.258, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001616/0.2597, allocations: 1.179 MB / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007579/0.2605, allocations: 390 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.2606, allocations: 7.938 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.976e-05/0.2606, allocations: 0 / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2607, allocations: 27.89 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.2613, allocations: 206 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.2615, allocations: 147.8 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.2615, allocations: 4 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.2617, allocations: 171.6 kB / 0.9815 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.2619, allocations: 123.7 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.262, allocations: 8 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.185e-05/0.262, allocations: 8 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.2621, allocations: 75.78 kB / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.2622, allocations: 69.58 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.2623, allocations: 203.8 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.2623, allocations: 0 / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2623, allocations: 0 / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2624, allocations: 0 / 0.982 GB, free: 25 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.0009025/0.2633, allocations: 0.618 MB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2633, allocations: 12.02 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.2634, allocations: 42.55 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.912e-05/0.2635, allocations: 27.72 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.2638, allocations: 258.4 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.2638, allocations: 12 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.2639, allocations: 23.98 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.2642, allocations: 149.5 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2642, allocations: 0 / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2642, allocations: 4 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2642, allocations: 3.938 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.2643, allocations: 47.97 kB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.2646, allocations: 309.3 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.2649, allocations: 134.6 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.2649, allocations: 3.984 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004491/0.2654, allocations: 227.2 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.2654, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005389/0.266, allocations: 262.6 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.266, allocations: 63.41 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.2663, allocations: 286.9 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.2663, allocations: 41.69 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.2664, allocations: 93.12 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.2665, allocations: 39.52 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.2665, allocations: 8 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2666, allocations: 330.8 kB / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.2668, allocations: 96.11 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.267, allocations: 152.2 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.2672, allocations: 149.8 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2672, allocations: 0 / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006498/0.2679, allocations: 407.2 kB / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/0.268, allocations: 75.39 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.268, allocations: 4 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.268, allocations: 4 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2682, allocations: 28.09 kB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.2683, allocations: 11.94 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.2688, allocations: 71.73 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/0.2689, allocations: 51.98 kB / 0.9859 GB, free: 20.72 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.000183/0.269, allocations: 179.9 kB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.2691, allocations: 27.62 kB / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.2691, allocations: 30.25 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2692, allocations: 4 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.2692, allocations: 0 / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2692, allocations: 0 / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.2699, allocations: 0.5694 MB / 0.9867 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2699, allocations: 0 / 0.9867 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.27, allocations: 11.98 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.27, allocations: 0 / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.27, allocations: 19.92 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.27, allocations: 0 / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.27, allocations: 0 / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.2704, allocations: 320.3 kB / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.2705, allocations: 156.7 kB / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.2706, allocations: 12 kB / 0.9872 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.2708, allocations: 11.98 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.2709, allocations: 23.91 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.2709, allocations: 27.98 kB / 0.9872 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001429/0.2711, allocations: 205.9 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2711, allocations: 0 / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000301/0.2714, allocations: 48 kB / 0.9875 GB, free: 18.99 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.0005889/0.272, allocations: 0.8797 MB / 0.9883 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004387/0.2724, allocations: 347.3 kB / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2724, allocations: 0 / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.2725, allocations: 69.94 kB / 0.9887 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2728, allocations: 29.19 kB / 0.9887 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2739, allocations: 1.599 MB / 0.9903 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.2741, allocations: 0.7477 MB / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.2743, allocations: 37.42 kB / 0.9911 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2744, allocations: 43.41 kB / 0.9911 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.2744, allocations: 4 kB / 0.9911 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.2974, allocations: 4.952 MB / 0.996 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.2977, allocations: 187.9 kB / 0.9961 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.006, allocations: 0 / 0.9961 GB, free: 10.08 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)