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.608/2.608, allocations: 287.5 MB / 302.4 MB, free: 8.211 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.001324/0.001324, allocations: 182.3 kB / 371 MB, free: 10.86 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.071/2.071, allocations: 205.4 MB / 0.6297 GB, free: 10.66 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.0009621/0.000962, allocations: 86.38 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004925, allocations: 11.91 kB / 0.8659 GB, free: 139.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002097/0.2273, allocations: 1.362 MB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2286, allocations: 457.9 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.2287, allocations: 0 / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.577e-05/0.2288, allocations: 11.86 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.2289, allocations: 15.92 kB / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.2298, allocations: 221.2 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.2302, allocations: 303.5 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.2304, allocations: 25.42 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.2309, allocations: 231.5 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.2312, allocations: 139.7 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.2314, allocations: 11.98 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2315, allocations: 16 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.2316, allocations: 75.78 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.2317, allocations: 77.52 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.2321, allocations: 319.5 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2321, allocations: 3.938 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2321, allocations: 0 / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2321, allocations: 0 / 0.9816 GB, free: 24.99 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.001416/0.2336, allocations: 0.6491 MB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2336, allocations: 8.031 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.809e-05/0.2337, allocations: 42.55 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.2338, allocations: 39.58 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.2342, allocations: 271.1 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.2343, allocations: 12 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.2345, allocations: 23.98 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.2349, allocations: 166.5 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.235, allocations: 0 / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.235, allocations: 15.98 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.235, allocations: 0 / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.2353, allocations: 55.97 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.2369, allocations: 0.5588 MB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.2374, allocations: 142.7 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.2376, allocations: 68.75 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.2377, allocations: 4 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.2383, allocations: 220.4 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.745e-06/0.2383, allocations: 0 / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009461/0.2393, allocations: 294.5 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.2394, allocations: 63.34 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.2398, allocations: 312.4 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-05/0.2399, allocations: 45.7 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.24, allocations: 97.12 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.24, allocations: 43.44 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.2401, allocations: 8 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.654e-05/0.2402, allocations: 322.8 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.2405, allocations: 108.2 kB / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.2409, allocations: 162.4 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.2413, allocations: 160.1 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2413, allocations: 0 / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001131/0.2425, allocations: 443.2 kB / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.197e-05/0.2426, allocations: 81.11 kB / 0.9859 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2426, allocations: 4 kB / 0.9859 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.2426, allocations: 7.953 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.2429, allocations: 27.91 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.243, allocations: 4 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009151/0.2439, allocations: 79.77 kB / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.244, allocations: 55.92 kB / 0.9861 GB, free: 20.16 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.000299/0.2443, allocations: 185.7 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.2444, allocations: 27.62 kB / 0.9863 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.405e-05/0.2445, allocations: 34.36 kB / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2445, allocations: 7.953 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2445, allocations: 4 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2445, allocations: 0 / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2456, allocations: 0.5881 MB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2456, allocations: 3.984 kB / 0.9869 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.429e-05/0.2457, allocations: 8 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.2457, allocations: 3.953 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.2458, allocations: 7.984 kB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.2458, allocations: 4 kB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2458, allocations: 4 kB / 0.9869 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.2465, allocations: 336.1 kB / 0.9872 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.2468, allocations: 180.7 kB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/0.2469, allocations: 23.94 kB / 0.9874 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.2473, allocations: 7.984 kB / 0.9874 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.2473, allocations: 19.98 kB / 0.9874 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.157e-05/0.2474, allocations: 27.97 kB / 0.9875 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002877/0.2477, allocations: 235 kB / 0.9877 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2477, allocations: 0 / 0.9877 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005324/0.2483, allocations: 55.91 kB / 0.9878 GB, free: 18.32 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.00093/0.2492, allocations: 0.8761 MB / 0.9886 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008699/0.2501, allocations: 370.7 kB / 0.989 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2501, allocations: 0 / 0.989 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.2504, allocations: 75.95 kB / 0.989 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.251, allocations: 36.58 kB / 0.9891 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.2541, allocations: 1.305 MB / 0.9903 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2544, allocations: 0.7625 MB / 0.9911 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002421/0.2547, allocations: 33.42 kB / 0.9911 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.2549, allocations: 59.41 kB / 0.9912 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.255, allocations: 0 / 0.9912 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.2891, allocations: 5.541 MB / 0.9966 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/0.2895, allocations: 227.6 kB / 0.9968 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.078, allocations: 0 / 0.9968 GB, free: 9.121 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)