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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001534/0.001534, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001954/0.001954, allocations: 191.1 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.795/2.795, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.284/5.284, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 66.09 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 157.4 MB / 1.052 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003589/0.3677, allocations: 1.571 MB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3693, allocations: 0.5553 MB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3694, allocations: 0 / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.3696, allocations: 3.938 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3698, allocations: 23.91 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009822/0.3708, allocations: 290.4 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006507/0.3714, allocations: 0.5072 MB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.3715, allocations: 11.98 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005484/0.372, allocations: 335 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.3724, allocations: 171.2 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.3725, allocations: 24 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.3726, allocations: 28 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3727, allocations: 115.6 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.373, allocations: 194.8 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.3735, allocations: 434.9 kB / 1.057 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3735, allocations: 7.984 kB / 1.057 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3736, allocations: 4 kB / 1.057 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.3736, allocations: 0 / 1.057 GB, free: 4.453 MB / 0.8106 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.001625/0.3752, allocations: 0.8625 MB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.3753, allocations: 12.61 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.801e-05/0.3753, allocations: 38.75 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.3755, allocations: 48.56 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.376, allocations: 314.2 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.376, allocations: 20.36 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/0.3761, allocations: 28.36 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3772, allocations: 209.9 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3772, allocations: 7.875 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.3772, allocations: 7.984 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3772, allocations: 0 / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008415/0.3781, allocations: 103.9 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.3786, allocations: 393.2 kB / 1.059 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.3797, allocations: 178.5 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008293/0.3805, allocations: 108.8 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.3806, allocations: 4 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.3816, allocations: 234.9 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.896e-06/0.3817, allocations: 0 / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.00273/0.3844, allocations: 480.9 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3845, allocations: 55.41 kB / 1.06 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.3849, allocations: 417.8 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.385, allocations: 37.7 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.3851, allocations: 101.4 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.3852, allocations: 27.61 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.3854, allocations: 133.3 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3855, allocations: 322.8 kB / 1.061 GB, free: 116 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.3858, allocations: 120 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.3861, allocations: 170.4 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.3865, allocations: 274.8 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3866, allocations: 4 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008431/0.3874, allocations: 0.4918 MB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.602e-05/0.3875, allocations: 95.31 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3875, allocations: 3.938 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3875, allocations: 4 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3877, allocations: 19.92 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3877, allocations: 4 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.3883, allocations: 59.8 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/0.3884, allocations: 68.03 kB / 1.062 GB, free: 14.73 MB / 0.8262 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.0002315/0.3886, allocations: 188 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.3887, allocations: 47.45 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.904e-05/0.3888, allocations: 43.73 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3888, allocations: 0 / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3888, allocations: 0 / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3888, allocations: 0 / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.3911, allocations: 0.744 MB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3911, allocations: 0 / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.3912, allocations: 11.98 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3912, allocations: 0 / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.3912, allocations: 19.98 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3913, allocations: 7.938 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3913, allocations: 7.984 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.3931, allocations: 473 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.3934, allocations: 208.4 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.293e-05/0.3935, allocations: 11.98 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.394, allocations: 27.97 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.3941, allocations: 11.98 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.3941, allocations: 59.97 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002983/0.3945, allocations: 295 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3945, allocations: 4 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003929/0.3949, allocations: 64 kB / 1.064 GB, free: 12.44 MB / 0.8262 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.002157/0.397, allocations: 1.009 MB / 1.065 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.3984, allocations: 450.4 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3985, allocations: 384 / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008205/0.3993, allocations: 126.5 kB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.3997, allocations: 27.95 kB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.4041, allocations: 2.892 MB / 1.068 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.4045, allocations: 0.7747 MB / 1.069 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.767e-05/0.4046, allocations: 9.078 kB / 1.069 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.4046, allocations: 23.42 kB / 1.069 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.4046, allocations: 0 / 1.069 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.2/2.604, allocations: 6.192 MB / 1.075 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003911/2.605, allocations: 211.5 kB / 1.075 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/5.333, allocations: 0 / 1.075 GB, free: 0.5039 MB / 0.8262 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=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)