Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_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.892/2.892, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001535/0.001535, allocations: 182.9 kB / 370.8 MB, free: 10.86 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.225/2.225, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001194/0.001194, allocations: 84.42 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 8.812 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2279, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.941/1.169, allocations: 139.7 MB / 1.115 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/1.169, allocations: 70.89 kB / 1.115 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02635/1.196, allocations: 4.446 MB / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.265e-06/1.196, allocations: 0 / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.958e-05/1.196, allocations: 3.812 kB / 1.119 GB, free: 31.11 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.001626/1.197, allocations: 0.6234 MB / 1.12 GB, free: 30.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/1.198, allocations: 11.8 kB / 1.12 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.028e-05/1.198, allocations: 40.84 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/1.198, allocations: 31.19 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/1.198, allocations: 261 kB / 1.12 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/1.199, allocations: 13.66 kB / 1.12 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.199, allocations: 14.97 kB / 1.12 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/1.199, allocations: 151.9 kB / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.199, allocations: 0 / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/1.199, allocations: 7.844 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.199, allocations: 0 / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/1.2, allocations: 48.11 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006938/1.2, allocations: 324.5 kB / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/1.201, allocations: 136.1 kB / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/1.201, allocations: 0 / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009193/1.202, allocations: 221.6 kB / 1.121 GB, free: 29.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.908e-06/1.202, allocations: 4 kB / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001401/1.204, allocations: 270.5 kB / 1.121 GB, free: 29.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/1.204, allocations: 62.75 kB / 1.121 GB, free: 29.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005527/1.204, allocations: 256.3 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/1.204, allocations: 35.92 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/1.205, allocations: 92.3 kB / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/1.205, allocations: 40.97 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/1.205, allocations: 7.656 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.205, allocations: 329.2 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006959/1.206, allocations: 106 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/1.206, allocations: 153.2 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/1.207, allocations: 158.6 kB / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.207, allocations: 0 / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001944/1.209, allocations: 418.9 kB / 1.123 GB, free: 29.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.209, allocations: 76.27 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.209, allocations: 3.875 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.209, allocations: 3.938 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/1.21, allocations: 25.12 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.21, allocations: 4.031 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009018/1.211, allocations: 55.39 kB / 1.123 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.211, allocations: 53 kB / 1.123 GB, free: 28.94 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.0004063/1.211, allocations: 173.9 kB / 1.123 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/1.211, allocations: 23.34 kB / 1.123 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.835e-05/1.211, allocations: 38.91 kB / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.211, allocations: 0 / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.211, allocations: 0 / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/1.211, allocations: 3.844 kB / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/1.213, allocations: 0.5533 MB / 1.124 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.213, allocations: 3.938 kB / 1.124 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/1.213, allocations: 11.47 kB / 1.124 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.213, allocations: 3.938 kB / 1.124 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/1.213, allocations: 17.92 kB / 1.124 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/1.213, allocations: 0 / 1.124 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.213, allocations: 0 / 1.124 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/1.214, allocations: 323.2 kB / 1.124 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/1.214, allocations: 158.6 kB / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/1.215, allocations: 7.812 kB / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/1.215, allocations: 14.08 kB / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/1.215, allocations: 17.36 kB / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/1.215, allocations: 32.83 kB / 1.124 GB, free: 28.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003993/1.216, allocations: 203.9 kB / 1.124 GB, free: 28.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.02e-07/1.216, allocations: 0 / 1.124 GB, free: 28.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007306/1.216, allocations: 56.89 kB / 1.125 GB, free: 28.12 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.001126/1.218, allocations: 0.8705 MB / 1.125 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009211/1.219, allocations: 354 kB / 1.126 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.219, allocations: 0 / 1.126 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/1.219, allocations: 79.64 kB / 1.126 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/1.219, allocations: 22.27 kB / 1.126 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/1.221, allocations: 1.605 MB / 1.127 GB, free: 25.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/1.221, allocations: 0.7433 MB / 1.128 GB, free: 25.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000255/1.222, allocations: 44.92 kB / 1.128 GB, free: 25.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/1.222, allocations: 44.53 kB / 1.128 GB, free: 25.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.222, allocations: 3.938 kB / 1.128 GB, free: 25.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/1.251, allocations: 5.355 MB / 1.133 GB, free: 24.35 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/1.251, allocations: 184.6 kB / 1.134 GB, free: 24.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.912, allocations: 0 / 1.134 GB, free: 24.12 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)