Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_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.646/2.646, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001484/0.001484, allocations: 182.9 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.365/2.365, 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.001204/0.001203, allocations: 94.86 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004824, allocations: 11.84 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2243, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9765/1.201, allocations: 139.7 MB / 1.115 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.201, allocations: 73.12 kB / 1.115 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02157/1.223, allocations: 4.456 MB / 1.119 GB, free: 30.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/1.223, allocations: 4 kB / 1.119 GB, free: 30.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.336e-05/1.223, allocations: 3.844 kB / 1.119 GB, free: 30.84 MB / 0.698 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.001441/1.224, allocations: 0.6198 MB / 1.12 GB, free: 30.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.224, allocations: 11.64 kB / 1.12 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.107e-05/1.225, allocations: 40.48 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/1.225, allocations: 30.75 kB / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/1.225, allocations: 261.2 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/1.225, allocations: 10.94 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/1.225, allocations: 18.09 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/1.226, allocations: 144.8 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.226, allocations: 0 / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/1.226, allocations: 6.188 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.226, allocations: 0 / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/1.226, allocations: 49.06 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/1.227, allocations: 326.6 kB / 1.121 GB, free: 29.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/1.227, allocations: 135.3 kB / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/1.227, allocations: 0 / 1.121 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005912/1.228, allocations: 221.6 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.806e-06/1.228, allocations: 3.938 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0009112/1.229, allocations: 271.5 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/1.229, allocations: 59.03 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/1.229, allocations: 256.2 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/1.229, allocations: 37.23 kB / 1.122 GB, free: 29.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/1.229, allocations: 95.38 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/1.229, allocations: 42.2 kB / 1.122 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/1.229, allocations: 10.33 kB / 1.122 GB, free: 29.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.229, allocations: 321.5 kB / 1.122 GB, free: 29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/1.23, allocations: 105.4 kB / 1.122 GB, free: 29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/1.23, allocations: 151.5 kB / 1.122 GB, free: 28.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/1.231, allocations: 156.4 kB / 1.122 GB, free: 28.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.231, allocations: 0 / 1.122 GB, free: 28.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001209/1.232, allocations: 427.5 kB / 1.123 GB, free: 28.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.674e-05/1.232, allocations: 76.23 kB / 1.123 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.232, allocations: 8.062 kB / 1.123 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/1.232, allocations: 0 / 1.123 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/1.232, allocations: 28.2 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.232, allocations: 7.781 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/1.233, allocations: 50.27 kB / 1.123 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.233, allocations: 55.48 kB / 1.123 GB, free: 28.67 MB / 0.698 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 () * 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.0003444/1.234, allocations: 182.2 kB / 1.123 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/1.234, allocations: 23.47 kB / 1.123 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.044e-05/1.234, allocations: 32.39 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/1.234, allocations: 0 / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.234, allocations: 0 / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.234, allocations: 2.766 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/1.235, allocations: 0.5537 MB / 1.124 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.235, allocations: 4 kB / 1.124 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/1.235, allocations: 14.78 kB / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/1.235, allocations: 0 / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/1.235, allocations: 13.58 kB / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/1.235, allocations: 0 / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.235, allocations: 0 / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/1.236, allocations: 319.7 kB / 1.124 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/1.236, allocations: 165.2 kB / 1.124 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-05/1.237, allocations: 11.56 kB / 1.124 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/1.237, allocations: 10.78 kB / 1.124 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/1.237, allocations: 17.88 kB / 1.124 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/1.237, allocations: 29.39 kB / 1.124 GB, free: 27.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002861/1.237, allocations: 202.3 kB / 1.125 GB, free: 27.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.237, allocations: 0 / 1.125 GB, free: 27.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005864/1.238, allocations: 61.28 kB / 1.125 GB, free: 27.85 MB / 0.698 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.001205/1.239, allocations: 0.8721 MB / 1.125 GB, free: 27.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001047/1.24, allocations: 353 kB / 1.126 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.24, allocations: 0 / 1.126 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/1.241, allocations: 76.81 kB / 1.126 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/1.241, allocations: 18.36 kB / 1.126 GB, free: 27.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/1.243, allocations: 1.607 MB / 1.127 GB, free: 25.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/1.243, allocations: 0.7417 MB / 1.128 GB, free: 24.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000266/1.244, allocations: 47.22 kB / 1.128 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/1.244, allocations: 48.5 kB / 1.128 GB, free: 24.87 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/1.244, allocations: 0 / 1.128 GB, free: 24.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/1.272, allocations: 5.345 MB / 1.133 GB, free: 24.04 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003586/1.273, allocations: 190.9 kB / 1.134 GB, free: 23.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.906, allocations: 0 / 1.134 GB, free: 23.8 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)