Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_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.379/1.379, allocations: 249.5 MB / 257 MB, free: 6.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009729/0.0009729, allocations: 191.4 kB / 316.3 MB, free: 3.23 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.419/1.419, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0007514/0.0007513, allocations: 90.25 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.926e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.198, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7579/0.956, allocations: 133.8 MB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.9564, allocations: 72.33 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01318/0.9696, allocations: 4.43 MB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9696, allocations: 0 / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.9696, allocations: 8.75 kB / 1.02 GB, free: 52 kB / 0.6355 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.0009031/0.9706, allocations: 0.5791 MB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.9706, allocations: 8.031 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.9707, allocations: 39.61 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.9711, allocations: 253.1 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.9711, allocations: 3.812 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.9712, allocations: 16 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001274/0.9713, allocations: 42.3 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.9716, allocations: 142.5 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.9716, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.9716, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9716, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.972, allocations: 302 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.9722, allocations: 117.7 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/0.9723, allocations: 51.84 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.9724, allocations: 7.984 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/0.9727, allocations: 205.8 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.532e-06/0.9728, allocations: 0 / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004357/0.9732, allocations: 209.4 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.9733, allocations: 63.39 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.9735, allocations: 249.6 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.9736, allocations: 37.27 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.9737, allocations: 85.45 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.9737, allocations: 49.73 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.9738, allocations: 0 / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.9739, allocations: 322.3 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.9741, allocations: 85.66 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.9743, allocations: 138.4 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.9744, allocations: 72.27 kB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9744, allocations: 0 / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005171/0.9749, allocations: 324.7 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.255e-05/0.975, allocations: 72.27 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.975, allocations: 0.7812 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9751, allocations: 4 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.9752, allocations: 31.78 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.9753, allocations: 4 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.9756, allocations: 48.09 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/0.9757, allocations: 55.8 kB / 1.024 GB, free: 12.65 MB / 0.6511 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 () * 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.0001312/0.9759, allocations: 125.2 kB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002951/0.9762, allocations: 215.3 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.9762, allocations: 23.72 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.9763, allocations: 33.41 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.9763, allocations: 4 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9763, allocations: 0 / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9763, allocations: 0 / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006986/0.977, allocations: 0.521 MB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.977, allocations: 0 / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.9771, allocations: 7.938 kB / 1.025 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.9771, allocations: 0 / 1.025 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.9771, allocations: 15.92 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9771, allocations: 0 / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.9771, allocations: 3.984 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.9775, allocations: 311.1 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.9777, allocations: 151.9 kB / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.9777, allocations: 11.48 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.9779, allocations: 11.88 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.978, allocations: 15.97 kB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.978, allocations: 27.98 kB / 1.025 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001557/0.9782, allocations: 200.2 kB / 1.025 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9782, allocations: 0 / 1.025 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003327/0.9785, allocations: 44 kB / 1.025 GB, free: 11.06 MB / 0.6511 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) * 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.0006996/0.9792, allocations: 0.8674 MB / 1.026 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004733/0.9797, allocations: 336.3 kB / 1.027 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9797, allocations: 0 / 1.027 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.9798, allocations: 60.55 kB / 1.027 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.9801, allocations: 16.44 kB / 1.027 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.9809, allocations: 337.2 kB / 1.027 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.9813, allocations: 0.7471 MB / 1.028 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.9814, allocations: 33.2 kB / 1.028 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.9815, allocations: 46.78 kB / 1.028 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of SimCode: time 2.214e-06/0.9816, allocations: 0 / 1.028 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/1.005, allocations: 4.944 MB / 1.033 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.005, allocations: 161.5 kB / 1.033 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.551, allocations: 0 / 1.033 GB, free: 3.574 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)