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.602/1.602, allocations: 249.3 MB / 261.8 MB, free: 5.941 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.001504/0.001504, allocations: 184.8 kB / 321.3 MB, free: 14.64 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.599/1.599, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009342/0.0009342, allocations: 94.52 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.71e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2453, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7453/0.9906, allocations: 133.5 MB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.9909, allocations: 78.12 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01331/1.004, allocations: 4.455 MB / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.112e-06/1.004, allocations: 0 / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.413e-05/1.004, allocations: 4 kB / 1.027 GB, free: 13.27 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.0008275/1.005, allocations: 0.5773 MB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.005, allocations: 12.03 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/1.005, allocations: 38.06 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.699e-05/1.005, allocations: 39.61 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/1.006, allocations: 251.8 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/1.006, allocations: 15.12 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/1.006, allocations: 12 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/1.006, allocations: 145.5 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.006, allocations: 0 / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/1.006, allocations: 4 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.006, allocations: 0 / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/1.006, allocations: 46.17 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/1.007, allocations: 336.6 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/1.007, allocations: 127.2 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.007, allocations: 56.34 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/1.007, allocations: 7.562 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/1.007, allocations: 215.3 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.784e-06/1.007, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004464/1.008, allocations: 217.4 kB / 1.029 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.008, allocations: 62.72 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/1.008, allocations: 256.5 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/1.008, allocations: 44.19 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/1.008, allocations: 88.52 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/1.008, allocations: 41.94 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/1.008, allocations: 7.312 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.009, allocations: 330.4 kB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/1.009, allocations: 96.83 kB / 1.03 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/1.009, allocations: 148.3 kB / 1.03 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/1.009, allocations: 150.5 kB / 1.03 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.009, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006939/1.01, allocations: 415.6 kB / 1.03 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/1.01, allocations: 76.94 kB / 1.03 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.01, allocations: 0 / 1.03 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.01, allocations: 4 kB / 1.03 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/1.01, allocations: 23.92 kB / 1.03 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.01, allocations: 4 kB / 1.03 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/1.011, allocations: 55.47 kB / 1.03 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/1.011, allocations: 51.67 kB / 1.03 GB, free: 9.551 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.0001267/1.011, allocations: 139.4 kB / 1.031 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/1.011, allocations: 27.62 kB / 1.031 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/1.011, allocations: 32.53 kB / 1.031 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.011, allocations: 0 / 1.031 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.011, allocations: 4 kB / 1.031 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.011, allocations: 3.984 kB / 1.031 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007515/1.012, allocations: 0.5539 MB / 1.031 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.012, allocations: 0 / 1.031 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/1.012, allocations: 11.98 kB / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.012, allocations: 0 / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/1.012, allocations: 10.92 kB / 1.031 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.012, allocations: 4 kB / 1.031 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.012, allocations: 3.938 kB / 1.031 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/1.012, allocations: 327.2 kB / 1.032 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/1.012, allocations: 154.6 kB / 1.032 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/1.012, allocations: 7.375 kB / 1.032 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/1.013, allocations: 15.3 kB / 1.032 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/1.013, allocations: 11.98 kB / 1.032 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/1.013, allocations: 35.53 kB / 1.032 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001749/1.013, allocations: 205.8 kB / 1.032 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.013, allocations: 0 / 1.032 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003178/1.013, allocations: 54.25 kB / 1.032 GB, free: 8.059 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.0007474/1.014, allocations: 0.8753 MB / 1.033 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005183/1.015, allocations: 356.3 kB / 1.033 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.015, allocations: 0 / 1.033 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/1.015, allocations: 72.36 kB / 1.033 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/1.015, allocations: 15.75 kB / 1.033 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/1.016, allocations: 342.2 kB / 1.034 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/1.016, allocations: 0.7447 MB / 1.034 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001459/1.016, allocations: 37.2 kB / 1.034 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/1.016, allocations: 54.22 kB / 1.034 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of SimCode: time 6.21e-07/1.016, allocations: 0 / 1.034 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/1.035, allocations: 5.397 MB / 1.04 GB, free: 376 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/1.035, allocations: 180 kB / 1.04 GB, free: 140 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.693, allocations: 0 / 1.04 GB, free: 140 kB / 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)