Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.389/1.389, allocations: 249.5 MB / 257 MB, free: 6.82 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.00103/0.001029, allocations: 182.7 kB / 316.3 MB, free: 3.219 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.416/1.416, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.000788/0.0007881, allocations: 95.25 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.652e-05, allocations: 0 / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2012, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7682/0.9695, allocations: 133.7 MB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.9698, allocations: 66.91 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.9829, allocations: 4.426 MB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9829, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.9829, allocations: 8 kB / 1.02 GB, free: 15.79 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.0008231/0.9838, allocations: 0.5751 MB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.9838, allocations: 8.031 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.573e-05/0.9839, allocations: 39.61 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.9843, allocations: 249.2 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.9843, allocations: 15.09 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.9844, allocations: 16 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001128/0.9845, allocations: 39.67 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.9847, allocations: 135.8 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.9847, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.9848, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.9848, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.9851, allocations: 316.4 kB / 1.022 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.9853, allocations: 112.5 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.9854, allocations: 54.59 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.9854, allocations: 8 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/0.9858, allocations: 201.7 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.9858, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003887/0.9862, allocations: 213.5 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.9862, allocations: 59.39 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.9865, allocations: 245.2 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.9865, allocations: 37.2 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.9866, allocations: 85.45 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.9867, allocations: 46.25 kB / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.9867, allocations: 0 / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9868, allocations: 322.1 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.987, allocations: 91.84 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.9872, allocations: 138.1 kB / 1.023 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.9873, allocations: 71.27 kB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9873, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005102/0.9879, allocations: 325.1 kB / 1.024 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/0.9879, allocations: 72.14 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9879, allocations: 0 / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.988, allocations: 4 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.9881, allocations: 27.3 kB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.9881, allocations: 7.984 kB / 1.024 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.9885, allocations: 48 kB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.9886, allocations: 55.11 kB / 1.024 GB, free: 12.39 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.0001198/0.9887, allocations: 126.5 kB / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000288/0.989, allocations: 210.6 kB / 1.024 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.989, allocations: 23.72 kB / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.9891, allocations: 35.34 kB / 1.024 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.9891, allocations: 0 / 1.024 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9891, allocations: 0 / 1.024 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.9891, allocations: 0 / 1.024 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.9897, allocations: 0.5285 MB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9898, allocations: 0 / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.9898, allocations: 4 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.9898, allocations: 0 / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.9898, allocations: 19.92 kB / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.9899, allocations: 0 / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9899, allocations: 0 / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.9902, allocations: 309.7 kB / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.9903, allocations: 159.5 kB / 1.025 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.9904, allocations: 11.55 kB / 1.025 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.9906, allocations: 12 kB / 1.025 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.9906, allocations: 19.22 kB / 1.025 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.9907, allocations: 31.98 kB / 1.025 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001741/0.9909, allocations: 195 kB / 1.025 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9909, allocations: 0 / 1.025 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003149/0.9912, allocations: 44 kB / 1.025 GB, free: 10.79 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.0006201/0.9918, allocations: 0.8648 MB / 1.026 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.9923, allocations: 330.3 kB / 1.027 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.9923, allocations: 0 / 1.027 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.9924, allocations: 62.48 kB / 1.027 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.9926, allocations: 16.56 kB / 1.027 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.9933, allocations: 332 kB / 1.027 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.9936, allocations: 0.747 MB / 1.028 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.9938, allocations: 38.61 kB / 1.028 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.9939, allocations: 42.72 kB / 1.028 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of SimCode: time 1.633e-06/0.9939, allocations: 0 / 1.028 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/1.017, allocations: 4.938 MB / 1.033 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/1.018, allocations: 159.6 kB / 1.033 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/2.478, allocations: 4 kB / 1.033 GB, free: 3.312 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)