Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 289.7 MB / 302.3 MB, free: 2.172 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.001259/0.00126, allocations: 181.1 kB / 371.6 MB, free: 3.395 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.116/2.116, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001052/0.001052, allocations: 94.05 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.334e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2863, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.309, allocations: 141.6 MB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/1.309, allocations: 69.27 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0142/1.323, allocations: 4.558 MB / 1.123 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.793e-06/1.323, allocations: 0 / 1.123 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.682e-05/1.323, allocations: 8 kB / 1.123 GB, free: 39.71 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.001092/1.324, allocations: 0.6268 MB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.986e-05/1.324, allocations: 8.031 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.473e-05/1.325, allocations: 42.66 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/1.325, allocations: 37.38 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/1.325, allocations: 241.6 kB / 1.124 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/1.325, allocations: 14.58 kB / 1.124 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/1.325, allocations: 23.33 kB / 1.124 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/1.326, allocations: 151.2 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.326, allocations: 0 / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/1.326, allocations: 6.859 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.326, allocations: 0 / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/1.326, allocations: 48.31 kB / 1.124 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/1.327, allocations: 334.2 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/1.327, allocations: 102.5 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/1.327, allocations: 66.39 kB / 1.124 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/1.327, allocations: 4.75 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/1.327, allocations: 166.2 kB / 1.124 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/1.327, allocations: 0 / 1.124 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005941/1.328, allocations: 253.1 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/1.328, allocations: 55.41 kB / 1.125 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/1.328, allocations: 264 kB / 1.125 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/1.328, allocations: 36.77 kB / 1.125 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/1.329, allocations: 88.33 kB / 1.125 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/1.329, allocations: 32.73 kB / 1.125 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/1.329, allocations: 10.59 kB / 1.125 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.329, allocations: 321.4 kB / 1.125 GB, free: 37.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/1.329, allocations: 86.12 kB / 1.126 GB, free: 37.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/1.329, allocations: 145.6 kB / 1.126 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/1.329, allocations: 150.2 kB / 1.126 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.329, allocations: 0.5625 kB / 1.126 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006833/1.33, allocations: 403.7 kB / 1.126 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/1.33, allocations: 74.34 kB / 1.126 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.33, allocations: 0 / 1.126 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/1.33, allocations: 5.828 kB / 1.126 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/1.33, allocations: 26.55 kB / 1.126 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/1.331, allocations: 4.656 kB / 1.126 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/1.331, allocations: 42.03 kB / 1.126 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/1.331, allocations: 43.59 kB / 1.126 GB, free: 36.41 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.0001577/1.331, allocations: 131.3 kB / 1.127 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/1.331, allocations: 23.72 kB / 1.127 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/1.331, allocations: 31.91 kB / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.331, allocations: 0 / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/1.331, allocations: 1.312 kB / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.331, allocations: 4 kB / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009765/1.332, allocations: 0.6022 MB / 1.127 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.332, allocations: 3.953 kB / 1.127 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/1.332, allocations: 4 kB / 1.127 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/1.332, allocations: 1.375 kB / 1.127 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/1.332, allocations: 17.14 kB / 1.127 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.332, allocations: 4 kB / 1.127 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.333, allocations: 3.938 kB / 1.127 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/1.333, allocations: 347.6 kB / 1.128 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/1.333, allocations: 160.3 kB / 1.128 GB, free: 35.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/1.333, allocations: 14 kB / 1.128 GB, free: 35.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/1.334, allocations: 30.84 kB / 1.128 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/1.334, allocations: 7.469 kB / 1.128 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/1.334, allocations: 51.83 kB / 1.128 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002255/1.334, allocations: 205.7 kB / 1.128 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.334, allocations: 0 / 1.128 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003692/1.334, allocations: 50.67 kB / 1.128 GB, free: 35.04 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.0008364/1.335, allocations: 0.9021 MB / 1.129 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005632/1.336, allocations: 345.5 kB / 1.129 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/1.336, allocations: 0 / 1.129 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/1.336, allocations: 62.25 kB / 1.129 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/1.336, allocations: 20.41 kB / 1.129 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/1.337, allocations: 350.1 kB / 1.13 GB, free: 33.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/1.338, allocations: 0.7423 MB / 1.13 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.904e-05/1.338, allocations: 8.781 kB / 1.13 GB, free: 32.83 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/1.338, allocations: 22.62 kB / 1.13 GB, free: 32.82 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/1.338, allocations: 4 kB / 1.13 GB, free: 32.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/1.361, allocations: 4.934 MB / 1.135 GB, free: 30 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/1.361, allocations: 162.1 kB / 1.135 GB, free: 29.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.957, allocations: 0 / 1.135 GB, free: 29.77 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)