Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001517/0.001517, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.776/2.776, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.98 kB / 0.9086 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2974, allocations: 159.1 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002538/0.3, allocations: 1.533 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3012, allocations: 0.5424 MB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.3012, allocations: 0 / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.088e-05/0.3013, allocations: 11.86 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.061e-05/0.3014, allocations: 27.86 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.3021, allocations: 310 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.3026, allocations: 0.4955 MB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.3027, allocations: 7.984 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.303, allocations: 271.6 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.3032, allocations: 139.6 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.3033, allocations: 28 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.3034, allocations: 28 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3035, allocations: 115.7 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.3037, allocations: 187 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.3042, allocations: 430.9 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3042, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3042, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3042, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 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.001172/0.3054, allocations: 0.8626 MB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3054, allocations: 12.03 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.3054, allocations: 42.67 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.3056, allocations: 52.47 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.3059, allocations: 310.2 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.306, allocations: 16.36 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.306, allocations: 28.38 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.307, allocations: 215.2 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.307, allocations: 3.938 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.307, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.307, allocations: 4 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.3078, allocations: 99.86 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.3082, allocations: 389.2 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.3093, allocations: 182.5 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007335/0.31, allocations: 104.8 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.31, allocations: 8 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008825/0.3109, allocations: 223 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 4.588e-06/0.3109, allocations: 0 / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002469/0.3134, allocations: 491 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.3135, allocations: 67.39 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.3139, allocations: 417.9 kB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.3139, allocations: 41.69 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.314, allocations: 89.44 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.3141, allocations: 39.52 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.3143, allocations: 129.3 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3144, allocations: 322.8 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.3146, allocations: 115.9 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.3149, allocations: 186.6 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.3153, allocations: 271.7 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3153, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007829/0.3161, allocations: 496.6 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.308e-05/0.3162, allocations: 91.31 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3162, allocations: 4 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3162, allocations: 4 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3164, allocations: 23.97 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3164, allocations: 4.125 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.3169, allocations: 67.73 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.254e-05/0.317, allocations: 59.98 kB / 1.073 GB, free: 4.438 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.0002008/0.3172, allocations: 192 kB / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.3172, allocations: 43.45 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.884e-05/0.3173, allocations: 43.75 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3173, allocations: 4 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3173, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3173, allocations: 3.938 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.3194, allocations: 0.7402 MB / 1.074 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3195, allocations: 4 kB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.3195, allocations: 4 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3195, allocations: 3.938 kB / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.3195, allocations: 23.97 kB / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3196, allocations: 0 / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3196, allocations: 0 / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.3213, allocations: 480.4 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.3215, allocations: 200.4 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.3216, allocations: 12 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/0.322, allocations: 35.95 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.3221, allocations: 8 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.3221, allocations: 55.97 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002749/0.3224, allocations: 295.1 kB / 1.075 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3224, allocations: 0 / 1.075 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003148/0.3228, allocations: 67.92 kB / 1.075 GB, free: 2.152 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.002007/0.3248, allocations: 1.021 MB / 1.076 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.326, allocations: 461.3 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.326, allocations: 3.938 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007388/0.3268, allocations: 115.9 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3271, allocations: 31.92 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.331, allocations: 2.782 MB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3314, allocations: 0.7747 MB / 1.08 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.332e-05/0.3315, allocations: 17.08 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.3315, allocations: 19.44 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3315, allocations: 0 / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.015/1.347, allocations: 6.125 MB / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.162/10.51, allocations: 4 kB / 1.087 GB, free: 6.578 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)