Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_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.001291/0.001291, allocations: 100.1 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.001351/0.001351, 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.534/1.534, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.514/2.514, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.7934, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001469/0.7949, allocations: 1.183 MB / 0.9547 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.7958, allocations: 389 kB / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.7959, allocations: 0 / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.7959, allocations: 5.203 kB / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.796, allocations: 23.12 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.7967, allocations: 220.2 kB / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.7969, allocations: 157.7 kB / 0.9555 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.797, allocations: 5.531 kB / 0.9555 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.7972, allocations: 173.2 kB / 0.9557 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.7974, allocations: 124.5 kB / 0.9558 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.7975, allocations: 9.812 kB / 0.9558 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.7975, allocations: 15 kB / 0.9558 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.902e-05/0.7976, allocations: 78.28 kB / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.487e-05/0.7977, allocations: 74.41 kB / 0.956 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.7979, allocations: 205.5 kB / 0.9561 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.7979, allocations: 0 / 0.9561 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7979, allocations: 1.188 kB / 0.9561 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.798, allocations: 0 / 0.9561 GB, free: 6.23 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.0008095/0.7988, allocations: 0.6599 MB / 0.9568 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.7988, allocations: 10.09 kB / 0.9568 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.7989, allocations: 39.86 kB / 0.9568 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.799, allocations: 34.38 kB / 0.9569 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.7993, allocations: 262.4 kB / 0.9571 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.7993, allocations: 12.06 kB / 0.9571 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/0.7994, allocations: 19.33 kB / 0.9572 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009359/0.8003, allocations: 207.5 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.8003, allocations: 1.156 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.8004, allocations: 9.266 kB / 0.9574 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.8004, allocations: 4.953 kB / 0.9574 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007371/0.8011, allocations: 105.9 kB / 0.9575 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.8014, allocations: 316.2 kB / 0.9578 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.8025, allocations: 185.6 kB / 0.9579 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.8025, allocations: 2.938 kB / 0.9579 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008958/0.8034, allocations: 219.9 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.8034, allocations: 0 / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002476/0.8059, allocations: 479.2 kB / 0.9586 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.806, allocations: 64.86 kB / 0.9587 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.8062, allocations: 293.8 kB / 0.959 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.8063, allocations: 35.2 kB / 0.959 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.8063, allocations: 94.64 kB / 0.9591 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.8064, allocations: 44.97 kB / 0.9591 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.8064, allocations: 8.125 kB / 0.9591 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.8065, allocations: 321.6 kB / 0.9594 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.8067, allocations: 83.94 kB / 0.9595 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.8069, allocations: 134 kB / 0.9596 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.8071, allocations: 154.5 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.8071, allocations: 0.9375 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006237/0.8077, allocations: 387.8 kB / 0.9602 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.8078, allocations: 79.75 kB / 0.9602 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8078, allocations: 1.031 kB / 0.9602 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.8078, allocations: 3.062 kB / 0.9602 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.808, allocations: 22.36 kB / 0.9603 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.808, allocations: 2.438 kB / 0.9603 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/0.8085, allocations: 68.64 kB / 0.9603 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.8086, allocations: 46.69 kB / 0.9604 GB, free: 2.977 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.0001755/0.8088, allocations: 177.8 kB / 0.9605 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.8088, allocations: 27.25 kB / 0.9606 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.8089, allocations: 28.14 kB / 0.9606 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.8089, allocations: 2.312 kB / 0.9606 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8089, allocations: 0 / 0.9606 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.8089, allocations: 5.094 kB / 0.9606 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.811, allocations: 0.7251 MB / 0.9613 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.811, allocations: 3.938 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.811, allocations: 4.125 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.811, allocations: 1 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.8111, allocations: 19.84 kB / 0.9613 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.8111, allocations: 1.031 kB / 0.9613 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8111, allocations: 5.094 kB / 0.9613 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.8128, allocations: 470.9 kB / 0.9618 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.8131, allocations: 157.2 kB / 0.9619 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.8132, allocations: 9.906 kB / 0.962 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/0.8137, allocations: 39.95 kB / 0.962 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.8138, allocations: 7.594 kB / 0.962 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.8139, allocations: 41.94 kB / 0.962 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002633/0.8141, allocations: 208.5 kB / 0.9622 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8141, allocations: 0 / 0.9622 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004959/0.8146, allocations: 46.03 kB / 0.9623 GB, free: 1.664 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.001968/0.8166, allocations: 1.022 MB / 0.9633 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.8179, allocations: 392.3 kB / 0.9637 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8179, allocations: 0 / 0.9637 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.8186, allocations: 126.8 kB / 0.9638 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.8189, allocations: 24.95 kB / 0.9638 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.8218, allocations: 1.662 MB / 0.9654 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.8223, allocations: 0.7433 MB / 0.9662 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.8224, allocations: 16.48 kB / 0.9662 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.8225, allocations: 26.08 kB / 0.9662 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/0.8225, allocations: 0 / 0.9662 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.8431, allocations: 4.517 MB / 0.9706 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.8433, allocations: 190 kB / 0.9708 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.574, allocations: 0 / 0.9708 GB, free: 11.8 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat