Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009716/0.000972, allocations: 170.1 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.4 MB / 0.5777 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 98.62 kB / 0.6823 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.000445, allocations: 11.88 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.229, allocations: 106.3 MB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001979/0.231, allocations: 1.379 MB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.232, allocations: 459.1 kB / 0.9021 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.2321, allocations: 3.938 kB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.2322, allocations: 11.86 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.2324, allocations: 23.91 kB / 0.9022 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.2332, allocations: 209.8 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.2335, allocations: 307.5 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.2336, allocations: 29.42 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.234, allocations: 235.5 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.2342, allocations: 135.7 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.263e-05/0.2343, allocations: 8 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.2344, allocations: 12 kB / 0.9031 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.2345, allocations: 79.78 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.2346, allocations: 77.52 kB / 0.9032 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.2348, allocations: 315.5 kB / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2348, allocations: 0 / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2348, allocations: 0 / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.2349, allocations: 4 kB / 0.9035 GB, free: 60.84 MB / 0.6042 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.001102/0.236, allocations: 0.6336 MB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.236, allocations: 8.031 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.2361, allocations: 42.55 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.2362, allocations: 39.58 kB / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.2366, allocations: 279 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.2366, allocations: 16 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.2367, allocations: 16 kB / 0.9045 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.237, allocations: 176.1 kB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.237, allocations: 0 / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.2371, allocations: 8 kB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2371, allocations: 0 / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.2372, allocations: 59.97 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.2383, allocations: 0.5667 MB / 0.9053 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.2386, allocations: 134.6 kB / 0.9054 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2387, allocations: 56.84 kB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2388, allocations: 11.98 kB / 0.9055 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.2392, allocations: 223.5 kB / 0.9057 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.794e-06/0.2392, allocations: 8 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005306/0.2397, allocations: 285.1 kB / 0.906 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.2398, allocations: 67.39 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.2401, allocations: 304.5 kB / 0.9063 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.2401, allocations: 45.69 kB / 0.9064 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.2402, allocations: 105 kB / 0.9065 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.2402, allocations: 39.52 kB / 0.9065 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.2403, allocations: 11.98 kB / 0.9065 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.2403, allocations: 322.8 kB / 0.9068 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.2405, allocations: 108.2 kB / 0.9069 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.2408, allocations: 154.4 kB / 0.9071 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.241, allocations: 168.1 kB / 0.9073 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.241, allocations: 3.984 kB / 0.9073 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006218/0.2417, allocations: 433.8 kB / 0.9077 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.2417, allocations: 79.38 kB / 0.9077 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2417, allocations: 0 / 0.9077 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.2418, allocations: 7.953 kB / 0.9078 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2419, allocations: 27.92 kB / 0.9078 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.242, allocations: 4.188 kB / 0.9078 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.2425, allocations: 75.78 kB / 0.9079 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.2426, allocations: 51.98 kB / 0.9079 GB, free: 56.02 MB / 0.6042 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.0001881/0.2428, allocations: 189.7 kB / 0.9081 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.2428, allocations: 27.62 kB / 0.9081 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.2429, allocations: 30.36 kB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2429, allocations: 7.953 kB / 0.9082 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2429, allocations: 0 / 0.9082 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2429, allocations: 3.984 kB / 0.9082 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006482/0.2436, allocations: 0.6019 MB / 0.9087 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2436, allocations: 4 kB / 0.9087 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.2436, allocations: 15.98 kB / 0.9088 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2436, allocations: 7.891 kB / 0.9088 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.2437, allocations: 15.98 kB / 0.9088 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2437, allocations: 0 / 0.9088 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2437, allocations: 0 / 0.9088 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.244, allocations: 323 kB / 0.9091 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.2442, allocations: 184.6 kB / 0.9093 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.2443, allocations: 15.95 kB / 0.9093 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.2445, allocations: 19.98 kB / 0.9093 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.2446, allocations: 15.97 kB / 0.9093 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.2446, allocations: 27.98 kB / 0.9093 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001926/0.2448, allocations: 223 kB / 0.9096 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2448, allocations: 4 kB / 0.9096 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003005/0.2451, allocations: 55.98 kB / 0.9096 GB, free: 54.17 MB / 0.6042 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.0005987/0.2457, allocations: 0.8833 MB / 0.9105 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.2462, allocations: 366.7 kB / 0.9108 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2462, allocations: 0 / 0.9108 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.2464, allocations: 76.84 kB / 0.9109 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.2467, allocations: 44 kB / 0.9109 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.2486, allocations: 1.304 MB / 0.9122 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.2489, allocations: 0.7594 MB / 0.913 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.2491, allocations: 37.44 kB / 0.913 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.2492, allocations: 47.41 kB / 0.913 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2492, allocations: 3.938 kB / 0.913 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.2662, allocations: 5.537 MB / 0.9185 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.2665, allocations: 233.7 kB / 0.9187 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.033, allocations: 6.672 kB / 0.9187 GB, free: 44.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)