Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.845/2.845, allocations: 287.3 MB / 302.3 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.001523/0.001523, allocations: 187.2 kB / 370.8 MB, free: 10.86 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.181/2.181, allocations: 205.4 MB / 0.6295 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.00112/0.00112, allocations: 88.34 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006977/0.0006979, allocations: 14.75 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2352, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001802/0.2371, allocations: 1.183 MB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2382, allocations: 385.9 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.2383, allocations: 0 / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.2384, allocations: 7.922 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2385, allocations: 23.95 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.2393, allocations: 205.9 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.2396, allocations: 147.8 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.2397, allocations: 8 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.24, allocations: 167.6 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.2402, allocations: 119.8 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.2403, allocations: 12 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.2404, allocations: 12 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.2405, allocations: 75.78 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.143e-05/0.2406, allocations: 69.56 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.2409, allocations: 203.8 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2409, allocations: 0 / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.241, allocations: 0 / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.241, allocations: 0 / 0.9808 GB, free: 25.7 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.001328/0.2423, allocations: 0.618 MB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.2424, allocations: 16.02 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.287e-05/0.2424, allocations: 34.56 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.2426, allocations: 39.66 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.2429, allocations: 250.5 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.243, allocations: 19.98 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.338e-05/0.2431, allocations: 19.94 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.2435, allocations: 147.1 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2435, allocations: 0 / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.2436, allocations: 7.984 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2436, allocations: 8 kB / 0.9819 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.2438, allocations: 35.98 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.2442, allocations: 321.3 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.2446, allocations: 130.6 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.2447, allocations: 4 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006539/0.2453, allocations: 219.5 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/0.2453, allocations: 0 / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0008466/0.2462, allocations: 266.8 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2463, allocations: 67.39 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.2466, allocations: 290.9 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.2467, allocations: 33.7 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.2468, allocations: 97.12 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.2468, allocations: 43.5 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.2469, allocations: 8 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.247, allocations: 326.8 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.2473, allocations: 96.17 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.2477, allocations: 150.3 kB / 0.9839 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.248, allocations: 148.1 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.248, allocations: 0 / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001039/0.2491, allocations: 407.2 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/0.2492, allocations: 79.38 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2492, allocations: 0 / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.2492, allocations: 4 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.2495, allocations: 23.92 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.2495, allocations: 7.984 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/0.2505, allocations: 79.86 kB / 0.9846 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.2506, allocations: 55.98 kB / 0.9847 GB, free: 21.41 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.00026/0.2509, allocations: 164 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.2509, allocations: 35.61 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.298e-05/0.251, allocations: 30.25 kB / 0.9849 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.251, allocations: 0 / 0.9849 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2511, allocations: 0 / 0.9849 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2511, allocations: 3.938 kB / 0.9849 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.2521, allocations: 0.5623 MB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2522, allocations: 0 / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.2523, allocations: 15.92 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.2523, allocations: 3.938 kB / 0.9855 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.2523, allocations: 15.98 kB / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2523, allocations: 0 / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2524, allocations: 0 / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.253, allocations: 320.3 kB / 0.9858 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.2532, allocations: 152.7 kB / 0.986 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.2533, allocations: 11.98 kB / 0.986 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.2537, allocations: 11.98 kB / 0.986 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.2538, allocations: 19.98 kB / 0.986 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/0.2539, allocations: 35.97 kB / 0.986 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002425/0.2541, allocations: 205.9 kB / 0.9862 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2541, allocations: 3.938 kB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004851/0.2546, allocations: 47.98 kB / 0.9863 GB, free: 19.69 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.0008498/0.2555, allocations: 0.8811 MB / 0.9871 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007905/0.2563, allocations: 346.7 kB / 0.9875 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2563, allocations: 0 / 0.9875 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.2565, allocations: 75.89 kB / 0.9875 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.2569, allocations: 20.81 kB / 0.9876 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2584, allocations: 1.603 MB / 0.9891 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2587, allocations: 0.7477 MB / 0.9899 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.2589, allocations: 37.42 kB / 0.9899 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.2592, allocations: 43.42 kB / 0.9899 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.933e-06/0.2592, allocations: 0 / 0.9899 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.2918, allocations: 4.941 MB / 0.9948 GB, free: 11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/0.2921, allocations: 190.6 kB / 0.9949 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/2.785, allocations: 4 kB / 0.9949 GB, free: 10.76 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)