Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.569/1.569, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.001183/0.001183, allocations: 182.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009072/0.0009073, allocations: 96.23 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.247e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2229, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7502/0.9731, allocations: 133.5 MB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.9733, allocations: 72.92 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01371/0.9871, allocations: 4.463 MB / 1.027 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9871, allocations: 0 / 1.027 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.9871, allocations: 4 kB / 1.027 GB, free: 13.3 MB / 0.6511 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.000978/0.9881, allocations: 0.5797 MB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.9882, allocations: 12.03 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.316e-05/0.9883, allocations: 38.55 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.9884, allocations: 35.62 kB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.9888, allocations: 252 kB / 1.028 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.9889, allocations: 7.812 kB / 1.028 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.989, allocations: 23.94 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.9893, allocations: 142.6 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.9893, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.9893, allocations: 7.938 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.9893, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.9895, allocations: 46.3 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.9899, allocations: 338.3 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.9902, allocations: 127.7 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.9903, allocations: 54.16 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.9903, allocations: 0 / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004278/0.9908, allocations: 215.8 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.9908, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0005052/0.9913, allocations: 218.3 kB / 1.029 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.9913, allocations: 62.66 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.9916, allocations: 257.1 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.9917, allocations: 39.89 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.9918, allocations: 87.89 kB / 1.029 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.9919, allocations: 45.25 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.9919, allocations: 15.17 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.992, allocations: 324.3 kB / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.9923, allocations: 96.27 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.9925, allocations: 144 kB / 1.03 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.9928, allocations: 159 kB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.9928, allocations: 0 / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007355/0.9935, allocations: 405.5 kB / 1.03 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.768e-05/0.9936, allocations: 78.5 kB / 1.03 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9936, allocations: 4.188 kB / 1.03 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.9937, allocations: 4 kB / 1.03 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.9938, allocations: 27.55 kB / 1.03 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.9939, allocations: 4 kB / 1.03 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.9942, allocations: 43.03 kB / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/0.9943, allocations: 55.97 kB / 1.03 GB, free: 9.586 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.0001589/0.9945, allocations: 147.2 kB / 1.031 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.9945, allocations: 27.62 kB / 1.031 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.9946, allocations: 25.47 kB / 1.031 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.9946, allocations: 4 kB / 1.031 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.9946, allocations: 0 / 1.031 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.9946, allocations: 3.984 kB / 1.031 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008493/0.9955, allocations: 0.5554 MB / 1.031 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9955, allocations: 4 kB / 1.031 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.9956, allocations: 4 kB / 1.031 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.9956, allocations: 4 kB / 1.031 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.9956, allocations: 15.22 kB / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9956, allocations: 0 / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.9956, allocations: 7.938 kB / 1.031 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.9961, allocations: 322.8 kB / 1.032 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.9963, allocations: 154 kB / 1.032 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.9963, allocations: 15.38 kB / 1.032 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.9965, allocations: 15.48 kB / 1.032 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.9966, allocations: 11.98 kB / 1.032 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.9967, allocations: 34.78 kB / 1.032 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002311/0.9969, allocations: 201.5 kB / 1.032 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9969, allocations: 0 / 1.032 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003406/0.9973, allocations: 60.11 kB / 1.032 GB, free: 8.086 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.0008331/0.9981, allocations: 0.8797 MB / 1.033 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006064/0.9987, allocations: 347 kB / 1.033 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9987, allocations: 0 / 1.033 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.9989, allocations: 72.91 kB / 1.033 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.9991, allocations: 19.94 kB / 1.033 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/1, allocations: 343 kB / 1.034 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/1, allocations: 0.747 MB / 1.034 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001512/1.001, allocations: 37.2 kB / 1.034 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/1.001, allocations: 53.22 kB / 1.034 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of SimCode: time 3.9e-07/1.001, allocations: 4 kB / 1.034 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/1.02, allocations: 5.389 MB / 1.04 GB, free: 408 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/1.021, allocations: 173 kB / 1.04 GB, free: 176 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.693, allocations: 0 / 1.04 GB, free: 176 kB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)