Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.309/2.309, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001139/0.001139, allocations: 173 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.586/1.586, allocations: 223.2 MB / 0.7948 GB, free: 17.99 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.0009884/0.0009884, allocations: 102.7 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003815, allocations: 10.44 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2962, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.4831, allocations: 152.2 MB / 1.372 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4834, allocations: 75.89 kB / 1.372 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.4999, allocations: 5.338 MB / 1.377 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5, allocations: 0 / 1.377 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.5, allocations: 4 kB / 1.377 GB, free: 4.477 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001094/0.5011, allocations: 0.692 MB / 1.378 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5012, allocations: 16.03 kB / 1.378 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.81e-05/0.5012, allocations: 38.56 kB / 1.378 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.5014, allocations: 39.56 kB / 1.378 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.5019, allocations: 275.1 kB / 1.378 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.502, allocations: 23.98 kB / 1.378 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.502, allocations: 16 kB / 1.378 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.5031, allocations: 238.8 kB / 1.378 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5031, allocations: 3.938 kB / 1.378 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.5031, allocations: 4 kB / 1.378 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5031, allocations: 0 / 1.378 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/0.5039, allocations: 127.9 kB / 1.378 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.5052, allocations: 0.5824 MB / 1.379 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.5063, allocations: 202.4 kB / 1.379 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.5063, allocations: 0 / 1.379 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009105/0.5072, allocations: 233.4 kB / 1.379 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.5072, allocations: 0 / 1.379 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.002502/0.5097, allocations: 489 kB / 1.38 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.5098, allocations: 71.45 kB / 1.38 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.5102, allocations: 283.6 kB / 1.38 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/0.5102, allocations: 33.7 kB / 1.38 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.5103, allocations: 105 kB / 1.38 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.5104, allocations: 35.55 kB / 1.38 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.5104, allocations: 8 kB / 1.38 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5106, allocations: 322.8 kB / 1.381 GB, free: 452 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.5109, allocations: 115.9 kB / 1.381 GB, free: 336 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.5112, allocations: 151 kB / 1.381 GB, free: 164 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.5115, allocations: 167.5 kB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5115, allocations: 0 / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007939/0.5123, allocations: 441.5 kB / 1.381 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.862e-05/0.5124, allocations: 76.33 kB / 1.381 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5124, allocations: 4 kB / 1.381 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5124, allocations: 0 / 1.381 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.5126, allocations: 31.84 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5126, allocations: 4 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.513, allocations: 48.02 kB / 1.382 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.5131, allocations: 43.98 kB / 1.382 GB, free: 15.32 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002395/0.5133, allocations: 184.3 kB / 1.382 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.5134, allocations: 23.72 kB / 1.382 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.35e-05/0.5134, allocations: 30.36 kB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5135, allocations: 8 kB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5135, allocations: 0 / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5135, allocations: 3.984 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.5158, allocations: 0.7548 MB / 1.383 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5158, allocations: 0 / 1.383 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.5158, allocations: 11.97 kB / 1.383 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5159, allocations: 0 / 1.383 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.5159, allocations: 15.98 kB / 1.383 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5159, allocations: 0 / 1.383 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5159, allocations: 4 kB / 1.383 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.5177, allocations: 474.8 kB / 1.383 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.518, allocations: 192.6 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.691e-05/0.518, allocations: 16 kB / 1.383 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.5185, allocations: 35.97 kB / 1.383 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.5185, allocations: 11.98 kB / 1.383 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.5186, allocations: 39.97 kB / 1.383 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000258/0.5189, allocations: 231 kB / 1.384 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5189, allocations: 4 kB / 1.384 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004128/0.5193, allocations: 52.25 kB / 1.384 GB, free: 13.15 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.002102/0.5214, allocations: 1.044 MB / 1.385 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.5228, allocations: 432.8 kB / 1.385 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5228, allocations: 0 / 1.385 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007523/0.5236, allocations: 128.2 kB / 1.385 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.5239, allocations: 29.31 kB / 1.385 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.5262, allocations: 1.713 MB / 1.387 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.5266, allocations: 0.7633 MB / 1.388 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.691e-05/0.5267, allocations: 13.42 kB / 1.388 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.5268, allocations: 31.42 kB / 1.388 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of SimCode: time 8.12e-07/0.5268, allocations: 0 / 1.388 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.5469, allocations: 5.5 MB / 1.393 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.5472, allocations: 198.5 kB / 1.393 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.082, allocations: 0 / 1.393 GB, free: 3.309 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat