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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.554/2.554, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 179.3 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 223.2 MB / 0.7948 GB, free: 18.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 96.94 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 7.781 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2856, allocations: 142.4 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.4925, allocations: 152 MB / 1.371 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/0.4929, allocations: 71.97 kB / 1.371 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.51, allocations: 4.603 MB / 1.376 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.017e-06/0.5101, allocations: 0 / 1.376 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.5101, allocations: 3.938 kB / 1.376 GB, free: 12.67 MB / 0.8855 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.001277/0.5114, allocations: 0.6644 MB / 1.377 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.5115, allocations: 8.031 kB / 1.377 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.871e-05/0.5116, allocations: 38.56 kB / 1.377 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.5117, allocations: 31.72 kB / 1.377 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.5122, allocations: 258.5 kB / 1.377 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.5123, allocations: 16 kB / 1.377 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.5124, allocations: 16 kB / 1.377 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009879/0.5134, allocations: 213.3 kB / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5134, allocations: 0 / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.5134, allocations: 15.92 kB / 1.377 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.5135, allocations: 0 / 1.377 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.5142, allocations: 107.9 kB / 1.377 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.5147, allocations: 341.2 kB / 1.378 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/0.5157, allocations: 182.5 kB / 1.378 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.5157, allocations: 0 / 1.378 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009323/0.5167, allocations: 223.1 kB / 1.378 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.5167, allocations: 0 / 1.378 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.002425/0.5191, allocations: 479.4 kB / 1.378 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.5192, allocations: 55.41 kB / 1.378 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.5195, allocations: 262 kB / 1.379 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.5196, allocations: 37.7 kB / 1.379 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.5196, allocations: 97.11 kB / 1.379 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/0.5197, allocations: 27.62 kB / 1.379 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.5197, allocations: 19.92 kB / 1.379 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5199, allocations: 322.8 kB / 1.379 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.5202, allocations: 91.94 kB / 1.379 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.5205, allocations: 146.9 kB / 1.379 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.5208, allocations: 157.6 kB / 1.38 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5208, allocations: 0 / 1.38 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007831/0.5216, allocations: 400.7 kB / 1.38 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/0.5217, allocations: 71.39 kB / 1.38 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5217, allocations: 0 / 1.38 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.5217, allocations: 8.125 kB / 1.38 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.5219, allocations: 19.98 kB / 1.38 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.5219, allocations: 4 kB / 1.38 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.5223, allocations: 43.81 kB / 1.38 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.5224, allocations: 47.92 kB / 1.38 GB, free: 8.023 MB / 0.8855 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.0002257/0.5226, allocations: 168 kB / 1.38 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.5227, allocations: 35.58 kB / 1.38 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.5227, allocations: 26.3 kB / 1.38 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.5227, allocations: 4 kB / 1.38 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5228, allocations: 7.938 kB / 1.38 GB, free: 7.777 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5228, allocations: 0 / 1.38 GB, free: 7.777 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.525, allocations: 0.7012 MB / 1.381 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.525, allocations: 4 kB / 1.381 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.525, allocations: 7.984 kB / 1.381 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.525, allocations: 4 kB / 1.381 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.5251, allocations: 15.98 kB / 1.381 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.5251, allocations: 7.922 kB / 1.381 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5251, allocations: 3.938 kB / 1.381 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.5268, allocations: 473.7 kB / 1.382 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.527, allocations: 156.7 kB / 1.382 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.5271, allocations: 11.98 kB / 1.382 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.5275, allocations: 35.95 kB / 1.382 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.5276, allocations: 11.98 kB / 1.382 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.5276, allocations: 39.98 kB / 1.382 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002183/0.5279, allocations: 205.9 kB / 1.382 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5279, allocations: 4 kB / 1.382 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003682/0.5282, allocations: 52 kB / 1.382 GB, free: 5.977 MB / 0.8855 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.002139/0.5304, allocations: 1.026 MB / 1.383 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.5317, allocations: 400.9 kB / 1.383 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5317, allocations: 0 / 1.383 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007514/0.5324, allocations: 128.3 kB / 1.384 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.5327, allocations: 21.97 kB / 1.384 GB, free: 4.367 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.535, allocations: 1.661 MB / 1.385 GB, free: 2.625 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.5354, allocations: 0.7516 MB / 1.386 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.397e-05/0.5355, allocations: 4.656 kB / 1.386 GB, free: 1.844 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.5356, allocations: 27.36 kB / 1.386 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5356, allocations: 0 / 1.386 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.5565, allocations: 4.905 MB / 1.391 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/0.5569, allocations: 190.3 kB / 1.391 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.269, allocations: 0 / 1.391 GB, free: 12.8 MB / 0.9011 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