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.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.707/2.707, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001546/0.001545, allocations: 197.1 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.64 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.001622/0.001622, allocations: 96.84 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000676/0.0006764, allocations: 14.28 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2295, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001916/0.2314, allocations: 1.351 MB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2326, allocations: 448.8 kB / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.2327, allocations: 0 / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.801e-05/0.2328, allocations: 7.922 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2329, allocations: 19.97 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008629/0.2338, allocations: 221.5 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.2341, allocations: 183.7 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2342, allocations: 21.44 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.2345, allocations: 179.6 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.2348, allocations: 123.7 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.449e-05/0.2349, allocations: 8 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.235, allocations: 8 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.2351, allocations: 75.78 kB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.2352, allocations: 89.52 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.2356, allocations: 315.5 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2356, allocations: 0 / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.185e-06/0.2356, allocations: 4 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2356, allocations: 0 / 0.9813 GB, free: 25.25 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.001341/0.237, allocations: 0.6393 MB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.237, allocations: 12.03 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.2372, allocations: 42.55 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.2373, allocations: 43.52 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.2377, allocations: 267.2 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/0.2378, allocations: 19.92 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.2379, allocations: 20 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.2383, allocations: 169.5 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2384, allocations: 0 / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.2384, allocations: 8 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2384, allocations: 0 / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.2387, allocations: 63.95 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.2403, allocations: 0.5666 MB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.2407, allocations: 142.6 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2408, allocations: 0 / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006347/0.2414, allocations: 224.2 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.485e-06/0.2414, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0008614/0.2423, allocations: 290.7 kB / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.2423, allocations: 63.39 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.2427, allocations: 312.4 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-05/0.2428, allocations: 37.7 kB / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.2429, allocations: 97.12 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.243, allocations: 47.44 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.2431, allocations: 15.94 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.2431, allocations: 326.8 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.2435, allocations: 100.2 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.2439, allocations: 158.4 kB / 0.9848 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.2442, allocations: 168.1 kB / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.2443, allocations: 4 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001094/0.2454, allocations: 432 kB / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/0.2455, allocations: 79.38 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2455, allocations: 0 / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2455, allocations: 8.141 kB / 0.9854 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.2458, allocations: 31.92 kB / 0.9855 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.2458, allocations: 7.984 kB / 0.9855 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009205/0.2467, allocations: 67.8 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.2469, allocations: 51.98 kB / 0.9856 GB, free: 20.49 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.0003023/0.2472, allocations: 185.8 kB / 0.9858 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.2473, allocations: 35.59 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.2474, allocations: 30.36 kB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2474, allocations: 4 kB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2474, allocations: 3.953 kB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2474, allocations: 0 / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.2485, allocations: 0.5937 MB / 0.9864 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2485, allocations: 0 / 0.9864 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.2486, allocations: 15.92 kB / 0.9864 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.2486, allocations: 7.953 kB / 0.9864 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.2487, allocations: 19.92 kB / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2487, allocations: 0 / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2487, allocations: 0 / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.2494, allocations: 330.9 kB / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.2497, allocations: 184.7 kB / 0.987 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.862e-05/0.2498, allocations: 15.95 kB / 0.987 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.2501, allocations: 15.98 kB / 0.987 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.2502, allocations: 15.97 kB / 0.987 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.2503, allocations: 31.98 kB / 0.987 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002756/0.2506, allocations: 223 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2506, allocations: 0 / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005183/0.2511, allocations: 59.89 kB / 0.9873 GB, free: 18.64 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.0009089/0.252, allocations: 0.8795 MB / 0.9882 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008171/0.2529, allocations: 369.3 kB / 0.9885 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2529, allocations: 0 / 0.9885 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.2531, allocations: 68.34 kB / 0.9886 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.2536, allocations: 39.58 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.2551, allocations: 1.652 MB / 0.9902 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.2554, allocations: 0.7634 MB / 0.991 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002348/0.2556, allocations: 37.36 kB / 0.991 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.2559, allocations: 59.41 kB / 0.9911 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of SimCode: time 1.482e-06/0.2559, allocations: 0 / 0.9911 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.2822, allocations: 5.485 MB / 0.9964 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.2826, allocations: 224.4 kB / 0.9966 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/2.89, allocations: 2.188 kB / 0.9966 GB, free: 9.102 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)