Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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.83/2.83, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001528/0.001528, allocations: 184.7 kB / 370.8 MB, free: 10.82 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.189/2.189, allocations: 205.4 MB / 0.6295 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.001193/0.001193, allocations: 97.55 kB / 0.7428 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.0005112, allocations: 16.78 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2373, allocations: 115.3 MB / 0.9783 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.0027/0.2401, allocations: 1.355 MB / 0.9796 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.2417, allocations: 456.7 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2419, allocations: 0 / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.598e-05/0.242, allocations: 3.938 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.2422, allocations: 27.89 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.2434, allocations: 215.2 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005321/0.244, allocations: 179.7 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.2442, allocations: 29.42 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.2447, allocations: 171.6 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.2451, allocations: 131.7 kB / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.2453, allocations: 8 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.2454, allocations: 12 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.2456, allocations: 75.78 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.2457, allocations: 77.58 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.2463, allocations: 319.5 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2464, allocations: 4 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2464, allocations: 0 / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.2464, allocations: 0 / 0.9813 GB, free: 25.18 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.002094/0.2485, allocations: 0.6375 MB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.2486, allocations: 8.031 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.2488, allocations: 46.48 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.249, allocations: 47.52 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006043/0.2496, allocations: 267.2 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.913e-05/0.2498, allocations: 15.98 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.2499, allocations: 20 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.2506, allocations: 171.3 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2506, allocations: 3.938 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.2507, allocations: 4 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2507, allocations: 4 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.2511, allocations: 55.97 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.2537, allocations: 0.5588 MB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009045/0.2547, allocations: 142.6 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.2548, allocations: 11.97 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006823/0.2555, allocations: 220.1 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.196e-06/0.2555, allocations: 4 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.00092/0.2564, allocations: 286.8 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.2565, allocations: 63.39 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.2569, allocations: 308.5 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.257, allocations: 49.62 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.2571, allocations: 89.14 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.2572, allocations: 47.44 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.2572, allocations: 15.92 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.2573, allocations: 330.8 kB / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.2577, allocations: 104.2 kB / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.2581, allocations: 154.4 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.2585, allocations: 171.1 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2585, allocations: 0 / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001096/0.2596, allocations: 435.1 kB / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.2597, allocations: 83.31 kB / 0.9854 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2598, allocations: 0 / 0.9854 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.2598, allocations: 7.953 kB / 0.9855 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.2601, allocations: 23.98 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.2601, allocations: 16.11 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009358/0.2611, allocations: 67.8 kB / 0.9856 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.2612, allocations: 59.97 kB / 0.9856 GB, free: 20.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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0003011/0.2615, allocations: 185.8 kB / 0.9858 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-05/0.2616, allocations: 27.62 kB / 0.9858 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.2617, allocations: 30.3 kB / 0.9858 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.2617, allocations: 4 kB / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.2617, allocations: 3.953 kB / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2617, allocations: 3.984 kB / 0.9859 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.2628, allocations: 0.5898 MB / 0.9864 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2629, allocations: 8 kB / 0.9864 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.263, allocations: 11.92 kB / 0.9865 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.263, allocations: 3.953 kB / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.263, allocations: 19.92 kB / 0.9865 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2631, allocations: 0 / 0.9865 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2631, allocations: 0 / 0.9865 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.2637, allocations: 323 kB / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.264, allocations: 188.6 kB / 0.987 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.2641, allocations: 11.95 kB / 0.987 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.2645, allocations: 19.98 kB / 0.987 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.2646, allocations: 15.97 kB / 0.987 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.2647, allocations: 31.98 kB / 0.987 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000291/0.265, allocations: 223 kB / 0.9873 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.265, allocations: 0 / 0.9873 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000547/0.2655, allocations: 59.89 kB / 0.9873 GB, free: 18.58 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0009929/0.2665, allocations: 0.8828 MB / 0.9882 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008791/0.2674, allocations: 369 kB / 0.9885 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2675, allocations: 0 / 0.9885 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.2677, allocations: 75.91 kB / 0.9886 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.2682, allocations: 36.95 kB / 0.9886 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.2698, allocations: 1.639 MB / 0.9902 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.2701, allocations: 0.7634 MB / 0.991 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002556/0.2704, allocations: 41.36 kB / 0.991 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.2706, allocations: 55.41 kB / 0.9911 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of SimCode: time 1.152e-06/0.2707, allocations: 3.938 kB / 0.9911 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.3039, allocations: 5.501 MB / 0.9964 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/0.3042, allocations: 222.4 kB / 0.9967 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/2.778, allocations: 1.75 kB / 0.9967 GB, free: 9.055 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)