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 1.563/1.563, allocations: 287.4 MB / 302.6 MB, free: 8.297 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.0009496/0.0009497, allocations: 181 kB / 371.1 MB, free: 10.81 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.562/1.562, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0009709/0.0009707, allocations: 89.48 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.000411, allocations: 14.47 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2525, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001459/0.2539, allocations: 1.186 MB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007375/0.2547, allocations: 408.4 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.2548, allocations: 0 / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.762e-05/0.2549, allocations: 3.938 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.829e-05/0.255, allocations: 31.78 kB / 0.9803 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.2555, allocations: 210.2 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.2558, allocations: 239.5 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.2558, allocations: 8 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.2561, allocations: 227.6 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.2563, allocations: 127.7 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.2563, allocations: 11.98 kB / 0.9811 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.2564, allocations: 12 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.612e-05/0.2565, allocations: 79.78 kB / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.2565, allocations: 65.58 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.2567, allocations: 199.9 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2567, allocations: 0 / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.11e-07/0.2567, allocations: 4 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2567, allocations: 0 / 0.9814 GB, free: 25.29 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.0008872/0.2576, allocations: 0.6143 MB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2577, allocations: 8.031 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.2577, allocations: 46.67 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.2578, allocations: 28.66 kB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.2581, allocations: 267.6 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.2581, allocations: 12.38 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.2581, allocations: 16.38 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.2584, allocations: 154.1 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2584, allocations: 3.938 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.2584, allocations: 0 / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2584, allocations: 0 / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.2586, allocations: 51.91 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.2588, allocations: 313.3 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.2591, allocations: 126.7 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.2592, allocations: 56.83 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.2592, allocations: 4 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/0.2596, allocations: 225.8 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.2596, allocations: 0 / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004757/0.2601, allocations: 269.1 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2601, allocations: 67.38 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.2603, allocations: 279 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.2604, allocations: 45.7 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.2604, allocations: 97.03 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.2604, allocations: 39.55 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.2605, allocations: 8 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.982e-05/0.2605, allocations: 322.8 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.2607, allocations: 92.17 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.2609, allocations: 150.4 kB / 0.9846 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.2612, allocations: 236.1 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2612, allocations: 7.984 kB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005482/0.2618, allocations: 408.6 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.2618, allocations: 79.38 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2618, allocations: 7.938 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2618, allocations: 3.938 kB / 0.9853 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.262, allocations: 27.92 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.262, allocations: 0 / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.2625, allocations: 79.97 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.2625, allocations: 55.92 kB / 0.9855 GB, free: 20.83 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.0001353/0.2627, allocations: 173.3 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.2627, allocations: 23.72 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.2628, allocations: 34.25 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2628, allocations: 7.938 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2628, allocations: 0 / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2628, allocations: 3.984 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.2634, allocations: 0.5666 MB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2634, allocations: 4 kB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.2634, allocations: 8 kB / 0.9863 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2635, allocations: 4 kB / 0.9863 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.2635, allocations: 11.97 kB / 0.9863 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2635, allocations: 4 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2635, allocations: 0 / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.2638, allocations: 319 kB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2639, allocations: 160.6 kB / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.264, allocations: 8 kB / 0.9868 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.2642, allocations: 17.23 kB / 0.9868 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.2642, allocations: 19.97 kB / 0.9868 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.2643, allocations: 27.98 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001333/0.2644, allocations: 205.9 kB / 0.987 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2644, allocations: 0 / 0.987 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002562/0.2647, allocations: 52 kB / 0.9871 GB, free: 19.11 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.000488/0.2652, allocations: 0.8697 MB / 0.9879 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.2656, allocations: 348 kB / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2656, allocations: 0 / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2658, allocations: 67.97 kB / 0.9883 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2661, allocations: 20.88 kB / 0.9883 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.2676, allocations: 1.175 MB / 0.9895 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.2677, allocations: 0.7439 MB / 0.9902 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.2679, allocations: 37.42 kB / 0.9902 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.268, allocations: 47.59 kB / 0.9903 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.268, allocations: 0 / 0.9903 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.303/1.571, allocations: 4.96 MB / 0.9951 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/1.571, allocations: 201.2 kB / 0.9953 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/3.594, allocations: 0 / 0.9953 GB, free: 10.61 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)