Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.837/1.837, allocations: 288.2 MB / 303.2 MB, free: 8.258 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.001173/0.001173, allocations: 181 kB / 371.8 MB, free: 10.3 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.731/1.731, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001193/0.001192, allocations: 97.2 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004209, allocations: 10.44 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2632, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001641/0.2649, allocations: 1.179 MB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008154/0.2658, allocations: 392.2 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.2658, allocations: 3.938 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.2659, allocations: 3.984 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.266, allocations: 23.91 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.2666, allocations: 210 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.2668, allocations: 147.8 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.2669, allocations: 8 kB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.2671, allocations: 167.6 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.2673, allocations: 119.7 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/0.2674, allocations: 12 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.216e-05/0.2674, allocations: 8 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.2675, allocations: 75.78 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.181e-05/0.2676, allocations: 69.58 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.2678, allocations: 203.8 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2678, allocations: 0 / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2678, allocations: 4 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2678, allocations: 4 kB / 0.982 GB, free: 25.02 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.000989/0.2688, allocations: 0.6141 MB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2688, allocations: 12.02 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.2689, allocations: 38.56 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.009e-05/0.269, allocations: 31.7 kB / 0.9827 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.2693, allocations: 250.5 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.2694, allocations: 19.92 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.2694, allocations: 20 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.2697, allocations: 142.6 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2697, allocations: 3.938 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.2698, allocations: 8 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2698, allocations: 0 / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2699, allocations: 43.97 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.2702, allocations: 317.3 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.2704, allocations: 138.6 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2705, allocations: 0 / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.2709, allocations: 224.5 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.664e-06/0.2709, allocations: 7.938 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000493/0.2714, allocations: 262.5 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.2714, allocations: 59.39 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.2716, allocations: 290.9 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.2717, allocations: 37.7 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.2718, allocations: 93.14 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.2718, allocations: 51.48 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.2718, allocations: 8 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.2719, allocations: 322.8 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.2721, allocations: 100.1 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.2723, allocations: 144.2 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.2725, allocations: 154.8 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2725, allocations: 3.984 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005945/0.2731, allocations: 403.2 kB / 0.9856 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.2732, allocations: 79.38 kB / 0.9857 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2732, allocations: 8.188 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2732, allocations: 3.938 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.2734, allocations: 27.92 kB / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2734, allocations: 0 / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.274, allocations: 79.78 kB / 0.9858 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.274, allocations: 55.98 kB / 0.9859 GB, free: 20.73 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.0001672/0.2742, allocations: 168 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.2742, allocations: 27.62 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.2743, allocations: 34.25 kB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2743, allocations: 0 / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2743, allocations: 4 kB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2743, allocations: 3.984 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.2751, allocations: 0.566 MB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2751, allocations: 0 / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.2751, allocations: 8 kB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2751, allocations: 0 / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.2752, allocations: 11.97 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.2752, allocations: 7.938 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2752, allocations: 0 / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.2756, allocations: 320 kB / 0.987 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.2757, allocations: 156.7 kB / 0.9872 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.2758, allocations: 11.94 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.276, allocations: 11.98 kB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.2761, allocations: 19.97 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.2761, allocations: 27.98 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001489/0.2763, allocations: 205.9 kB / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2763, allocations: 0 / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002974/0.2766, allocations: 56 kB / 0.9875 GB, free: 19.01 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.0005708/0.2772, allocations: 0.8725 MB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005586/0.2777, allocations: 348.7 kB / 0.9887 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2777, allocations: 4.375 kB / 0.9887 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.2779, allocations: 67.91 kB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.2781, allocations: 28.75 kB / 0.9888 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.2793, allocations: 1.595 MB / 0.9903 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.2795, allocations: 0.7516 MB / 0.991 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000134/0.2797, allocations: 37.42 kB / 0.9911 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.2798, allocations: 47.42 kB / 0.9911 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2798, allocations: 0 / 0.9911 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.2968, allocations: 4.949 MB / 0.996 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.2971, allocations: 204.9 kB / 0.9962 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.082, allocations: 3.938 kB / 0.9962 GB, free: 10.1 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)