Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_11_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.005831/0.005831, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00144/0.00144, allocations: 196 kB / 16.68 MB, free: 5.934 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.281/1.281, 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 11.1.0-maint.11.x/package.mo): time 2.521/2.521, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 59.91 kB / 1.065 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6902/0.6921, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002525/0.6946, allocations: 1.512 MB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.6959, allocations: 0.5463 MB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.696, allocations: 0 / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.18e-05/0.6961, allocations: 7.875 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.6962, allocations: 27.77 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008488/0.697, allocations: 322.3 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.6976, allocations: 0.4955 MB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.6977, allocations: 4 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.698, allocations: 283.6 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.6983, allocations: 139.5 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.899e-05/0.6984, allocations: 24 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-05/0.6985, allocations: 28 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.6986, allocations: 119.6 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.6988, allocations: 183.1 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.6992, allocations: 426.1 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.6992, allocations: 3.938 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6992, allocations: 3.938 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.6992, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 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.001143/0.7004, allocations: 0.8781 MB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.7004, allocations: 12.03 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.7005, allocations: 38.67 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.7006, allocations: 56.7 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.701, allocations: 314.6 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.701, allocations: 16.38 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.7011, allocations: 28.36 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008883/0.702, allocations: 210 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.702, allocations: 3.938 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.702, allocations: 4 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.702, allocations: 0 / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.7028, allocations: 107.9 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.7032, allocations: 397.2 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/0.7042, allocations: 182.4 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007102/0.7049, allocations: 104.8 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.7049, allocations: 4 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009016/0.7058, allocations: 229.9 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.7058, allocations: 0 / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002424/0.7083, allocations: 489 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.7083, allocations: 55.41 kB / 1.227 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.7087, allocations: 413.9 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.7088, allocations: 41.64 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.7089, allocations: 97.44 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.7089, allocations: 43.73 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.7091, allocations: 125.5 kB / 1.228 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7093, allocations: 326.8 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.7095, allocations: 119.9 kB / 1.228 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.7098, allocations: 175.5 kB / 1.228 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.7102, allocations: 279.4 kB / 1.229 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7102, allocations: 0 / 1.229 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007588/0.7109, allocations: 492.6 kB / 1.229 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.312e-05/0.711, allocations: 97.66 kB / 1.229 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.711, allocations: 0 / 1.229 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.7111, allocations: 4 kB / 1.229 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.7112, allocations: 19.97 kB / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.7112, allocations: 7.938 kB / 1.229 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.7117, allocations: 60.09 kB / 1.229 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/0.7118, allocations: 63.92 kB / 1.229 GB, free: 8.215 MB / 0.9512 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.000199/0.712, allocations: 192 kB / 1.23 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.712, allocations: 47.64 kB / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.7121, allocations: 39.75 kB / 1.23 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7121, allocations: 0 / 1.23 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7121, allocations: 0 / 1.23 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.7121, allocations: 7.922 kB / 1.23 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.7141, allocations: 0.7405 MB / 1.23 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7141, allocations: 0 / 1.23 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.7142, allocations: 4 kB / 1.23 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7142, allocations: 3.938 kB / 1.23 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.7142, allocations: 27.97 kB / 1.23 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7142, allocations: 4 kB / 1.23 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7142, allocations: 0 / 1.23 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.7159, allocations: 478.2 kB / 1.231 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.7161, allocations: 204.6 kB / 1.231 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.7162, allocations: 12 kB / 1.231 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.7166, allocations: 31.95 kB / 1.231 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.7167, allocations: 4 kB / 1.231 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/0.7168, allocations: 59.97 kB / 1.231 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002902/0.717, allocations: 295.1 kB / 1.231 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7171, allocations: 4 kB / 1.231 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003384/0.7174, allocations: 67.98 kB / 1.232 GB, free: 5.926 MB / 0.9512 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.001947/0.7194, allocations: 1.027 MB / 1.233 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.7206, allocations: 442.4 kB / 1.233 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7206, allocations: 384 / 1.233 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007288/0.7213, allocations: 122.8 kB / 1.233 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.7217, allocations: 31.77 kB / 1.233 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.7256, allocations: 2.794 MB / 1.236 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.726, allocations: 0.7785 MB / 1.237 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.012e-05/0.726, allocations: 13.08 kB / 1.237 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.7261, allocations: 19.44 kB / 1.237 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of SimCode: time 3.4e-07/0.7261, allocations: 4 kB / 1.237 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4896/1.216, allocations: 6.117 MB / 1.243 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11.52, allocations: 9.719 kB / 1.243 GB, free: 10.37 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)