Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.635/2.635, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001505/0.001505, allocations: 176.8 kB / 360.6 MB, free: 7.273 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.038/2.038, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001104/0.001103, allocations: 94.97 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.187e-05, allocations: 0 / 0.8508 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8551/0.8551, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2555/1.111, allocations: 139 MB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/1.111, allocations: 67.97 kB / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02372/1.135, allocations: 4.442 MB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/1.135, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.597e-05/1.135, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.7136 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.001356/1.136, allocations: 0.5827 MB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.136, allocations: 8.031 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/1.136, allocations: 36.67 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/1.137, allocations: 250.6 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/1.137, allocations: 7.984 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/1.137, allocations: 16 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001868/1.137, allocations: 39.98 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/1.138, allocations: 141.5 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.138, allocations: 0 / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/1.138, allocations: 7.984 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.138, allocations: 0 / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/1.139, allocations: 305.7 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/1.139, allocations: 121.7 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/1.139, allocations: 52.84 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/1.139, allocations: 7.984 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006055/1.14, allocations: 213.4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.986e-06/1.14, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007431/1.141, allocations: 209.2 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/1.141, allocations: 55.41 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/1.141, allocations: 242.3 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/1.141, allocations: 33.7 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/1.141, allocations: 93.45 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.291e-05/1.142, allocations: 39.52 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/1.142, allocations: 3.984 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.142, allocations: 326.8 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/1.142, allocations: 84.16 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/1.142, allocations: 134.2 kB / 1.106 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/1.143, allocations: 76.69 kB / 1.106 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.143, allocations: 0 / 1.106 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001064/1.144, allocations: 320.7 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.144, allocations: 75.56 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.144, allocations: 4 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/1.144, allocations: 4 kB / 1.107 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/1.144, allocations: 27.92 kB / 1.107 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.144, allocations: 4 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/1.145, allocations: 39.88 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/1.145, allocations: 59.97 kB / 1.107 GB, free: 9.207 MB / 0.7136 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.0002337/1.146, allocations: 134.9 kB / 1.107 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005914/1.146, allocations: 211.5 kB / 1.107 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/1.146, allocations: 23.72 kB / 1.107 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/1.146, allocations: 30.03 kB / 1.107 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.146, allocations: 3.281 kB / 1.107 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.146, allocations: 0 / 1.107 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/1.146, allocations: 0 / 1.107 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/1.148, allocations: 0.526 MB / 1.108 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.148, allocations: 4 kB / 1.108 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/1.148, allocations: 11.98 kB / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/1.148, allocations: 0 / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/1.148, allocations: 11.98 kB / 1.108 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/1.148, allocations: 3.938 kB / 1.108 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.148, allocations: 0 / 1.108 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/1.149, allocations: 309.1 kB / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/1.149, allocations: 160.6 kB / 1.108 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/1.149, allocations: 11.98 kB / 1.108 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/1.149, allocations: 8 kB / 1.108 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/1.15, allocations: 19.88 kB / 1.108 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.95e-05/1.15, allocations: 31.98 kB / 1.108 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003073/1.15, allocations: 190 kB / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.15, allocations: 0 / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006075/1.151, allocations: 47.98 kB / 1.109 GB, free: 7.406 MB / 0.7136 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.001109/1.152, allocations: 0.8596 MB / 1.109 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009171/1.153, allocations: 328.5 kB / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.153, allocations: 0 / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/1.153, allocations: 59.98 kB / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/1.153, allocations: 22.97 kB / 1.11 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/1.155, allocations: 334.6 kB / 1.11 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/1.155, allocations: 0.7479 MB / 1.111 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002616/1.155, allocations: 37.2 kB / 1.111 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/1.156, allocations: 47.41 kB / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of SimCode: time 1.333e-06/1.156, allocations: 0 / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04723/1.203, allocations: 4.919 MB / 1.116 GB, free: 44 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003696/1.203, allocations: 158.6 kB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.595, allocations: 0 / 1.116 GB, free: 15.84 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)