Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.962/1.962, allocations: 288.4 MB / 303.3 MB, free: 8.137 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.0009866/0.0009867, allocations: 178.5 kB / 372 MB, free: 10.26 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.692/1.692, allocations: 205.4 MB / 0.6307 GB, free: 9.902 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.0008847/0.0008849, allocations: 98.3 kB / 0.744 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004716, allocations: 10.81 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2616, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001932/0.2636, allocations: 1.191 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2647, allocations: 397.1 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.2647, allocations: 7.938 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.2649, allocations: 7.922 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.265, allocations: 15.94 kB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007828/0.2658, allocations: 209.1 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.2661, allocations: 239.5 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.702e-05/0.2661, allocations: 11.97 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.2665, allocations: 223.6 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.2667, allocations: 131.7 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-05/0.2668, allocations: 12 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.581e-05/0.2669, allocations: 12 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.267, allocations: 79.78 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.2671, allocations: 65.58 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.2673, allocations: 203.9 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2674, allocations: 3.938 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2674, allocations: 4 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2674, allocations: 3.938 kB / 0.9824 GB, free: 24.76 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.001162/0.2685, allocations: 0.6103 MB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.2686, allocations: 12.02 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.2687, allocations: 38.55 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.2688, allocations: 27.72 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.2691, allocations: 258.4 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.2691, allocations: 11.94 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.2692, allocations: 23.98 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.2696, allocations: 145.5 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2696, allocations: 8 kB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.2697, allocations: 0 / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2697, allocations: 0 / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.2699, allocations: 47.97 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.2702, allocations: 313.3 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.2706, allocations: 134.6 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.2708, allocations: 52.84 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.2708, allocations: 7.984 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005762/0.2714, allocations: 224.5 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/0.2714, allocations: 0 / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007492/0.2722, allocations: 270.9 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.2722, allocations: 55.41 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.2726, allocations: 286.9 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.2726, allocations: 41.69 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.2727, allocations: 89.14 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.2728, allocations: 47.44 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.2728, allocations: 8 kB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.2729, allocations: 330.8 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.2732, allocations: 92.17 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.2736, allocations: 152.2 kB / 0.9855 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.2739, allocations: 152.1 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2739, allocations: 0 / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009502/0.2749, allocations: 411.9 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/0.275, allocations: 71.39 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.275, allocations: 0 / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.275, allocations: 4 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.2753, allocations: 28.09 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.2753, allocations: 8 kB / 0.9862 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008147/0.2761, allocations: 67.8 kB / 0.9862 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.2763, allocations: 59.92 kB / 0.9863 GB, free: 20.43 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.0002195/0.2765, allocations: 177.5 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.2766, allocations: 27.62 kB / 0.9865 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.2766, allocations: 38.23 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2767, allocations: 0 / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.2767, allocations: 0 / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2767, allocations: 3.938 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/0.2777, allocations: 0.5697 MB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2777, allocations: 4 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.325e-05/0.2778, allocations: 7.984 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.2778, allocations: 7.938 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.2778, allocations: 7.984 kB / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2779, allocations: 0 / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2779, allocations: 0 / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.2784, allocations: 323 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.2786, allocations: 152.7 kB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/0.2787, allocations: 16 kB / 0.9876 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.279, allocations: 8.734 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.2791, allocations: 23.97 kB / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.2792, allocations: 23.98 kB / 0.9876 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002461/0.2794, allocations: 209.9 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2795, allocations: 0 / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005149/0.28, allocations: 48 kB / 0.9879 GB, free: 18.7 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.0007873/0.2808, allocations: 0.8684 MB / 0.9887 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007169/0.2815, allocations: 350.7 kB / 0.989 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2815, allocations: 0 / 0.989 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.2818, allocations: 76.52 kB / 0.9891 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.2823, allocations: 29.23 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.285, allocations: 1.171 MB / 0.9903 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2853, allocations: 0.7439 MB / 0.991 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.2855, allocations: 41.42 kB / 0.9911 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.2857, allocations: 43.41 kB / 0.9911 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2857, allocations: 0 / 0.9911 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.3078, allocations: 4.988 MB / 0.996 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.3081, allocations: 209.7 kB / 0.9962 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.086, allocations: 0 / 0.9962 GB, free: 10.18 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)