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 2.658/2.658, allocations: 287.5 MB / 302.4 MB, free: 8.211 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.001383/0.001383, allocations: 174.8 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.291/2.291, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009693/0.000969, allocations: 101.5 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006257/0.0006263, allocations: 11 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2334, allocations: 115.3 MB / 0.9784 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001813/0.2353, allocations: 1.194 MB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.237, allocations: 396.1 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.2372, allocations: 3.938 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.2373, allocations: 3.938 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.2376, allocations: 23.86 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.239, allocations: 217.6 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.2394, allocations: 239.5 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.267e-05/0.2395, allocations: 4 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.2399, allocations: 219.7 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.2402, allocations: 131.7 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.2403, allocations: 11.94 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2405, allocations: 12 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.2406, allocations: 79.84 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.2407, allocations: 73.56 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.241, allocations: 195.9 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.241, allocations: 0 / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.241, allocations: 3.938 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.241, allocations: 0 / 0.9812 GB, free: 25.45 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.001278/0.2423, allocations: 0.618 MB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.2423, allocations: 19.95 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.2424, allocations: 34.56 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.2425, allocations: 39.66 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.2429, allocations: 246.5 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.2429, allocations: 15.98 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/0.243, allocations: 16 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.2434, allocations: 147 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2434, allocations: 3.938 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.2435, allocations: 7.984 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2435, allocations: 4 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.2437, allocations: 39.98 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.2441, allocations: 321.3 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.2445, allocations: 130.6 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.2447, allocations: 56.83 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.2447, allocations: 4 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000592/0.2453, allocations: 217.9 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.016e-06/0.2454, allocations: 3.984 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007952/0.2462, allocations: 273.1 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2462, allocations: 59.41 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.2466, allocations: 286.9 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.2466, allocations: 41.7 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.2467, allocations: 89.14 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.2468, allocations: 47.44 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.2469, allocations: 11.98 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.2469, allocations: 326.8 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.2473, allocations: 92.17 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.2476, allocations: 142.4 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.248, allocations: 156.1 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.248, allocations: 4 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000981/0.249, allocations: 407.2 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.2491, allocations: 73.73 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2491, allocations: 3.984 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2491, allocations: 4 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.2494, allocations: 27.92 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2494, allocations: 4 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/0.2503, allocations: 71.98 kB / 0.985 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.2504, allocations: 55.97 kB / 0.9851 GB, free: 21.11 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.0002264/0.2506, allocations: 177.3 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.2507, allocations: 27.62 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.2508, allocations: 30.25 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2508, allocations: 3.938 kB / 0.9853 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2508, allocations: 4 kB / 0.9853 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.2509, allocations: 3.984 kB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009783/0.2518, allocations: 0.5644 MB / 0.9859 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-06/0.2519, allocations: 4 kB / 0.9859 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.2519, allocations: 8 kB / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.252, allocations: 0 / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.252, allocations: 19.97 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.252, allocations: 0 / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.252, allocations: 0 / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.2526, allocations: 324.5 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.2528, allocations: 148.7 kB / 0.9864 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.2529, allocations: 8 kB / 0.9864 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.2532, allocations: 19.98 kB / 0.9864 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.2533, allocations: 15.97 kB / 0.9864 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.2534, allocations: 31.98 kB / 0.9864 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002342/0.2536, allocations: 209.9 kB / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2536, allocations: 0 / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004438/0.2541, allocations: 47.95 kB / 0.9867 GB, free: 19.39 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.0008274/0.2549, allocations: 0.8714 MB / 0.9875 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007277/0.2557, allocations: 348.1 kB / 0.9879 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2557, allocations: 0 / 0.9879 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.2559, allocations: 75.94 kB / 0.9879 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.2564, allocations: 20.88 kB / 0.9879 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.2589, allocations: 1.18 MB / 0.9891 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2591, allocations: 0.7399 MB / 0.9898 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.2594, allocations: 37.41 kB / 0.9899 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.2596, allocations: 51.47 kB / 0.9899 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.2596, allocations: 0 / 0.9899 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.2907, allocations: 4.975 MB / 0.9948 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.291, allocations: 199.9 kB / 0.995 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/2.881, allocations: 0 / 0.995 GB, free: 10.87 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)