Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 98.92 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.001029/0.001029, 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.512/1.512, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.795/2.795, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 8 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8424/0.8428, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001527/0.8444, allocations: 1.184 MB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.8452, allocations: 395.1 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.8453, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.8453, allocations: 3.938 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.805e-05/0.8454, allocations: 23.95 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.846, allocations: 218.3 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.8463, allocations: 159.7 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/0.8463, allocations: 7.984 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.8466, allocations: 167.7 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.8468, allocations: 127.7 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.8469, allocations: 8 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.8469, allocations: 12 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.847, allocations: 79.78 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.8471, allocations: 65.58 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.8473, allocations: 217.5 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.8474, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8474, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.8474, allocations: 0 / 1.023 GB, free: 14.46 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009042/0.8483, allocations: 0.6565 MB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.8483, allocations: 11.98 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.8484, allocations: 39.56 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.8487, allocations: 246.6 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.8488, allocations: 23.94 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.8489, allocations: 20 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009173/0.8498, allocations: 201.5 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.8498, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.8498, allocations: 7.984 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8498, allocations: 0 / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.8506, allocations: 107.9 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.8509, allocations: 321.3 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.852, allocations: 186.5 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.852, allocations: 7.953 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009009/0.8529, allocations: 223.2 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.096e-06/0.8529, allocations: 0 / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002424/0.8553, allocations: 483.5 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.8554, allocations: 59.41 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.8557, allocations: 298.9 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.8558, allocations: 33.7 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.8558, allocations: 93.14 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.8559, allocations: 35.53 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.8559, allocations: 8 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.856, allocations: 326.8 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.8562, allocations: 87.94 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.8565, allocations: 133.9 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.8567, allocations: 152.7 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.8567, allocations: 7.953 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006158/0.8573, allocations: 380.7 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/0.8574, allocations: 79.38 kB / 1.027 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.8574, allocations: 4 kB / 1.027 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.8575, allocations: 0 / 1.027 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.8576, allocations: 28.06 kB / 1.027 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.8576, allocations: 8 kB / 1.027 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.8581, allocations: 67.7 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/0.8582, allocations: 47.97 kB / 1.028 GB, free: 9.836 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.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.0002231/0.8584, allocations: 179.9 kB / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.8585, allocations: 23.72 kB / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.8585, allocations: 26.3 kB / 1.028 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.8585, allocations: 4 kB / 1.028 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8586, allocations: 3.953 kB / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8586, allocations: 0 / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.8607, allocations: 0.7129 MB / 1.029 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.8607, allocations: 3.938 kB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.8608, allocations: 4 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.8608, allocations: 0 / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.8608, allocations: 23.92 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8608, allocations: 0 / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8608, allocations: 4 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.8625, allocations: 474.9 kB / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.8627, allocations: 152.7 kB / 1.029 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.8627, allocations: 12 kB / 1.029 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.8632, allocations: 39.91 kB / 1.029 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.8632, allocations: 4 kB / 1.029 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.8633, allocations: 51.97 kB / 1.029 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002091/0.8635, allocations: 205.9 kB / 1.029 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8635, allocations: 0 / 1.029 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003672/0.8639, allocations: 48 kB / 1.029 GB, free: 7.785 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.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.0001674/0.8641, allocations: 115.2 kB / 1.03 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.8652, allocations: 392.7 kB / 1.03 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8652, allocations: 0 / 1.03 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007246/0.8659, allocations: 132.2 kB / 1.03 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.8662, allocations: 14.7 kB / 1.03 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.8675, allocations: 0.491 MB / 1.031 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.8679, allocations: 0.7477 MB / 1.031 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.776e-05/0.8679, allocations: 13.08 kB / 1.031 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.868, allocations: 15.44 kB / 1.031 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.868, allocations: 0 / 1.031 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of Templates: time 0.006699/0.8747, allocations: 3.49 MB / 1.035 GB, free: 2.332 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches