Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.748/1.748, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001414/0.001414, allocations: 185 kB / 371.8 MB, free: 10.26 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.739/1.739, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0009995/0.0009994, allocations: 94.8 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004807, allocations: 18.53 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2534, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001593/0.255, allocations: 1.187 MB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000791/0.2558, allocations: 390.4 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.2559, allocations: 0 / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.256, allocations: 7.922 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.2561, allocations: 19.97 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.2567, allocations: 214.1 kB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.2569, allocations: 151.8 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.2569, allocations: 4 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.2571, allocations: 167.6 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.2573, allocations: 115.8 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.539e-05/0.2574, allocations: 12 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.346e-05/0.2574, allocations: 8 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.574e-05/0.2575, allocations: 79.78 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.2576, allocations: 69.58 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.2578, allocations: 207.8 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2578, allocations: 0 / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2578, allocations: 0 / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2578, allocations: 0 / 0.982 GB, free: 25.01 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.0009491/0.2588, allocations: 0.6141 MB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2588, allocations: 16.02 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.2589, allocations: 38.55 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.2589, allocations: 35.7 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.2593, allocations: 258.4 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.2593, allocations: 11.98 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.2593, allocations: 20 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.2596, allocations: 147 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2596, allocations: 0 / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.2597, allocations: 7.938 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2597, allocations: 3.984 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.2598, allocations: 43.98 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.2601, allocations: 313.3 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.2603, allocations: 134.6 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2604, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003975/0.2608, allocations: 227.2 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.2608, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004776/0.2613, allocations: 266.9 kB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.2613, allocations: 59.39 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.2615, allocations: 294.9 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.2616, allocations: 37.64 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.2616, allocations: 105.1 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.2617, allocations: 35.52 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.2617, allocations: 8 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.2618, allocations: 330.8 kB / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.262, allocations: 92.17 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.2622, allocations: 148.2 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.2623, allocations: 153.8 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2624, allocations: 0 / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005558/0.2629, allocations: 411.2 kB / 0.9857 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.263, allocations: 75.38 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.263, allocations: 4 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.263, allocations: 0 / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.2632, allocations: 31.86 kB / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.2632, allocations: 3.984 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.2637, allocations: 75.97 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.2638, allocations: 59.92 kB / 0.9859 GB, free: 20.71 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.0001473/0.264, allocations: 164 kB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.264, allocations: 27.62 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.264, allocations: 34.25 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2641, allocations: 4 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.2641, allocations: 3.984 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2641, allocations: 7.984 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.2648, allocations: 0.5616 MB / 0.9867 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2648, allocations: 0 / 0.9867 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.2648, allocations: 7.938 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2648, allocations: 7.984 kB / 0.9867 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.2649, allocations: 7.984 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2649, allocations: 0 / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2649, allocations: 8 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.2652, allocations: 320.4 kB / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.2654, allocations: 152.7 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.2654, allocations: 11.98 kB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2656, allocations: 15.94 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.2657, allocations: 15.97 kB / 0.9872 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.2657, allocations: 27.98 kB / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001311/0.2659, allocations: 209.9 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2659, allocations: 0 / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002861/0.2662, allocations: 55.98 kB / 0.9875 GB, free: 18.99 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.0005288/0.2667, allocations: 0.8684 MB / 0.9883 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.2672, allocations: 355.3 kB / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2672, allocations: 0 / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2673, allocations: 72.69 kB / 0.9887 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.2676, allocations: 16.88 kB / 0.9887 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009458/0.2685, allocations: 1.599 MB / 0.9903 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.2687, allocations: 0.7477 MB / 0.991 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00013/0.2688, allocations: 41.42 kB / 0.9911 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2689, allocations: 43.42 kB / 0.9911 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.269, allocations: 0 / 0.9911 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.2894, allocations: 4.953 MB / 0.996 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.2896, allocations: 205.6 kB / 0.9962 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.053, allocations: 0 / 0.9962 GB, free: 10.08 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)