Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 186.3 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 70.69 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2417, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002638/0.2444, allocations: 1.491 MB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.2453, allocations: 424.2 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.2453, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.027e-05/0.2454, allocations: 7.875 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2455, allocations: 24.22 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.2462, allocations: 247.5 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.2466, allocations: 335.4 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.2466, allocations: 4 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.2469, allocations: 191.8 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.2471, allocations: 126.4 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.2472, allocations: 20 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.913e-05/0.2472, allocations: 16 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2473, allocations: 87.77 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.2475, allocations: 123.4 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2478, allocations: 295.3 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2478, allocations: 0 / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2478, allocations: 0 / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2478, allocations: 0 / 0.7869 GB, free: 9.906 MB / 0.6075 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.001043/0.2488, allocations: 0.75 MB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2489, allocations: 8.031 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.2489, allocations: 38.75 kB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.103e-05/0.249, allocations: 32.64 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.2493, allocations: 255.6 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.2494, allocations: 24.11 kB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.2494, allocations: 20 kB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008332/0.2503, allocations: 208.3 kB / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2503, allocations: 3.984 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.2503, allocations: 3.984 kB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2503, allocations: 0 / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.251, allocations: 91.92 kB / 0.7883 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.2513, allocations: 325.3 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/0.2522, allocations: 174.4 kB / 0.7888 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006271/0.2529, allocations: 108.8 kB / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.2529, allocations: 0 / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008366/0.2537, allocations: 211.1 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2537, allocations: 0 / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002214/0.256, allocations: 452.3 kB / 0.7895 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.256, allocations: 63.39 kB / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.2563, allocations: 290.9 kB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.2563, allocations: 37.7 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.2564, allocations: 93.12 kB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.2565, allocations: 35.55 kB / 0.79 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.2566, allocations: 101.4 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2567, allocations: 318.8 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.2569, allocations: 83.94 kB / 0.7905 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.2571, allocations: 148.7 kB / 0.7906 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.2574, allocations: 241.2 kB / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2574, allocations: 0 / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005659/0.258, allocations: 391.6 kB / 0.7912 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.326e-05/0.258, allocations: 79.38 kB / 0.7913 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2581, allocations: 0 / 0.7913 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2581, allocations: 4.188 kB / 0.7913 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2582, allocations: 23.92 kB / 0.7913 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2583, allocations: 4 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.2587, allocations: 55.8 kB / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.2587, allocations: 43.98 kB / 0.7914 GB, free: 4.922 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.2589, allocations: 167.9 kB / 0.7916 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.2589, allocations: 31.7 kB / 0.7916 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.259, allocations: 30.3 kB / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.259, allocations: 0 / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.259, allocations: 0 / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.259, allocations: 0 / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.2609, allocations: 0.6896 MB / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2609, allocations: 4 kB / 0.7923 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.2609, allocations: 7.984 kB / 0.7923 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2609, allocations: 7.922 kB / 0.7923 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.261, allocations: 15.98 kB / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.261, allocations: 0 / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.261, allocations: 3.984 kB / 0.7923 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.2624, allocations: 443.5 kB / 0.7928 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.2626, allocations: 168.6 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.2627, allocations: 12 kB / 0.7929 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.2631, allocations: 31.97 kB / 0.793 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.2631, allocations: 11.92 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.2632, allocations: 47.97 kB / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001744/0.2634, allocations: 213.9 kB / 0.7932 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2634, allocations: 0 / 0.7932 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003188/0.2637, allocations: 44 kB / 0.7933 GB, free: 2.918 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001795/0.2655, allocations: 0.9885 MB / 0.7942 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.2665, allocations: 378.5 kB / 0.7946 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2666, allocations: 0 / 0.7946 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.2672, allocations: 115.8 kB / 0.7947 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.2676, allocations: 35.39 kB / 0.7947 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.2707, allocations: 2.381 MB / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.271, allocations: 0.7395 MB / 0.7978 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.954e-05/0.2711, allocations: 13.08 kB / 0.7978 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.2712, allocations: 27.44 kB / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.2712, allocations: 0 / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.2918, allocations: 4.778 MB / 0.8025 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.36/7.652, allocations: 7.922 kB / 0.8025 GB, free: 9.379 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)