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.794/2.794, allocations: 287.3 MB / 302.3 MB, free: 8.246 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.002931/0.00293, allocations: 186.6 kB / 370.8 MB, free: 10.85 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.114/2.114, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001133/0.001115, allocations: 92.75 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005767/0.0005766, allocations: 11.88 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2327, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001753/0.2345, allocations: 1.179 MB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2356, allocations: 392.1 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.2357, allocations: 4 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.368e-05/0.2358, allocations: 3.938 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.2359, allocations: 19.97 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.2368, allocations: 217.5 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.2371, allocations: 147.8 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.2371, allocations: 4 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.2374, allocations: 163.6 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.2377, allocations: 123.7 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.29e-05/0.2378, allocations: 8 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-05/0.2379, allocations: 8 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.238, allocations: 79.78 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2382, allocations: 73.58 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.2384, allocations: 203.8 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2385, allocations: 0 / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2385, allocations: 0 / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.2385, allocations: 0 / 0.9808 GB, free: 25.69 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.001377/0.2399, allocations: 0.6141 MB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.2399, allocations: 12.02 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.24, allocations: 46.55 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.2401, allocations: 35.67 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.2405, allocations: 250.5 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.2405, allocations: 12 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.2406, allocations: 16 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.2411, allocations: 154.8 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2411, allocations: 0 / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.2411, allocations: 0 / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2411, allocations: 3.938 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.2413, allocations: 47.97 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.2418, allocations: 317.3 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.2422, allocations: 130.7 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.2422, allocations: 3.984 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006281/0.2429, allocations: 225.7 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.525e-06/0.2429, allocations: 0 / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0008827/0.2438, allocations: 265.2 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2438, allocations: 63.41 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.2442, allocations: 286.9 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/0.2443, allocations: 45.69 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.2443, allocations: 93.14 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.2444, allocations: 43.5 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.2445, allocations: 8 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.2446, allocations: 322.8 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.2449, allocations: 92.17 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.2453, allocations: 150.3 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.2456, allocations: 152.1 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2456, allocations: 0 / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009922/0.2466, allocations: 417 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.206e-05/0.2467, allocations: 71.39 kB / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2467, allocations: 4 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.2467, allocations: 4 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.247, allocations: 31.91 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.2471, allocations: 7.984 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009109/0.248, allocations: 79.83 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.844e-05/0.2481, allocations: 47.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.0002564/0.2484, allocations: 176 kB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.2484, allocations: 27.62 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.091e-05/0.2485, allocations: 26.25 kB / 0.9849 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2485, allocations: 8 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2485, allocations: 0 / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2486, allocations: 3.938 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2496, allocations: 0.5587 MB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2496, allocations: 0 / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.2497, allocations: 15.92 kB / 0.9855 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.2497, allocations: 0 / 0.9855 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.2498, allocations: 15.98 kB / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.2498, allocations: 0 / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2498, allocations: 4 kB / 0.9855 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.2504, allocations: 325.1 kB / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.2506, allocations: 152.7 kB / 0.986 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.2507, allocations: 8 kB / 0.986 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.2511, allocations: 19.98 kB / 0.986 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.2512, allocations: 15.97 kB / 0.986 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/0.2512, allocations: 31.98 kB / 0.986 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002472/0.2515, allocations: 209.9 kB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2515, allocations: 3.938 kB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000484/0.252, allocations: 48 kB / 0.9863 GB, free: 19.68 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.000846/0.2528, allocations: 0.8681 MB / 0.9871 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007706/0.2536, allocations: 348.1 kB / 0.9875 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2537, allocations: 0 / 0.9875 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.2539, allocations: 71.91 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.0003526/0.2542, allocations: 20.88 kB / 0.9876 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2557, allocations: 1.599 MB / 0.9891 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.256, allocations: 0.7545 MB / 0.9898 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002255/0.2562, allocations: 45.41 kB / 0.9899 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.2565, allocations: 43.41 kB / 0.9899 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.262e-06/0.2565, allocations: 0 / 0.9899 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.2836, allocations: 4.93 MB / 0.9947 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/0.2839, allocations: 197.8 kB / 0.9949 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/2.925, allocations: 0 / 0.9949 GB, free: 10.77 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)