Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 289.7 MB / 302.3 MB, free: 2.195 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.001515/0.001515, allocations: 181.2 kB / 371.6 MB, free: 3.383 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.133/2.133, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 86.34 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.502e-05/4.513e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2901, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9789/1.269, allocations: 141.6 MB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/1.269, allocations: 70.25 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01529/1.285, allocations: 4.563 MB / 1.123 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.806e-06/1.285, allocations: 0 / 1.123 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.559e-05/1.285, allocations: 4 kB / 1.123 GB, free: 40.06 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001122/1.286, allocations: 0.6222 MB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/1.286, allocations: 8.688 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.105e-05/1.286, allocations: 41.36 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/1.286, allocations: 36.28 kB / 1.123 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/1.287, allocations: 248 kB / 1.124 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.378e-05/1.287, allocations: 18.33 kB / 1.124 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/1.287, allocations: 23.22 kB / 1.124 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/1.287, allocations: 145.3 kB / 1.124 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.287, allocations: 4.844 kB / 1.124 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/1.288, allocations: 3.422 kB / 1.124 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/1.288, allocations: 0 / 1.124 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/1.288, allocations: 45.75 kB / 1.124 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/1.288, allocations: 341.2 kB / 1.124 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/1.288, allocations: 107.2 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/1.289, allocations: 58.48 kB / 1.124 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/1.289, allocations: 11.33 kB / 1.124 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/1.289, allocations: 156.8 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.254e-06/1.289, allocations: 0.75 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000578/1.289, allocations: 253.6 kB / 1.125 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.29, allocations: 62.92 kB / 1.125 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/1.29, allocations: 253.5 kB / 1.125 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/1.29, allocations: 36.95 kB / 1.125 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.649e-05/1.29, allocations: 95.91 kB / 1.125 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/1.29, allocations: 34.27 kB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/1.29, allocations: 7.562 kB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/1.29, allocations: 326.8 kB / 1.125 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/1.29, allocations: 85.73 kB / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/1.291, allocations: 137.6 kB / 1.126 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/1.291, allocations: 153.8 kB / 1.126 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.291, allocations: 4 kB / 1.126 GB, free: 37.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006874/1.292, allocations: 397.2 kB / 1.126 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.495e-05/1.292, allocations: 77.73 kB / 1.126 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.292, allocations: 4 kB / 1.126 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.292, allocations: 0 / 1.126 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/1.292, allocations: 23.09 kB / 1.126 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/1.292, allocations: 8.594 kB / 1.126 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/1.292, allocations: 44.11 kB / 1.126 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-05/1.292, allocations: 46.58 kB / 1.126 GB, free: 36.77 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001488/1.293, allocations: 123.6 kB / 1.127 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/1.293, allocations: 27.41 kB / 1.127 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.11e-05/1.293, allocations: 32.69 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/1.293, allocations: 11.33 kB / 1.127 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.293, allocations: 0.6562 kB / 1.127 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/1.293, allocations: 0 / 1.127 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009447/1.294, allocations: 0.5876 MB / 1.127 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.294, allocations: 3.953 kB / 1.127 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/1.294, allocations: 15.02 kB / 1.127 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.294, allocations: 0 / 1.127 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/1.294, allocations: 14.89 kB / 1.127 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.294, allocations: 1.25 kB / 1.127 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.294, allocations: 4 kB / 1.127 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/1.294, allocations: 346.7 kB / 1.128 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/1.295, allocations: 161.8 kB / 1.128 GB, free: 35.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/1.295, allocations: 11.25 kB / 1.128 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/1.295, allocations: 33.94 kB / 1.128 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/1.295, allocations: 13.33 kB / 1.128 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/1.295, allocations: 39.27 kB / 1.128 GB, free: 35.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002048/1.295, allocations: 211.8 kB / 1.128 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.81e-07/1.295, allocations: 0 / 1.128 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003518/1.296, allocations: 47.38 kB / 1.128 GB, free: 35.4 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0007636/1.297, allocations: 0.9092 MB / 1.129 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005355/1.297, allocations: 338.5 kB / 1.129 GB, free: 34.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.297, allocations: 0 / 1.129 GB, free: 34.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/1.297, allocations: 64.62 kB / 1.129 GB, free: 34.24 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/1.298, allocations: 25.36 kB / 1.129 GB, free: 34.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008036/1.298, allocations: 341.1 kB / 1.13 GB, free: 33.94 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/1.299, allocations: 0.7459 MB / 1.13 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.155e-05/1.299, allocations: 16.23 kB / 1.13 GB, free: 33.19 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/1.299, allocations: 21.75 kB / 1.13 GB, free: 33.18 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/1.299, allocations: 0 / 1.13 GB, free: 33.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/1.33, allocations: 4.935 MB / 1.135 GB, free: 30.37 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/1.331, allocations: 163.2 kB / 1.135 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.909, allocations: 4 kB / 1.135 GB, free: 30.13 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)