Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.0009292, allocations: 99.86 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.0009883/0.0009883, allocations: 177.3 kB / 15.94 MB, free: 228 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.482/1.482, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.671/2.671, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004205, allocations: 12 kB / 0.8708 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8757/0.8761, allocations: 153.6 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002141/0.8783, allocations: 1.357 MB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009553/0.8793, allocations: 453.3 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.8794, allocations: 0 / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/0.8794, allocations: 11.92 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.8796, allocations: 23.97 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007885/0.8804, allocations: 218.5 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.8807, allocations: 187.7 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.8808, allocations: 25.09 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.8811, allocations: 175.6 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.8813, allocations: 139.7 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.8814, allocations: 8 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.841e-05/0.8815, allocations: 12 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.8816, allocations: 83.72 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.8817, allocations: 77.56 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.882, allocations: 333.2 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.882, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.882, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.882, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 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.001201/0.8832, allocations: 0.6837 MB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.8833, allocations: 11.97 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.8834, allocations: 35.62 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.8838, allocations: 275 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/0.8839, allocations: 19.98 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.8839, allocations: 16 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009931/0.8849, allocations: 233.4 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.885, allocations: 4 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.885, allocations: 4 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.885, allocations: 3.953 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008414/0.8859, allocations: 131.8 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.8872, allocations: 0.5591 MB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.8883, allocations: 194.5 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.8883, allocations: 4.25 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009503/0.8893, allocations: 233.2 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.8893, allocations: 3.938 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002509/0.8918, allocations: 489 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.8919, allocations: 67.39 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.8922, allocations: 308.5 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.8923, allocations: 37.69 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.8924, allocations: 101 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.8925, allocations: 39.44 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.8925, allocations: 15.94 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.8927, allocations: 330.8 kB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.893, allocations: 91.94 kB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.8932, allocations: 149.9 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.8935, allocations: 168.9 kB / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8935, allocations: 0 / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006684/0.8942, allocations: 418.5 kB / 1.028 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/0.8943, allocations: 75.39 kB / 1.028 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8943, allocations: 4 kB / 1.028 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.8943, allocations: 192 / 1.028 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.8945, allocations: 23.98 kB / 1.028 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.8945, allocations: 11.88 kB / 1.028 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.895, allocations: 59.86 kB / 1.028 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/0.895, allocations: 43.98 kB / 1.028 GB, free: 8.934 MB / 0.7794 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.0002363/0.8953, allocations: 188.3 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.8953, allocations: 35.52 kB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.584e-05/0.8954, allocations: 30.36 kB / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.8954, allocations: 0 / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.8954, allocations: 8 kB / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.8954, allocations: 0 / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.8976, allocations: 0.7625 MB / 1.029 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8977, allocations: 0 / 1.029 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.8977, allocations: 11.92 kB / 1.029 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8977, allocations: 0 / 1.029 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.8977, allocations: 11.98 kB / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.8978, allocations: 0 / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8978, allocations: 7.984 kB / 1.03 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.8995, allocations: 474.8 kB / 1.03 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.8998, allocations: 192.6 kB / 1.03 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.8999, allocations: 16 kB / 1.03 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.9004, allocations: 35.95 kB / 1.03 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.9004, allocations: 15.92 kB / 1.03 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.9005, allocations: 43.98 kB / 1.03 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002345/0.9007, allocations: 227 kB / 1.03 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9007, allocations: 0 / 1.03 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003645/0.9011, allocations: 51.98 kB / 1.031 GB, free: 6.75 MB / 0.7794 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.0002038/0.9013, allocations: 127.2 kB / 1.031 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.9025, allocations: 410.5 kB / 1.031 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.9025, allocations: 0 / 1.031 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000759/0.9032, allocations: 134.2 kB / 1.031 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.9037, allocations: 33.14 kB / 1.031 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.9051, allocations: 0.5347 MB / 1.032 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.9055, allocations: 0.7599 MB / 1.032 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.326e-05/0.9056, allocations: 17.42 kB / 1.032 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.9057, allocations: 19.42 kB / 1.033 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of SimCode: time 2.154e-06/0.9057, allocations: 0 / 1.033 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of Templates: time 0.008325/0.914, allocations: 3.872 MB / 1.036 GB, free: 0.8008 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches