Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001234/0.001234, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001509/0.001509, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.565/2.565, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7832, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001484/0.7847, allocations: 1.185 MB / 0.9547 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008928/0.7856, allocations: 400.1 kB / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.7857, allocations: 0 / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/0.7857, allocations: 5.453 kB / 0.9551 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.7858, allocations: 18.67 kB / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.7865, allocations: 222.7 kB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.7867, allocations: 157.4 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.7868, allocations: 4.688 kB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.787, allocations: 168.8 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.7872, allocations: 124.5 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.7873, allocations: 9.812 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-05/0.7874, allocations: 10.28 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.7875, allocations: 83.55 kB / 0.9559 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.7876, allocations: 69.52 kB / 0.956 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.7878, allocations: 202.4 kB / 0.9561 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.7878, allocations: 4 kB / 0.9561 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7878, allocations: 0 / 0.9561 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7878, allocations: 0 / 0.9561 GB, free: 6.211 MB / 0.7169 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.0008317/0.7887, allocations: 0.6648 MB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.7887, allocations: 8.812 kB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.7888, allocations: 41.11 kB / 0.9568 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.145e-05/0.7888, allocations: 30.94 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.7892, allocations: 257.9 kB / 0.9571 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.7892, allocations: 16.17 kB / 0.9571 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.7893, allocations: 18.66 kB / 0.9572 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009114/0.7902, allocations: 207.4 kB / 0.9574 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.7902, allocations: 4 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.7902, allocations: 11.88 kB / 0.9574 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7903, allocations: 1.75 kB / 0.9574 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.791, allocations: 105.8 kB / 0.9575 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.7913, allocations: 313 kB / 0.9578 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.7923, allocations: 193.5 kB / 0.958 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.7924, allocations: 2.562 kB / 0.958 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00089/0.7933, allocations: 227.3 kB / 0.9582 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.7933, allocations: 0 / 0.9582 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002429/0.7957, allocations: 480.7 kB / 0.9586 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.7958, allocations: 64.86 kB / 0.9587 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.7961, allocations: 293.8 kB / 0.959 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.7961, allocations: 35.2 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.7962, allocations: 90.64 kB / 0.9591 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.7963, allocations: 36.86 kB / 0.9591 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.7963, allocations: 7.969 kB / 0.9591 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.7963, allocations: 329.5 kB / 0.9595 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.7965, allocations: 84.5 kB / 0.9595 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.7967, allocations: 129.1 kB / 0.9597 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.797, allocations: 154.9 kB / 0.9598 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.797, allocations: 4.984 kB / 0.9598 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006111/0.7976, allocations: 387.8 kB / 0.9602 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.7977, allocations: 78.56 kB / 0.9603 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7977, allocations: 6.109 kB / 0.9603 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7977, allocations: 2.906 kB / 0.9603 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.7979, allocations: 22.2 kB / 0.9603 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.7979, allocations: 7.125 kB / 0.9603 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.7984, allocations: 64.48 kB / 0.9603 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/0.7984, allocations: 43.64 kB / 0.9604 GB, free: 2.949 MB / 0.7169 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.7986, allocations: 176.9 kB / 0.9606 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.7987, allocations: 27.03 kB / 0.9606 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.482e-05/0.7987, allocations: 28.64 kB / 0.9606 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.7987, allocations: 1.25 kB / 0.9606 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.7988, allocations: 0.7812 kB / 0.9606 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.7988, allocations: 0 / 0.9606 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.8008, allocations: 0.7233 MB / 0.9613 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8008, allocations: 0.7188 kB / 0.9613 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.8008, allocations: 8 kB / 0.9613 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.8008, allocations: 1.031 kB / 0.9613 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.8009, allocations: 20.19 kB / 0.9613 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.8009, allocations: 1.031 kB / 0.9614 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8009, allocations: 0 / 0.9614 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.8025, allocations: 477.3 kB / 0.9618 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.8026, allocations: 157.2 kB / 0.962 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.8027, allocations: 14.03 kB / 0.962 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.8032, allocations: 36.39 kB / 0.962 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.8032, allocations: 3.812 kB / 0.962 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.8033, allocations: 50.72 kB / 0.9621 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001866/0.8035, allocations: 208 kB / 0.9623 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8035, allocations: 0 / 0.9623 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003562/0.8038, allocations: 46.09 kB / 0.9623 GB, free: 1.637 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001807/0.8056, allocations: 1.019 MB / 0.9633 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.8067, allocations: 390.7 kB / 0.9637 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8067, allocations: 4.062 kB / 0.9637 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007005/0.8074, allocations: 122.5 kB / 0.9638 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.8077, allocations: 20.7 kB / 0.9638 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.8096, allocations: 1.669 MB / 0.9654 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.8099, allocations: 0.7473 MB / 0.9662 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.599e-05/0.81, allocations: 16.19 kB / 0.9662 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.81, allocations: 22.3 kB / 0.9662 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.8101, allocations: 0 / 0.9662 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.8265, allocations: 4.492 MB / 0.9706 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.8267, allocations: 199.8 kB / 0.9708 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.629, allocations: 0 / 0.9708 GB, free: 11.79 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat