Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_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.004266/0.004267, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001189/0.001189, allocations: 202.8 kB / 16.68 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 68.11 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3142, allocations: 162.3 MB / 1.242 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002595/0.3168, allocations: 1.517 MB / 1.243 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3181, allocations: 0.5345 MB / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.3182, allocations: 0 / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.3183, allocations: 11.88 kB / 1.244 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3184, allocations: 23.84 kB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3195, allocations: 311 kB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006826/0.3202, allocations: 0.4994 MB / 1.245 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.3202, allocations: 15.98 kB / 1.245 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.3206, allocations: 275.6 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.3209, allocations: 143.6 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.376e-05/0.321, allocations: 24 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.3211, allocations: 28 kB / 1.245 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.3212, allocations: 115.7 kB / 1.245 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.3214, allocations: 187 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.3219, allocations: 418.4 kB / 1.246 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3219, allocations: 7.984 kB / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3219, allocations: 0 / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3219, allocations: 0 / 1.246 GB, free: 5.797 MB / 0.9981 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.001243/0.3232, allocations: 0.8742 MB / 1.247 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3232, allocations: 12.03 kB / 1.247 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.3233, allocations: 38.73 kB / 1.247 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.3234, allocations: 52.7 kB / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.3237, allocations: 314.5 kB / 1.247 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.3238, allocations: 20.36 kB / 1.247 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.049e-05/0.3239, allocations: 28.38 kB / 1.247 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3252, allocations: 214 kB / 1.247 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3252, allocations: 3.938 kB / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.3252, allocations: 0 / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3252, allocations: 4 kB / 1.247 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/0.326, allocations: 103.9 kB / 1.247 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.3265, allocations: 385.3 kB / 1.248 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3275, allocations: 186.4 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007651/0.3283, allocations: 104.8 kB / 1.248 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3283, allocations: 11.92 kB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009592/0.3293, allocations: 227 kB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.3293, allocations: 0 / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002524/0.3318, allocations: 488 kB / 1.249 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3319, allocations: 71.33 kB / 1.249 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.3324, allocations: 409.9 kB / 1.249 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.3324, allocations: 45.69 kB / 1.249 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.3325, allocations: 89.44 kB / 1.249 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.3325, allocations: 35.77 kB / 1.249 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.3328, allocations: 133.5 kB / 1.25 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3329, allocations: 322.8 kB / 1.25 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.3332, allocations: 119.9 kB / 1.25 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.3335, allocations: 169.9 kB / 1.25 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.3339, allocations: 283.4 kB / 1.25 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3339, allocations: 0 / 1.25 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008163/0.3347, allocations: 498.2 kB / 1.251 GB, free: 316 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/0.3348, allocations: 93.34 kB / 1.251 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3348, allocations: 3.938 kB / 1.251 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3348, allocations: 4 kB / 1.251 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.335, allocations: 23.98 kB / 1.251 GB, free: 180 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.597e-06/0.335, allocations: 0 / 1.251 GB, free: 180 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.3356, allocations: 63.91 kB / 1.251 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.3357, allocations: 63.97 kB / 1.251 GB, free: 52 kB / 0.9981 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.539/0.8747, allocations: 189.9 kB / 1.251 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.8748, allocations: 44.22 kB / 1.251 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.734e-05/0.8749, allocations: 41.14 kB / 1.251 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.8749, allocations: 1.531 kB / 1.251 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8749, allocations: 1 kB / 1.251 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.8749, allocations: 1.172 kB / 1.251 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.8771, allocations: 0.7428 MB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.8771, allocations: 1.594 kB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.8771, allocations: 7.016 kB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.8771, allocations: 2.281 kB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.8772, allocations: 25.45 kB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.8772, allocations: 1.781 kB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.8772, allocations: 0.5625 kB / 1.252 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.8789, allocations: 472.3 kB / 1.253 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.8791, allocations: 206 kB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.8792, allocations: 9.969 kB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/0.8797, allocations: 33.39 kB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.8797, allocations: 10.23 kB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.8798, allocations: 61.17 kB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000319/0.8801, allocations: 294.7 kB / 1.253 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.61e-07/0.8802, allocations: 0 / 1.253 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003768/0.8805, allocations: 65.67 kB / 1.253 GB, free: 14.21 MB / 0.9981 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.001893/0.8824, allocations: 1.038 MB / 1.254 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.8837, allocations: 441.2 kB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8837, allocations: 0.7188 kB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000776/0.8845, allocations: 120.6 kB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.8848, allocations: 26.77 kB / 1.255 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.8884, allocations: 2.786 MB / 1.258 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.8887, allocations: 0.771 MB / 1.258 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.163e-05/0.8887, allocations: 15.92 kB / 1.258 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.8888, allocations: 21.89 kB / 1.258 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.8888, allocations: 0 / 1.258 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5989/1.488, allocations: 6.127 MB / 1.264 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/9.787, allocations: 10.11 kB / 1.264 GB, free: 9.867 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)