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.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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 2.678/2.678, allocations: 287.3 MB / 302.3 MB, free: 8.246 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.003075/0.003074, allocations: 171.2 kB / 370.8 MB, free: 10.87 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.119/2.119, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.00109/0.00109, allocations: 90.31 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005034, allocations: 18.27 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001977/0.2226, allocations: 1.355 MB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2237, allocations: 452.2 kB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.2238, allocations: 0 / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/0.2238, allocations: 7.922 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.224, allocations: 31.89 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.2248, allocations: 209.6 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.2251, allocations: 183.7 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.2253, allocations: 25.42 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.2256, allocations: 175.6 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.2258, allocations: 127.7 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.2259, allocations: 8 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.331e-05/0.226, allocations: 12 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.2262, allocations: 75.78 kB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.2263, allocations: 77.58 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.2266, allocations: 319.5 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2266, allocations: 0 / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2266, allocations: 0 / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2267, allocations: 0 / 0.9813 GB, free: 25.23 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.0014/0.2281, allocations: 0.6413 MB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.2281, allocations: 15.97 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.186e-05/0.2282, allocations: 42.55 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.2283, allocations: 51.52 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.2287, allocations: 259.2 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.2288, allocations: 20 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.459e-05/0.2289, allocations: 19.98 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.2294, allocations: 171.5 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2294, allocations: 4 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.2294, allocations: 3.984 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2295, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.2297, allocations: 63.97 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.2313, allocations: 0.5588 MB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.2318, allocations: 138.6 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.2318, allocations: 4 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006071/0.2324, allocations: 230.2 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.146e-06/0.2324, allocations: 3.984 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0008554/0.2333, allocations: 287.7 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.2333, allocations: 59.41 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.2337, allocations: 316.4 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/0.2338, allocations: 37.7 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.2339, allocations: 101.1 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.234, allocations: 47.44 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.234, allocations: 11.94 kB / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.2341, allocations: 330.8 kB / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.2345, allocations: 104.2 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.2349, allocations: 158.4 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.2352, allocations: 160.1 kB / 0.985 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2352, allocations: 4 kB / 0.985 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001066/0.2363, allocations: 443 kB / 0.9854 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/0.2364, allocations: 75.39 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2364, allocations: 0 / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.2364, allocations: 7.953 kB / 0.9855 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.2367, allocations: 24.16 kB / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2367, allocations: 11.94 kB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008972/0.2376, allocations: 67.8 kB / 0.9856 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.2378, allocations: 55.98 kB / 0.9856 GB, free: 20.47 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.0002562/0.238, allocations: 185.7 kB / 0.9858 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.2381, allocations: 31.62 kB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.2382, allocations: 30.36 kB / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2382, allocations: 4 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2382, allocations: 3.953 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2382, allocations: 0 / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.2392, allocations: 0.5842 MB / 0.9864 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2393, allocations: 4 kB / 0.9864 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-05/0.2393, allocations: 15.94 kB / 0.9864 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.2394, allocations: 3.953 kB / 0.9864 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.2394, allocations: 19.91 kB / 0.9865 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2394, allocations: 0 / 0.9865 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2394, allocations: 0 / 0.9865 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.24, allocations: 324.5 kB / 0.9868 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.2403, allocations: 180.7 kB / 0.9869 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/0.2404, allocations: 27.94 kB / 0.987 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.2408, allocations: 15.98 kB / 0.987 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.2409, allocations: 15.98 kB / 0.987 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.241, allocations: 35.95 kB / 0.987 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002716/0.2412, allocations: 227 kB / 0.9873 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2412, allocations: 3.938 kB / 0.9873 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005087/0.2418, allocations: 51.91 kB / 0.9873 GB, free: 18.63 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.0008642/0.2426, allocations: 0.8739 MB / 0.9882 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007758/0.2434, allocations: 372.9 kB / 0.9885 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2435, allocations: 0 / 0.9885 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.2437, allocations: 83.89 kB / 0.9886 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.2441, allocations: 41.28 kB / 0.9886 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2456, allocations: 1.639 MB / 0.9902 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.2458, allocations: 0.7711 MB / 0.991 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.2461, allocations: 37.36 kB / 0.991 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.2463, allocations: 53.55 kB / 0.9911 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.2463, allocations: 0 / 0.9911 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.2758, allocations: 5.486 MB / 0.9964 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.2761, allocations: 213.5 kB / 0.9966 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/2.842, allocations: 0 / 0.9966 GB, free: 9.102 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)