Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004718/0.004718, allocations: 102 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 196.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.071/2.071, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 75.86 kB / 0.9504 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.685, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002268/0.6873, allocations: 1.52 MB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.6884, allocations: 0.544 MB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.6884, allocations: 1.312 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.261e-05/0.6885, allocations: 9.859 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.729e-05/0.6886, allocations: 26.81 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.6893, allocations: 307.3 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000519/0.6899, allocations: 0.4971 MB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.6899, allocations: 13.48 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003418/0.6903, allocations: 272.6 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.6905, allocations: 148.2 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.776e-05/0.6906, allocations: 27 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.101e-05/0.6907, allocations: 26.91 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.6908, allocations: 110.1 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.691, allocations: 185.5 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.6915, allocations: 427 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.6915, allocations: 5.516 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6915, allocations: 4 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.6915, allocations: 0 / 1.091 GB, free: 3.07 MB / 0.8575 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.00106/0.6926, allocations: 0.8656 MB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.6926, allocations: 9.344 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.6927, allocations: 39.33 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.6928, allocations: 51.39 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.6932, allocations: 305 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.6932, allocations: 21.45 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.219e-05/0.6933, allocations: 29.62 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/0.6943, allocations: 215.1 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.6944, allocations: 4.688 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.6944, allocations: 2.531 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6944, allocations: 2.031 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008525/0.6953, allocations: 99.53 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.6957, allocations: 395.5 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.6968, allocations: 180.3 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.6976, allocations: 112 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.6976, allocations: 6.891 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009362/0.6985, allocations: 222.9 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.6986, allocations: 0.6562 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002626/0.7012, allocations: 485.5 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.7012, allocations: 62.31 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.7017, allocations: 407.3 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.7017, allocations: 40.16 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.7018, allocations: 94.48 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.7018, allocations: 45.28 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.702, allocations: 128 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.7021, allocations: 324.9 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.7024, allocations: 116.5 kB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.7027, allocations: 170.6 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.703, allocations: 280.2 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.703, allocations: 0.6875 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007656/0.7038, allocations: 487.7 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.7039, allocations: 96.03 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7039, allocations: 2.219 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7039, allocations: 2.75 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.7041, allocations: 23.61 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.7041, allocations: 7.312 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.7046, allocations: 58.39 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.7047, allocations: 61.86 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.7049, allocations: 195.5 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.705, allocations: 45.52 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.7051, allocations: 41.28 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.7051, allocations: 1.703 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7051, allocations: 0.9375 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7051, allocations: 0.6562 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.7074, allocations: 0.7506 MB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.7074, allocations: 1.125 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.7074, allocations: 4.547 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.7074, allocations: 1.688 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.7075, allocations: 22.39 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.7075, allocations: 1.312 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7075, allocations: 4 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.7092, allocations: 476.3 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.7095, allocations: 204 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.7096, allocations: 11.14 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.7101, allocations: 28.61 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.7101, allocations: 11.7 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/0.7102, allocations: 56.05 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003126/0.7105, allocations: 294.3 kB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7105, allocations: 0 / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003503/0.7109, allocations: 69.53 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/0.713, allocations: 1.03 MB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.7143, allocations: 438 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7143, allocations: 0.5 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008435/0.7152, allocations: 122.3 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.7156, allocations: 22.72 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.7195, allocations: 2.794 MB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.7199, allocations: 0.7707 MB / 1.104 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.837e-05/0.7199, allocations: 12.08 kB / 1.104 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.72, allocations: 25.34 kB / 1.104 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.72, allocations: 1.031 kB / 1.104 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.148/4.868, allocations: 6.099 MB / 1.11 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.681/14.55, allocations: 5.781 kB / 1.11 GB, free: 10.11 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)